-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sh
executable file
·27 lines (24 loc) · 1.38 KB
/
build.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/bin/bash
rm -rf dist
mkdir -p dist
cp -r source_objects dist/objects
python3 src/generate_ccf_model.py
python3 src/generate_asctb_owl.py
python3 src/get_term_list_from_asct_b.py
python3 src/generate_ccf_partonomy.py
python3 src/generate_ccf_reference_entities.py
python3 src/generate_ccf_full.py
cp source_data/ccf-*context.jsonld dist
cp src/ccf-partonomy.html src/ccf-partonomy.vg.json dist
python3 src/generate_ccf_partonomy_report.py
if [ "$1" == "report" ]
then
mkdir -p dist/reports
python3 src/generate_ccf_partonomy_report.py dist/reports/ccf-partonomy.heart.csv http://purl.obolibrary.org/obo/UBERON_0000948
python3 src/generate_ccf_partonomy_report.py dist/reports/ccf-partonomy.lung.csv http://purl.obolibrary.org/obo/LMHA_00211
python3 src/generate_ccf_partonomy_report.py dist/reports/ccf-partonomy.kidney.csv http://purl.obolibrary.org/obo/UBERON_0002113
python3 src/generate_ccf_partonomy_report.py dist/reports/ccf-partonomy.spleen.csv http://purl.obolibrary.org/obo/UBERON_0002106
python3 src/generate_ccf_partonomy_report.py dist/reports/ccf-partonomy.colon.csv http://purl.obolibrary.org/obo/UBERON_0001155
python3 src/generate_ccf_partonomy_report.py dist/reports/ccf-partonomy.small-intestine.csv http://purl.obolibrary.org/obo/UBERON_0002108
python3 src/generate_ccf_partonomy_report.py dist/reports/ccf-partonomy.rectum.csv http://purl.obolibrary.org/obo/UBERON_0001052
fi