This is a test version of Biostars. For the public version, visit https://www.biostars.org.
本地Blast的输入和输出问题

在这里学习了本地blast的使用,但是有个问题,本地blast默认的是标准输入和标准输出,由于需要,我希望将序列通过变量输入并且将比对结果输出到另一个变量。 比如 $reference中是一条序列(不是从文件读入) 而将结果输出到变量$blast_result(不是从文件读入)

但是用如下脚本是无法实现的 my $localblast=system("$blastall -p blastp -d $database -i $reference -o $blastresult"); 不知该怎么搞定啊。请大家帮忙,非常感谢!

local blast

@mapkkk - I think you should edit your question since most of us can't really read Chinese characters :-)

1 answer

Interesting :) I ran this through Google Translate and I think they want to capture BLAST output using Perl. So yes, Bioperl is a good solution, or perhaps the backtick operator.

Log in to answer this question.