blast against genomes in biopython

前端 未结 1 621
刺人心
刺人心 2021-01-28 21:51
from Bio.Blast import NCBIXML
from Bio.Blast import NCBIWWW

result_handle = NCBIWWW.qblast(
    \"blastn\",
    \"nr\",
    \"CAC         


        
1条回答
  •  隐瞒了意图╮
    2021-01-28 22:19

    Your query isn't returning any results. The default parameters for blast are the cause. These parameters work better in this particular case of small length queries:

    result_handle = NCBIWWW.qblast(
        "blastn",
        "nr",
        "CACTTATTTAGTTAGCTTGCAACCCTGGATTTTTGTTTACTGGAGAGGCC",
        megablast=False,
        expect=1000,
        word_size=7,
        nucl_reward=1,
        nucl_penalty=-3,
        gapcosts="5 2",
        entrez_query='Beutenbergia cavernae DSM 12333 [Organism]')
    

    Particularly the expect parameter plays a major role here.

    0 讨论(0)
提交回复
热议问题