Errors with getblast/blastread built-in functions

4 ビュー (過去 30 日間)
Aneesh
Aneesh 2014 年 10 月 21 日
回答済み: Bruno Pop-Stefanov 2014 年 10 月 22 日
Hi,
I'm trying to retrieve a BLAST job that I submitted through the web interface (not from MATLAB). I have the RID, and when I run even the simple function:
data = getblast(RID)
I am consistently returned with the following error:
Attempted to access stats_start(0); index must be a positive integer or logical.
Error in blastread (line 125) statstext = blasttext(stats_start(size(stats_start,1)):size(blasttext,2));
Error in getblast (line 218) blastdata = blastread(blasttext);
Of course, if I run simply blastread with a local copy of the report, I also see the same error. Does anybody have any ideas as to how I can troubleshoot this? Thanks so much in advance!
Aneesh

回答 (1 件)

Bruno Pop-Stefanov
Bruno Pop-Stefanov 2014 年 10 月 22 日
What release of Bioinformatics Toolbox are you using?
There was a bug in R2009a and earlier in which the blastread function did not handle server errors on the NCBI side correctly in that it still tried to parse the report, resulting in the same error as you are getting. This bug was fixed in R2009b.
Is there a way you could check whether the report is correct and does not contain any error?

カテゴリ

Help Center および File ExchangeData Import and Export についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by