aboutsummaryrefslogtreecommitdiff
path: root/bh20sequploader
diff options
context:
space:
mode:
authorlltommy2020-04-09 20:38:55 +0200
committerlltommy2020-04-09 20:38:55 +0200
commitdeedb2ed7046bbe81136b8d9d1edc353984d356b (patch)
tree5e94e97359acb265a65c1fb7ba3b8015b0f3ae58 /bh20sequploader
parentd7498093d0f5e0db052ef88815d57c2648d09425 (diff)
downloadbh20-seq-resource-deedb2ed7046bbe81136b8d9d1edc353984d356b.tar.gz
bh20-seq-resource-deedb2ed7046bbe81136b8d9d1edc353984d356b.tar.lz
bh20-seq-resource-deedb2ed7046bbe81136b8d9d1edc353984d356b.zip
Adding functionality of turning keys into ontology terms (URI). This is work in progress - of course!
Diffstat (limited to 'bh20sequploader')
-rw-r--r--bh20sequploader/bh20seq-schema.yml30
1 files changed, 24 insertions, 6 deletions
diff --git a/bh20sequploader/bh20seq-schema.yml b/bh20sequploader/bh20seq-schema.yml
index 38cfb48..fd9e854 100644
--- a/bh20sequploader/bh20seq-schema.yml
+++ b/bh20sequploader/bh20seq-schema.yml
@@ -3,14 +3,20 @@ $graph:
- name: hostSchema
type: record
fields:
+ host_species:
+ type: string
+ jsonldPredicate:
+ _id: http://www.ebi.ac.uk/efo/EFO_0000532
host_id: string
- host_species: string
host_common_name: string?
host_sex: string?
host_age: int?
host_age_unit: string?
host_health_status: string?
- host_treatment: string?
+ host_treatment:
+ type: string?
+ jsonldPredicate:
+ _id: http://www.ebi.ac.uk/efo/EFO_0000727
additional_host_information: string?
- name: sampleSchema
@@ -20,7 +26,10 @@ $graph:
collecting_institution: string
specimen_source: string?
collection_date: string?
- collection_location: string?
+ collection_location:
+ type: string?
+ jsonldPredicate:
+ _id: https://schema.org/fromLocation
sample_storage_conditions: string?
additional_collection_information: string?
@@ -33,9 +42,18 @@ $graph:
- name: technologySchema
type: record
fields:
- sample_sequencing_technology: string
- sequence_assembly_method: string?
- sequencing_coverage: string?
+ sample_sequencing_technology:
+ type: string
+ jsonldPredicate:
+ _id: http://www.ebi.ac.uk/efo/EFO_0000532
+ sequence_assembly_method:
+ type: string?
+ jsonldPredicate:
+ _id: http://www.ebi.ac.uk/efo/EFO_0002699
+ sequencing_coverage:
+ type: string?
+ jsonldPredicate:
+ _id: http://purl.obolibrary.org/obo/FLU_0000848
- name: submitterSchema
type: record