Difference between revisions of "Parsing Blast Results from Your Favorite Database"
From GcatWiki
m |
|||
Line 3: | Line 3: | ||
#Run your search using the command<pre>/usr/local/ncbi/blast/bin/blastn -query scf1453.fasta -db bb_latest_assembly.fasta -outfmt "7 qacc sacc evalue qstart qend sstart send"</pre> | #Run your search using the command<pre>/usr/local/ncbi/blast/bin/blastn -query scf1453.fasta -db bb_latest_assembly.fasta -outfmt "7 qacc sacc evalue qstart qend sstart send"</pre> | ||
#:What does this command do? "-" indicates a command. The text that follows is the actual command. | #:What does this command do? "-" indicates a command. The text that follows is the actual command. | ||
− | # | + | #*-query = query file |
##*-db = | ##*-db = | ||
Revision as of 16:16, 23 February 2011
This tutorial assumes the user has blast version __________ installed and has already made their local blast database (on their computer). It is also written for mac users, however all scripts and tools mentioned here are windows compatible with windows.
- Run your search using the command
/usr/local/ncbi/blast/bin/blastn -query scf1453.fasta -db bb_latest_assembly.fasta -outfmt "7 qacc sacc evalue qstart qend sstart send"
- What does this command do? "-" indicates a command. The text that follows is the actual command.
- -query = query file
- -db =
- Download blastParse.py
- Place blastParse.py into the same folder as your blast results file
- Open terminal and navigate into the folder containing blastParse.py using following Unix commands
cd OR ls
- Run blastParse.py using the command
python blastParse.py