X-Git-Url: http://woldlab.caltech.edu/gitweb/?p=htsworkflow.git;a=blobdiff_plain;f=htsworkflow%2Fsubmission%2Fcondorfastq.py;h=5ae4b7a01f481f1b75e181c50d919010fb4b3d26;hp=9aab790ef6fb6262e998b7ef1b4c2689144d5e88;hb=c99feb78c58da43cb018dc3ef109bc3074d3c511;hpb=da57ac1c65ff0fa96c831ff6adb787c64e99cc8d diff --git a/htsworkflow/submission/condorfastq.py b/htsworkflow/submission/condorfastq.py index 9aab790..5ae4b7a 100644 --- a/htsworkflow/submission/condorfastq.py +++ b/htsworkflow/submission/condorfastq.py @@ -169,7 +169,7 @@ class CondorFastqExtract(object): def import_library(self, library): """Import library data into our model if we don't have it already """ - q = RDF.Statement(library, rdfNS['type'], libraryOntology['library']) + q = RDF.Statement(library, rdfNS['type'], libraryOntology['Library']) present = False if not self.model.contains_statement(q): present = True @@ -184,7 +184,7 @@ prefix libns: select distinct ?flowcell ?flowcell_id WHERE { - ?library a libns:library ; + ?library a libns:Library ; libns:has_lane ?lane . ?lane libns:flowcell ?flowcell . ?flowcell libns:flowcell_id ?flowcell_id . @@ -195,7 +195,7 @@ WHERE { LOGGER.debug("Flowcells = %s" %(unicode(flowcell_ids))) flowcell_test = RDF.Statement(r['flowcell'], rdfNS['type'], - libraryOntology['illumina_flowcell']) + libraryOntology['IlluminaFlowcell']) if not self.model.contains_statement(flowcell_test): # we probably lack full information about the flowcell. load_into_model(self.model, 'rdfa', r['flowcell'])