How to specify organism taxa in biopythons remote blast cmd?
1
0
Entering edit mode
6.2 years ago

I' doing tblastn with biopython via

from Bio.Blast import NCBIWWW
fasta_string = open("my_query.faa").read()
result_handle = NCBIWWW.qblast("tblastn", "refseq_genomes", fasta_string )

and i want to limit my search only to one taxa - arthropods (taxid:6656)

In web blast it is easily done, but i can't seem to find the right option here.

biopyhon blastx • 3.2k views
ADD COMMENT
1
Entering edit mode
6.2 years ago
Sej Modha 5.3k

Hi there,

I think entrez_query option should do the job e.g. entrez_query='txid6656[ORGN]' http://biopython.org/DIST/docs/api/Bio.Blast.NCBIWWW-module.html

entrez_query Entrez query to limit Blast search
ADD COMMENT
0
Entering edit mode

Thank you - that does it!

ADD REPLY

Login before adding your answer.

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