-
Notifications
You must be signed in to change notification settings - Fork 5
/
makefile
21 lines (15 loc) · 724 Bytes
/
makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
DOWNLOAD=curl -o
#find references in UMLS by run the Java program
#find the most terms (short sentences <= 10 words) with ExtractMostFrequentSens.py
#the same script also finds the original Gene Reviews file that the terms come from
#seperate the text file into different sections with seperateManigementSections.py
#parse XML file to extract all test
main/resources/Gene_Reviews_Extracted:main/resources/gene_NBK1116
python main/scripts/XML_parser.py
#unzip and then delete original file
main/resources/gene_NBK1116:main/resources/gene_NBK1116.tar.gz
tar -xzvf $<
#rm $<
#Download Gene Reviews
main/resources/gene_NBK1116.tar.gz:
$(DOWNLOAD) $@ 'ftp://ftp.ncbi.nlm.nih.gov/pub/litarch//ca/84/gene_NBK1116.tar.gz'