Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: blml specification of gpi format (experimental) #3209

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
106 changes: 106 additions & 0 deletions specs/gpi.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
## IN PROGRESS

prefixes:
biolink: 'https://w3id.org/biolink/vocab/'
biolinkml: 'https://w3id.org/biolink/biolinkml/'
gff3: 'https://github.com/The-Sequence-Ontology/Specifications/blob/master/gff3.md'

classes:
gene product:
slots:
- id
- symbol
- name
- synonyms
- type
- taxon
- parent
- xrefs
- properties

gene product properties:
slots:
- todo

slots:
id:
identifier: true
required: true
mappings:
- biolink:id
- alliancegenome:primaryId
- gff3:ID

symbol:
range: symbol type
multivalued: false
required: true
mappings:
- alliancegenome:symbol
- rdfs:label

name:
range: string
multivalued: false
required: true
mappings:
- biolink:name
- gff3:Name

synonyms:
range: string
multivalued: true
mappings:
- biolink:synonym
- alliancegenome:synonyms
- gff3:Alias
- skos:altLabel

type:
range: category type
multivalued: false
required: true
mappings:
- biolink:type
- alliancegenome:soTermId
- gff3:type
- rdfs:type

taxon:
range: taxon type
multivalued: false
required: true
mappings:
- alliancegenome:taxonId
- RO:0002162

parent:
range: gene product
multivalued: false ##?
mappings:
- gff3:Parent

xrefs:
range: string
multivalued: true
mappings:
- alliancegenome:crossReferences # inlined
- gff3:Dbxref

types:
symbol type:
pattern: "^\S+$"
base: str
uri: xsd:string

category type:
typeof: uriorcurie
description: >-
A primitive type in which the value denotes a class within the biolink model.

taxon type:
typeof: uriorcurie
pattern: "^NCBITaxon:\d+$"
description: >-
A primitive type in which the value denotes a class within the biolink model.