[Bioperl-l] XML Blast parsing?
Todd Richmond
todd@andrew2.stanford.edu
Fri, 25 May 2001 09:43:31 -0700
Anybody working on XML Blast parsing? I've written a small hack with
XML::Simple for parsing single Blast XML files, but it would be nice to
incorporate this into bioperl in a more seamless way, like say:
my @params = ('database' => $database, 'program' => 'blastx',
'format' => 'XML', '_READMETHOD' => 'BlastXML');
my $factory = Bio::Tools::Run::StandAloneBlast->new(@params);
If I wanted to do this, is it best to try to incorporate it like this? I'm
thinking it would be relatively easy to duplicate the current Blast parser
because the majority of the work there seems to be finding the right regular
expression to correctly parse the report (which the XML format should
eliminate). Or am I being too naïve?
Todd
--
Todd Richmond http://cellwall.stanford.edu/todd
Carnegie Institution email: todd@andrew2.stanford.edu
Department of Plant Biology fax: 1-650-325-6857
260 Panama Street phone: 1-650-325-1521 x431
Stanford, CA 94305