INNER CODE UNIT · Java
INSTALL_AREA
sanger-pathogens/Artemis · etc/setup_blast_dbs.sh:28
INSTALL_AREA=$HOME/blast-data
cd $HOME
mkdir -p $INSTALL_AREA
cd $INSTALL_AREA
echo "Downloading and formatting databases..."
if test ! -f uniprot; then
curl -O ftp://ftp.ebi.ac.uk/pub/databases/uniprot/knowledgebase/uniprot_sprot.fasta.gz
gunzip -f uniprot_sprot.fasta.gz
curl -O ftp://ftp.ebi.ac.uk/pub/databases/uniprot/knowledgebase/uniprot_trembl.fasta.gz
gunzip -f uniprot_trembl.fasta.gz
cat uniprot_sprot.fasta uniprot_trembl.fasta > uniprot
rm -f uniprot_sprot.fasta uniprot_trembl.fasta
$BLAST -in uniprot -dbtype prot -parse_seqids -title uniprot &