Jon*_*Jon 1 sequences bioinformatics biopython blast
我想要
我怎么能在BioPython中做到这一点?
小智 7
from Bio.Blast import NCBIWWW
fasta_string = open("myfasta").read()
result_handle = NCBIWWW.qblast("blastn", "nt", fasta_string)
print result_handle.read()
Run Code Online (Sandbox Code Playgroud)
myfasta上方是您为Internet BLAST提供的自定义seq文件
您可以根据需要使用NCBIXML随后使用result_handle(即获得前100名,删除重复项)