Skip to content

Instantly share code, notes, and snippets.

@Irtazaraza
Last active January 25, 2019 18:28
Show Gist options
  • Save Irtazaraza/854967ea0ce5d3829d67df02b79ffc6b to your computer and use it in GitHub Desktop.
Save Irtazaraza/854967ea0ce5d3829d67df02b79ffc6b to your computer and use it in GitHub Desktop.
define
disease sub entity,
has disease-name,
has source,
has disease-id,
has disease-mim,
has last-modified,
plays associated-disease;
gene sub entity,
has gene-id,
has gene-symbol,
plays associated-gene;
gene-disease-association sub relationship,
has score,
has no-of-pmids,
has no-of-snps,
has source,
relates associated-disease,
relates associated-gene;
disease-name sub attribute datatype string;
disease-id sub attribute datatype string;
disease-mim sub attribute datatype double;
last-modified sub attribute datatype double;
gene-id sub attribute datatype double;
gene-symbol sub attribute datatype string;
source-id sub attribute datatype double;
score sub attribute datatype double;
no-of-pmids sub attribute datatype double;
no-of-snps sub attribute datatype double;
source sub attribute datatype string,
has source-id;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment