How to extract blast hits sequences in fasta format using BLAST+ running on windows command prompt?
2
0
Entering edit mode
6.7 years ago

Hi guys,

I am trying to get the sequences out of a blastp result using the latest release of blast+ (2.6.0) using the windows version on the command prompt. Is there an easy way?

Thanks

blast • 2.4k views
ADD COMMENT
0
Entering edit mode
6.7 years ago
h.mon 35k

It is not clear what do you mean by "get the sequences out of a blastp result", as you don't say nothing about how you run blast, what kind of output you have, and if you want to retrieve the original subject sequence or only the matching parts between query and subject.

You can use blastdbcmd on windows to retrieve sequences from the database, but there won't be any linux tools (sed, awk, cut, tr, sort, and so on) to help you parse files in caso of need.

If you are using Windows 10, install the Windows Subsystem for Linux, also known as Bash on Ubuntu on Windows.

ADD COMMENT
0
Entering edit mode
6.7 years ago
theobroma22 ★ 1.2k

You need to give more information to help you. First, you can use -help in the command line to see how to change the output, like the formatting style. Next, do you have only one result or many results per blast query? Do you want to extract the sequences in the Windows CMD terminal or input the file into R, SAS or other? In summary, there is more than one way to do this, but we need to know the framework you are working under.

ADD COMMENT

Login before adding your answer.

Traffic: 2434 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6