about summary refs log tree commit diff
path: root/example
diff options
context:
space:
mode:
authorlltommy2020-04-14 22:56:33 +0200
committerlltommy2020-04-14 22:56:33 +0200
commitb106dc843cdc60902b0c6d423291584086fd2868 (patch)
tree59b0f263f5f8bc6201ed3e309c98a88d11d348dd /example
parent7ff1350f0509f85ebe40ff6e56861546045e83d3 (diff)
downloadbh20-seq-resource-b106dc843cdc60902b0c6d423291584086fd2868.tar.gz
bh20-seq-resource-b106dc843cdc60902b0c6d423291584086fd2868.tar.lz
bh20-seq-resource-b106dc843cdc60902b0c6d423291584086fd2868.zip
Updated yaml schema and examples - plus ShEX shape to go along with it. Still work in progress but getting better and better I guess
Diffstat (limited to 'example')
-rw-r--r--example/metadata.yaml9
-rw-r--r--example/minimal_example.yaml3
2 files changed, 7 insertions, 5 deletions
diff --git a/example/metadata.yaml b/example/metadata.yaml
index 15e4e44..5d9cffc 100644
--- a/example/metadata.yaml
+++ b/example/metadata.yaml
@@ -3,7 +3,6 @@ id: placeholder
 host:
     host_id: XX1
     host_species: http://purl.obolibrary.org/obo/NCBITaxon_9606
-    host_common_name: string
     host_sex: http://purl.obolibrary.org/obo/NCIT_C27993
     host_age: 20
     host_age_unit: http://purl.obolibrary.org/obo/UO_0000036
@@ -16,8 +15,8 @@ sample:
     collector_name: XXX
     collecting_institution: XXX
     specimen_source: XXX
-    collection_date: XXX
-    collection_location: http://purl.obolibrary.org/obo/NCIT_C16428
+    collection_date: 2020-01
+    collection_location: http://purl.obolibrary.org/obo/GAZ_00002459
     sample_storage_conditions: XXX
     additional_collection_information: XXX
 
@@ -28,7 +27,7 @@ virus:
 technology:
     sample_sequencing_technology: XX
     sequence_assembly_method: XX
-    sequencing_coverage: 70x
+    sequencing_coverage: 70
 
 submitter:
     submitter_name: tester
@@ -38,4 +37,4 @@ submitter:
     provider_sample_id: string
     submitter_sample_id: string
     authors: testAuthor
-    submitter_orchid: X12
+    submitter_orchid: https://orcid.org/0000-0002-1825-0097
diff --git a/example/minimal_example.yaml b/example/minimal_example.yaml
index 43adfa8..0080c6d 100644
--- a/example/minimal_example.yaml
+++ b/example/minimal_example.yaml
@@ -10,6 +10,9 @@ sample:
     collector_name: XXX
     collecting_institution: XXX
 
+virus:
+    virus_species: http://purl.obolibrary.org/obo/NCBITaxon_2697049
+
 technology:
     sample_sequencing_technology: XX