Thought I'd jump in here as I've found the blast xml parser quite useful and have created a partial blast object backend to it.  It was one of those quick and dirty implementations as I needed it quickly, so the code isn't of biojava quality at the moment, but I plan to fix it up once I get more time.  I actually based the blast object on a refinement of the pharmatools blast object model, but unfortunately I didn't include all the aspects of the blast report as I only needed certain portions at the time.

I've found the blast object quite useful as I can add filters and generate custom output (html, SQL, or whatever) separate from the parsing and the object creation.

Simon Foote
-- 
Bioinformatics Specialist
Institute for Biological Sciences
National Research Council of Canada
[T] 613-991-4342  [F] 613-952-9092
 

David Huen wrote:
[EMAIL PROTECTED]">
On Mon, 11 Jun 2001, Ewan Birney wrote:

On Mon, 11 Jun 2001, Wiepert, Mathieu wrote:

You know, you are more than welcome to add any functionality you desire.
You have made a good point (as supported by Ewan), and besides that, no one
is going to stop you from adding functionality to the code base. This is
open source code, so be open and code...
Hear hear.

Though do try to maintain a separation between the xml parsing and the
backend object generation. I have found this separation VERY useful
recently when writing an XML parser. My GAME frontend feeds straight into
existing SeqIOListener backends allowing me to immediately instantiate
biojava objects. I was pleasantly surprised how fast and easy that
was. 300 KB of sequence plus annotations in a blink. Later, I can always
switch to direct entry to an SQL database without instantiating any
biojava objects in the process merely with a new backend.

But as for coding, I'd make a go of a blast object-making backend except
I've got plenty of windmills of my own to tilt at just now [large bribes
in brown paper bags can sway the priority... ;-) e.g., some hardware
to biojava org to run an experimental DAS server would do nicely...]. Do
look at the StAX framework of Thomas Down's. It's ever so nice for what
you pro! po! se.

Facetiously yours,
David Huen, Dept. of Genetics, Univ. of Cambridge, U.K.
P.S. Apologies for the commercial plug... I tend to be on the lookout for
innovative and possibly ridiculous opportunities to fund open source
developments.

_______________________________________________
Biojava-l mailing list - [EMAIL PROTECTED]
http://biojava.org/mailman/listinfo/biojava-l


      


Reply via email to