[Biojava-l] problem in format.writesequence for EmblLikeFormat

Keith James kdj@sanger.ac.uk
12 Jul 2002 15:39:05 +0100


>>>>> " " == saerts  <saerts@mailserv.esat.kuleuven.ac.be> writes:

     > Hello, There appears to be a problem when writing a sequence to
     > file in EMBL format, but only if it contains a multiple of 60
     > nucleotides (there are 60 nt's on each line) -> the last line
     > of nucleotides is not written and the nucleotide-count of the
     > last line is incorrect.

     > Example code and example sequence files below. The line from
     > 1141 to 1200 disappears.

Thanks for the report. I am away until the middle of next week. I will
look at it then. It should be quick to fix. I'll add a unit test so
that it doesn't happen again.

Keith

-- 

- Keith James <kdj@sanger.ac.uk> bioinformatics programming support -
- Pathogen Sequencing Unit, The Wellcome Trust Sanger Institute, UK -