GEO wanted both files for a paired lane to be on a single line.
[htsworkflow.git] / htsworkflow / templates / geo_run_details.sparql
index aa7e4380e1b6110fcdcf3d52e279cea8ef28f994..dc971073d9f3d6b0b7eee50e9c8dfc345d7bf4cc 100644 (file)
@@ -7,8 +7,7 @@ PREFIX cells: <http://encodewiki.ucsc.edu/EncodeDCC/index.php/Cell_lines#>
 
 # right now we're just grabbing the sequencer model
 # it might make sense to report each of the flowcell/image software.
-#select distinct ?flowcell ?image_software ?image_version ?basecall_software ?basecall_version ?sequencer_model
-select distinct ?sequencer_model
+select ?flowcell ?read_length ?image_software ?image_version ?basecall_software ?basecall_version
 where {
   <{{submission}}> submissionOntology:library ?library ;
                    a submissionOntology:submission .
@@ -17,7 +16,8 @@ where {
            libraryOntology:has_lane ?lane ;
            a libraryOntology:library .
   OPTIONAL { ?flowcell libraryOntology:has_lane ?lane .
-             ?flowcell libraryOntology:image_software ?image_software ;
+             ?flowcell libraryOntology:read_length ?read_length ;
+                       libraryOntology:image_software ?image_software ;
                        libraryOntology:image_version ?image_version ;
                        libraryOntology:basecall_software ?basecall_software ;
                        libraryOntology:basecall_version ?basecall_version ;