[Biojava-l] Reading a fasta file which is not encoded in ansi

Ilhami Visne ilhami.visne at gmail.com
Fri Apr 28 09:29:07 UTC 2006

i got a file in fasta format, which is not encoded in ansi. but it seems ok.
it can be downloaded here:
i tried to read it with SeqIOTools.readFastaDNA and this exception was

org.biojava.bio.BioException: Could not read sequence
    at org.biojava.bio.seq.io.StreamReader.nextSequence(StreamReader.java
Caused by: java.io.IOException: Stream does not appear to contain FASTA
formatted data: ÿþ>
 at org.biojava.bio.seq.io.StreamReader.nextSequence (StreamReader.java:101)

"ÿþ>" there is no row like this but it seems it is hidden.

How should i handle such files?

thax in advance.

More information about the Biojava-l mailing list