about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Amstutz2020-04-09 15:59:46 -0400
committerPeter Amstutz2020-04-09 15:59:46 -0400
commitdbe094a150d6c969b3d69f112b3538e6a87a74a2 (patch)
tree1616dc14701be69ba91f6aede1cc24ed66b98e5b
parentdeedb2ed7046bbe81136b8d9d1edc353984d356b (diff)
downloadbh20-seq-resource-dbe094a150d6c969b3d69f112b3538e6a87a74a2.tar.gz
bh20-seq-resource-dbe094a150d6c969b3d69f112b3538e6a87a74a2.tar.lz
bh20-seq-resource-dbe094a150d6c969b3d69f112b3538e6a87a74a2.zip
Add "sequencefile" for the metadata subject.
-rw-r--r--bh20sequploader/bh20seq-schema.yml13
-rw-r--r--example/metadata.yaml2
2 files changed, 13 insertions, 2 deletions
diff --git a/bh20sequploader/bh20seq-schema.yml b/bh20sequploader/bh20seq-schema.yml
index fd9e854..5c962d1 100644
--- a/bh20sequploader/bh20seq-schema.yml
+++ b/bh20sequploader/bh20seq-schema.yml
@@ -1,3 +1,8 @@
+$base: http://biohackathon.org/bh20-seq-schema
+$namespaces:
+  sch: https://schema.org/
+  efo: http://www.ebi.ac.uk/efo/
+  obo: http://purl.obolibrary.org/obo/
 $graph:
 
 - name: hostSchema
@@ -75,4 +80,10 @@ $graph:
     sample: sampleSchema
     virus: virusSchema?
     technology: technologySchema
-    submitter: submitterSchema
\ No newline at end of file
+    submitter: submitterSchema
+    sequencefile:
+      doc: The subject (eg the fasta/fastq file) that this metadata describes
+      type: string?
+      jsonldPredicate:
+        _id: "@id"
+        _type: "@id"
diff --git a/example/metadata.yaml b/example/metadata.yaml
index 8a93379..41ff93e 100644
--- a/example/metadata.yaml
+++ b/example/metadata.yaml
@@ -35,4 +35,4 @@ submitter:
     provider_sample_id: string
     submitter_sample_id: string
     authors: testAuthor
-    submitter_id: X12
\ No newline at end of file
+    submitter_id: X12