Re: [Biojava-l] Parser failure

2002-05-24 Thread Chun-Nuan Chen
Andrey, I compared the latest CVS checkout with one checked out a few days ago. Some changes has been made to fixed the ArrayIndexOutOfBoundsException problem: --- 700c700,701 < for (int i = 0; i < TAG_LENGTH; i++) --- > int len = Math.min(l.length, TAG_LENGTH)

[Biojava-l] Parser failure

2002-05-22 Thread Andrey Zinovyev
Hi! What's wrong with this code: I've got a sequence in GenBank format from ftp://ncbi.nlm.nih.gov/genbank/genomes/C_elegans/CHR_I/worm_X.gbk and tried to parse it with this code: --- import org.biojava.bio.*; import org.biojava.bio.symbol.*; import org.biojava.bio.seq.*; im