about summary refs log tree commit diff
diff options
context:
space:
mode:
authorlltommy2020-04-28 22:09:37 +0200
committerlltommy2020-04-28 22:09:37 +0200
commitceb34edf0449cca328dfe8cf61277d7f05ea7cf9 (patch)
treef5707375a869e3ce6b1e5adfadda5e0abe32def0
parentb4ec03398d5e74eeb33a4a2a396fe4518c0c5465 (diff)
downloadbh20-seq-resource-ceb34edf0449cca328dfe8cf61277d7f05ea7cf9.tar.gz
bh20-seq-resource-ceb34edf0449cca328dfe8cf61277d7f05ea7cf9.tar.lz
bh20-seq-resource-ceb34edf0449cca328dfe8cf61277d7f05ea7cf9.zip
Decision to settle for float instead of integers for the coverage
-rw-r--r--bh20sequploader/bh20seq-schema.yml2
-rw-r--r--bh20sequploader/bh20seq-shex.rdf2
-rw-r--r--example/maximum_metadata_example.yaml2
3 files changed, 3 insertions, 3 deletions
diff --git a/bh20sequploader/bh20seq-schema.yml b/bh20sequploader/bh20seq-schema.yml
index f36a6e6..d3e992a 100644
--- a/bh20sequploader/bh20seq-schema.yml
+++ b/bh20sequploader/bh20seq-schema.yml
@@ -152,7 +152,7 @@ $graph:
         _id: http://www.ebi.ac.uk/efo/EFO_0002699
     sequencing_coverage:
       doc: Sequence coverage defined as the average number of reads representing a given nucleotide (e.g. [100]) - if multiple technologies were used multiple float values can be submitted e.g. [100, 20]
-      type: int[]?
+      type: float[]?
       jsonldPredicate:
         _id: http://purl.obolibrary.org/obo/FLU_0000848
     additional_technology_information:
diff --git a/bh20sequploader/bh20seq-shex.rdf b/bh20sequploader/bh20seq-shex.rdf
index 4ec957d..fe6deee 100644
--- a/bh20sequploader/bh20seq-shex.rdf
+++ b/bh20sequploader/bh20seq-shex.rdf
@@ -57,7 +57,7 @@ PREFIX wikidata: <http://www.wikidata.org/entity/>
 :technologyShape {
     obo:OBI_0600047 IRI {0,3} ;
     efo:EFO_0002699 xsd:string ?;
-    obo:FLU_0000848 xsd:integer {0,2};
+    obo:FLU_0000848 xsd:float {0,3};
     sio:SIO_001167 xsd:string ?;
 }
 
diff --git a/example/maximum_metadata_example.yaml b/example/maximum_metadata_example.yaml
index 260e4e4..0ba9ada 100644
--- a/example/maximum_metadata_example.yaml
+++ b/example/maximum_metadata_example.yaml
@@ -29,7 +29,7 @@ virus:
 technology:
     sample_sequencing_technology: [http://www.ebi.ac.uk/efo/EFO_0009173,http://www.ebi.ac.uk/efo/EFO_0009173]
     sequence_assembly_method: Protocol used for assembly
-    sequencing_coverage: [70, 100]
+    sequencing_coverage: [70.0, 100.0]
     additional_technology_information: Optional free text field for addtional information
 
 submitter: