Created
March 31, 2014 12:13
-
-
Save nuada/9890988 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#usage: $0 <prefix> <number of parts> | |
#eg: $0 nt 17 | |
# Download blast db form NCBI | |
for i in $(seq -f '%02.f' 0 $2); do | |
wget ftp://ftp.ncbi.nlm.nih.gov/blast/db/${1}.${i}.tar.gz | |
wget ftp://ftp.ncbi.nlm.nih.gov/blast/db/${1}.${i}.tar.gz.md5 | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment