Errors with getblast/blastread built-in functions
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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
0 comentarios
Respuestas (1)
Bruno Pop-Stefanov
el 22 de Oct. de 2014
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?
0 comentarios
Ver también
Categorías
Más información sobre Call Web Services from MATLAB Using HTTP en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!