Blast hits output to fasta format ?
Hi
I blasted some DNA sequences against the nucleotideDB generated hits file.
From the hitsfile how I'd I extract the blasted nucleotide fasta sequences from the alignment out file ?
time /home/sunn/data/softwares/ncbi/ncbi-blast-2.11.0+/bin/blastn -query /home/sunn/data/softwares/evaluation/SRR363205.fasta -db /home/sunn/data/softwares/ncbi/ncbi-blast-2.11.0+/bin/nucleotideDBB/nucleotideDBB -out nucl_blastn_1align_1e-30_1_trans.txt -num_alignments 1 -evalue 1e-30 -num_threads 6 > blastn_2_trans.log
• 4,152 views
•
link
1 answer
From your output file you need to parse the hit IDs (==sequence ID or name) and use that to extract those sequences from the blastDB.
to extract sequences from a blastDB you use the command blastdbcmd with the entry or entry_batch option. For more details run blastdbcmd -help in your terminal
• 0 views
•
link
Log in to answer this question.
Question: Converting Blast Results/Output to FASTA format
Blast+ results file parsing to fasta file
Converting ANY blast output file to an alignment fasta file.
Using Blast Command Line to output unaligned FASTA
If you're only interested in the aligned parts of the query sequences you could have used a custom
-outfmtand includeqseqthere..