Errors with getblast/blastread built-in functions

조회 수: 2 (최근 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 CenterFile Exchange에서 Call Web Services from MATLAB Using HTTP에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by