|
|
Choosing A Webhost: |
Re: Reading a fasta file which is not encoded in ansi: msg#00043java.bio.general
I've no idea what binary format that file is in - it contains some very strange characters. It appears to contain _some_ ANSI data but with extra binary bits added to the start and end. I think you need to check the program that generated the file as it is obviously not doing what it is supposed to. Your best bet is to convert the file to ANSI or some other format understood out-of-the-box by Java. cheers, Richard On Fri, 2006-04-28 at 11:09 +0200, Ilhami Visne wrote: > i got a file in fasta format, which is not encoded in ansi. but it seems ok. > it can be downloaded here: http://stud3.tuwien.ac.at/~e0125935/try3.fasta > i tried to read it with SeqIOTools.readFastaDNA and this exception was > thrown: > > org.biojava.bio.BioException: Could not read sequence > at org.biojava.bio.seq.io.StreamReader.nextSequence(StreamReader.java > :104) > .............. > .............. > Caused by: java.io.IOException: Stream does not appear to contain FASTA > formatted data: ÿþ> > org.biojava.bio.seq.io.FastaFormat.readSequence(FastaFormat.java:112) > 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. > > _______________________________________________ > Biojava-l mailing list - Biojava-l@xxxxxxxxxxxxxxxxxx > http://lists.open-bio.org/mailman/listinfo/biojava-l > -- Richard Holland (BioMart Team) EMBL-EBI Wellcome Trust Genome Campus Hinxton Cambridge CB10 1SD UNITED KINGDOM Tel: +44-(0)1223-494416 _______________________________________________ Biojava-l mailing list - Biojava-l@xxxxxxxxxxxxxxxxxx http://lists.open-bio.org/mailman/listinfo/biojava-l
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Reading a fasta file which is not encoded in ansi, Ilhami Visne |
|---|---|
| Next by Date: | Reading a fasta file which is not encoded in ansi, Ilhami Visne |
| Previous by Thread: | Reading a fasta file which is not encoded in ansi, Ilhami Visne |
| Next by Thread: | Re: Reading a fasta file which is not encoded in ansi, Richard Holland |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |
Home
| advertise | OSDir is
an inevitable website.
|