-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #72 from monarch-initiative/boom
DO NOT MERGE YET: building mondo using kboom method
- Loading branch information
Showing
27 changed files
with
586,104 additions
and
626,286 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
language: java | ||
jdk: | ||
- openjdk7 | ||
|
||
before_script: | ||
- mkdir -p bin | ||
- export PATH=$PATH:$PWD/bin | ||
- wget http://build.berkeleybop.org/userContent/owltools/owltools -O bin/owltools | ||
- wget http://build.berkeleybop.org/userContent/owltools/ontology-release-runner -O bin/ontology-release-runner | ||
- wget http://build.berkeleybop.org/userContent/owltools/owltools-runner-all.jar -O bin/owltools-runner-all.jar | ||
- wget http://build.berkeleybop.org/userContent/owltools/owltools-oort-all.jar -O bin/owltools-oort-all.jar | ||
- chmod +x bin/* | ||
|
||
# command to run tests | ||
script: cd src/mondo && make test | ||
|
||
#after_success: | ||
# coveralls | ||
|
||
# whitelist | ||
branches: | ||
only: | ||
- master | ||
|
||
notifications: | ||
email: | ||
- cjmungall@lbl.gov | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,11 @@ | ||
#!/usr/bin/perl | ||
while(<>) { | ||
s@^xref: ORDO:@xref: Orphanet:@g; | ||
s@^xref: ICD10CM:@xref: ICD10:@g; | ||
s@^xref: ICD9CM:@xref: ICD9:@g; | ||
s@^xref: SNOMEDCT_\w+:@xref: SCTID:@g; | ||
s@^xref: UMLS_CUI:@xref: UMLS:@g; | ||
s@^xref: MSH:@xref: MESH:@g; | ||
s@^xref: NCI:@xref: NCIT:@g; | ||
print $_; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
genereviews.ttl: | ||
wget http://data.monarchinitiative.org/ttl/genereviews.ttl -O $@ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
format-version: 1.2 | ||
ontology: mondo/mesh-antislim | ||
subsetdef: mesh_antislim "MESH antislim" | ||
|
||
[Term] | ||
id: MESH:C ! Diseases | ||
name: Diseases | ||
subset: mesh_antislim | ||
|
||
[Term] | ||
id: MESH:D010335 ! Pathologic Processes | ||
name: Pathologic Processes | ||
subset: mesh_antislim | ||
|
||
[Term] | ||
id: MESH:D012816 ! Signs and Symptoms | ||
name: Signs and Symptoms | ||
subset: mesh_antislim | ||
|
||
[Term] | ||
id: MESH:D013568 ! Pathological Conditions, Signs and Symptoms | ||
name: Pathological Conditions, Signs and Symptoms | ||
subset: mesh_antislim | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
#!/usr/bin/perl | ||
|
||
print "ontology: mesh\n"; | ||
while(<>) { | ||
chomp; | ||
if (m@^id: (\S+)@) { | ||
$id = $1; | ||
} | ||
if ($id =~ /OMIM/) { | ||
next if m@^name:@; | ||
next if m@^synonym:@; | ||
} | ||
if (m@^synonym: "(.*)"\s+\S+\s+\[@) { | ||
my $s = $1; | ||
if ($s !~ /[a-z]/) { | ||
next; | ||
} | ||
} | ||
s@^alt_id:@xref:@; | ||
s@ EXACT @ RELATED @; | ||
print "$_\n"; | ||
} |
Oops, something went wrong.