Return read_length for file properties
[htsworkflow.git] / htsworkflow / templates / aws_metadata.sparql
index fd99df8e2097b011313756a0139abd9780e084d4..dc2ae329c227ff0f82dfb8062c1f2f213fe7c066 100644 (file)
@@ -6,7 +6,7 @@ PREFIX ncbiTaxon: <http://www.ncbi.nlm.nih.gov/Taxonomy/Browser/wwwtax.cgi?id=>
 PREFIX geoSoft: <http://www.ncbi.nlm.nih.gov/geo/info/soft2.html#>
 PREFIX cells: <http://encodewiki.ucsc.edu/EncodeDCC/index.php/Cell_lines#>
 
-select distinct ?dataset ?replicate ?award ?lab ?lane ?barcode ?submitted_file_name ?file_format ?file_size ?output_type ?md5sum ?flowcell ?machine ?platform
+select distinct ?dataset ?replicate ?award ?lab ?lane ?read_length ?barcode ?submitted_file_name ?file_format ?file_size ?output_type ?md5sum ?flowcell ?machine ?platform
 WHERE {
   <{{submission}}> a submissionOntology:submission ;
                    encode3:dataset ?dataset ;
@@ -23,6 +23,7 @@ WHERE {
         htswlib:library ?library ;
         htswlib:flowcell ?flowcell_url ;
         htswlib:lane_number ?lane ;
+        htswlib:read_length ?read_length ;
         a ?fileClass .
 
   ?flowcell_url htswlib:sequenced_by ?machine ;