[Bioperl-l] epcr to gff parser.

Jason Stajich jason at cgt.duhs.duke.edu
Wed Aug 13 11:50:56 EDT 2003


use Bio::Tools::GFF;

my $out = new Bio::Tools::GFF(-file => ">newfile.gff");
my $parser = new Bio::Tools::EPCR(-file => 'epcr_755_all.txt');
while( my $f = $parser->next_feature ) {
  $out->write_feature($f);
}
On Wed, 13 Aug 2003, Philip MacMenamin wrote:

> Hi,
>
> Appologies if this is silly question, but how would you parse an ePCR file
> and output a GFF file?
> I have been looking through bioPerl documentation and
>
> my $parser = new Bio::Tools::EPCR(-file => 'epcr_755_all.txt');
>
> Seems to look right for a start, but how do output GFF? I was looking at the
> SeqAnalysisParserFactoryI get_parser method, Im just not sure how this is all
> working. I dont really want to write my own parser, since im sure somthing is
> out there already...
>
> Thanks...
> _______________________________________________
> Bioperl-l mailing list
> Bioperl-l at portal.open-bio.org
> http://portal.open-bio.org/mailman/listinfo/bioperl-l
>

--
Jason Stajich
Duke University
jason at cgt.mc.duke.edu


More information about the Bioperl-l mailing list