Simplify linking fastq files to their library id.
[htsworkflow.git] / htsworkflow / templates / geo_fastqs.sparql
index 8f19c994bcf6b1ad93eb662ad9cfc53a7c5cda55..3ca5ab0cdf40d2f0b14091a381fac6e389d1aceb 100644 (file)
@@ -13,13 +13,12 @@ WHERE {
 
   ?file ucscDaf:filename ?filename ;
         ucscDaf:md5sum ?md5sum ;
-        dc:source ?source ;
+        libraryOntology:flowcell_id ?flowcell_id ;
         a ?file_type .
+        
   ?file_type a <{{file_class}}> ;
              geoSoft:fileTypeLabel ?file_type_label .
 
-  ?source libraryOntology:flowcell ?flowcell .
-
   ?flowcell libraryOntology:flowcell_id ?flowcell_id ;
             libraryOntology:read_length ?read_length ;
             libraryOntology:flowcell_type ?flowcell_type ;