Fix RDF schema problems with lane_number and species.
[htsworkflow.git] / htsworkflow / util / schemas / htsworkflow.turtle
index 12c1f55cfdc98b321f9780dfd37f514375ac6ad2..8fe0362d32a33b721d72c112fc7093f80ad34067 100644 (file)
@@ -274,7 +274,7 @@ htswlib:gel_cut
     rdfs:comment "The estimated fragment sizes cut from gel";
     rdfs:label "Gel Cut" ;
     rdfs:domain htswlib:Library ;
-    rdfs:range xsd:decimal .
+    rdfs:range xsd:integer .
 
 htswlib:made_by
     a rdf:Property ;
@@ -313,12 +313,19 @@ htswlib:affiliation
 
 htswlib:species
     a rdf:Property ;
-    rdfs:comment "Scientific name of sample species" ;
+    rdfs:comment "A species class" ;
     rdfs:label "Species" ;
     rdfs:domain htswlib:Library ;
     #rdfs:domain htswlib:IlluminaLane;
     rdfs:range htswlib:Species .
 
+htswlib:species_name
+   a rdf:Property ;
+   rdfs:comment "Scientific name of sample species" ;
+   rdfs:label "Species name";
+   rdfs:domain htswlib:Species, htswlib:Library ;
+   rdfs:range xsd:string .
+
 htswlib:replicate
     a rdf:Property ;
     rdfs:comment "Which replicate this was" ;