source: getFIles.sh

Last change on this file was 8, checked in by maarten, 9 years ago

removed some output bugs

File size: 412 bytes
Line 
1cd data
2rm omim.txt
3rm pubmed_cited
4rm omim.txt
5wget ftp://ftp.ncbi.nih.gov/snp/organisms/human_9606/database/organism_data/OmimVarLocusIdSNP.bcp.gz
6gzip -dc OmimVarLocusIdSNP.bcp.gz |cut -f "1 3 9"  |grep -P "\t\d{4}\t"> dbsnp-to-OMIM.cvs
7rm OmimVarLocusIdSNP.bcp.gz
8
9wget ftp://ftp.ncbi.nlm.nih.gov/repository/OMIM/omim.txt.Z
10uncompress omim.txt.Z
11
12wget ftp://ftp.ncbi.nlm.nih.gov/repository/OMIM/pubmed_cited
Note: See TracBrowser for help on using the repository browser.