Skip to content

Instantly share code, notes, and snippets.

@fjossinet
Created June 15, 2012 12:40
Show Gist options
  • Save fjossinet/2936274 to your computer and use it in GitHub Desktop.
Save fjossinet/2936274 to your computer and use it in GitHub Desktop.
Performing a remote Blast
wget "ftp://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/LATEST/ncbi-blast-2.2.26+-x64-linux.tar.gz"
tar -xzvf ncbi-blast-2.2.26+-x64-linux.tar.gz
ncbi-blast-2.2.26+/bin/blastn -remote -query your_fasta_file.fasta -out blast_results.txt -db nr
grep "^>" blast_results.txt | wc -l
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment