[Biojava-l] bug in GenbankFileFormer.java
Doug Passey
dpassey@u.washington.edu
Thu, 2 May 2002 09:47:06 -0700
i noticed an obscure bug, which i think is in the GenbankFileFormer class.
it happens when you try this:
GenbankFormat gf = new GenbankFormat();
gf.writeSequence(seq, System.out);
for a sequence which has a single 'n' in a position such that it ends up as
the last character in a line of sequence output(i.e. at some multiple of
60).
once this 'n' is printed, the sequence stops printing out after the start
position for the next line is printed. moving the position of the single 'n'
one place forward or backward in the sequence solves the problem. i'm very
new at biojava; so i thought i'd pass it along rather than diving in and
screwing up .... i mean fixing ... the code.
doug