-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
24 lines (21 loc) · 1.06 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
.PHONY: inference_prep clean
my_rdftab="https://github.com/ontodev/rdftab.rs/releases/download/v0.1.1/rdftab-x86_64-apple-darwin"
clean:
rm -rf linkml-model-enrichment bacteria-archaea-traits multi_obo.db
inference_prep:
git clone [email protected]:linkml/linkml-model-enrichment.git
git clone [email protected]:bacteria-archaea-traits/bacteria-archaea-traits.git
linkml-model-enrichment/linkml_model_enrichment/infer_model.py tsv2model \
--class_name condensed_traits_NCBI \
--schema_name organism \
--sep ',' \
bacteria-archaea-traits/output/condensed_traits_NCBI.csv > target/condensed_traits_NCBI.yaml
curl -L -o rdftab ${my_rdftab}
chmod +x rdftab
# curl -L -o prefix.sql https://raw.githubusercontent.com/ontodev/rdftab.rs/master/test/prefix.sql
curl -L -o pato.owl http://purl.obolibrary.org/obo/pato.owl
curl -L -o uberon.owl https://raw.githubusercontent.com/obophenotype/uberon/master/uberon.owl
# curl -L -o micro.owl http://purl.obolibrary.org/obo/micro.owl
sqlite3 multi_obo.db < prefix.sql
./rdftab multi_obo.db < pato.owl
./rdftab multi_obo.db < uberon.owl