Skip to content

Commit

Permalink
Merge pull request #2 from sdsc-ordes/refactor/base-schema
Browse files Browse the repository at this point in the history
feat: add reference concepts
  • Loading branch information
cmdoret authored Dec 19, 2023
2 parents 2f66d86 + 8eb70e5 commit e8a45e0
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 9 deletions.
32 changes: 23 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,29 +8,43 @@ StudyCollection {
}
Study {
datetime start_date
datetime completion_date
uriorcurie id
string name
string description
datetime start_date
datetime completion_date
uriorcurie id
string name
string description
}
Experiment {
}
Record {
uriorcurie location
DataFormat format
uriorcurie location
DataFormat format
}
ReferenceGenome {
string name
integer taxon_id
uriorcurie location
uriorcurie source_uri
}
ReferenceSequence {
string name
string sequence_md5
uriorcurie location
uriorcurie source_uri
}
Sample {
integer taxon_id
string collector
integer taxon_id
string collector
}
StudyCollection ||--}o Study : "entries"
Study ||--|o Experiment : "has_experiment"
Experiment ||--|o Sample : "has_sample"
Experiment ||--|o Record : "has_record"
Record ||--|o Sample : "has_sample"
Record ||--|o ReferenceGenome : "has_reference"
ReferenceGenome ||--|o ReferenceSequence : "has_sequence"
```

## Website
Expand Down
4 changes: 4 additions & 0 deletions src/smoc_schema/schema/smoc_schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ classes:
- location
- format
- has_sample
- has_reference

ReferenceGenome:
description: >-
Expand Down Expand Up @@ -178,6 +179,9 @@ slots:
has_sequence:
description: Denotes that a sequence beolongs to a collection (e.g. a reference genome).
range: ReferenceSequence
has_reference:
description: Specifies the reference coordinate system used by an omics dataset.
range: ReferenceGenome

enums:
OmicsType:
Expand Down

0 comments on commit e8a45e0

Please sign in to comment.