[Biojava-l] Phrap output

Richard HOLLAND hollandr at gis.a-star.edu.sg
Wed Jun 15 21:41:43 EDT 2005

Nope, nothing exists yet for reading Phrap/ACE. If you do end up writing
your own parser, it'd be really great if you could contribute it to the
project too.

The way the BioJava file parsers work removes the need for an
XML-translation step. File parsers read file, then fire events to
listeners, eg. you could fire an event that says 'add another sequence',
or one that says 'assembly finished'. The listener uses the events to
construct the appropriate objects. When writing the file back out again
the same events are generated, and another listener receives them and
writes out the corresponding bits of file.

You'd also have to decide how to represent the assembly once it is in
memory. The interface org.biojava.seq.Assembly might be a good starting


Richard Holland
Bioinformatics Specialist
GIS extension 8199
This email is confidential and may be privileged. If you are not the
intended recipient, please delete it and notify us immediately. Please
do not copy or use it for any purpose, or disclose its content to any
other person. Thank you.

> -----Original Message-----
> From: biojava-l-bounces at portal.open-bio.org 
> [mailto:biojava-l-bounces at portal.open-bio.org] On Behalf Of 
> Avinash Kewalramani
> Sent: Thursday, June 16, 2005 3:35 AM
> To: biojava-l at biojava.org
> Subject: [Biojava-l] Phrap output
> Hi
> I need store some information from an ace assembly file(which 
> is Phrap 
> plain text output). To do this I will have to write my own parses to 
> parse this complicated text file.
> Is there any class In bioJava or anywhere else which does 
> this.The best 
> scenario would be if some code converts this file to xml output which 
> can be easily parsed
> I have looked around a bit in Biojava and elsewhere and couldn't find 
> anything for this. I dont want to use Perl(BioPerl probably has this)
> Thanks
> -- 
> ----------------------------------------------------------------------
> Avinash Kewalramani
> Technical Lead-Genome Informatics Group
> Bioscience Division
> Los Alamos National Laboratory 
> Los Alamos, NM 87545
> Phone: 505-664-0527
> Cell:  816-213-1908
> E-mail:  avinash at lanl.gov
> ----------------------------------------------------------------------
> _______________________________________________
> Biojava-l mailing list  -  Biojava-l at biojava.org
> http://biojava.org/mailman/listinfo/biojava-l

More information about the Biojava-l mailing list