Command blast excluding species
1
1
Entering edit mode
10.6 years ago
Adrian Pelin ★ 2.6k

Hello,

When using NCBI's interface I can exclude species, genus, even phyla. Is there a way to do that in command line blast?

I need to exclude one species from my search. I see this can somehow be done with a GI list, but the example they give is not very understandable.

Adrian

blast • 5.5k views
ADD COMMENT
1
Entering edit mode
10.6 years ago
5heikki 11k

Use NCBI's taxonomy browser and link from there to genbank GI list of all nucleotides or proteins. Download that and use it in the command line blast, for example from here to here, then "send to" -> "file" -> "GI list"

ADD COMMENT
2
Entering edit mode

Excellent strategy. Although I must say, I am wondering why they do not simply the same approach available in the online interface, where you can simply restrict your analysis to a taxid or exclude it from your analysis.

ADD REPLY

Login before adding your answer.

Traffic: 2451 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