-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
43 lines (35 loc) · 1.17 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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
all: tools db data-omim data-hgnc data-ncbi data-ensembl data-uniprot data-kegg
tools:
go build -o import github.com/joiningdata/databio/cmd/import
db:
./import init
data-ensembl:
cp sources.sqlite ensembl/
cd ensembl; \
time bash import_ensembl.sh |sed 's/^import/..\/import/' > doimport.sh; \
time bash doimport.sh && mv sources.sqlite ..
data-hgnc:
cp sources.sqlite hgnc/
cd hgnc; \
time bash import_hgnc.sh |sed 's/^import/..\/import/' > doimport.sh; \
time bash doimport.sh && mv sources.sqlite ..
data-ncbi:
cp sources.sqlite ncbi/
cd ncbi; \
time bash import_ncbi.sh |sed 's/^import/..\/import/' > doimport.sh; \
time bash doimport.sh && mv sources.sqlite ..
data-omim:
cp sources.sqlite omim/
cd omim; \
time bash import_omim.sh |sed 's/^import/..\/import/' > doimport.sh; \
time bash doimport.sh && mv sources.sqlite ..
data-uniprot:
cp sources.sqlite uniprot/
cd uniprot; \
time bash import_uniprot.sh |sed 's/^import/..\/import/' > doimport.sh; \
time bash doimport.sh && mv sources.sqlite ..
data-kegg:
cp sources.sqlite kegg/
cd kegg; \
time bash import_kegg.sh |sed 's/^import/..\/import/' > doimport.sh; \
time bash doimport.sh && mv sources.sqlite ..