tucano has asked for the wisdom of the Perl Monks concerning the following question:
#!/usr/bin/perl use strict; use Bio::DB::GFF; my $db = Bio::DB::GFF->new(-user => 'bio', -pass => 'bio', -dsn => 'elegans', -aggregators => 'gene_model{coding_exon,5_ +UTR,3_UTR/CDS}'); my $gene_stream = $db->get_seq_stream('gene_model:curated'); while (my $gene = $gene_stream->next_seq) { print $gene->name,"\n"; for my $part ($gene->get_SeqFeatures) { print "\t",join("\t",$part->method,$part->start,$part->end),"\n"; } print "\n"; }
2L52.1 ------------- EXCEPTION Bio::Root::NotImplemented ------------- MSG: Abstract method "Bio::FeatureHolderI::get_SeqFeatures" is not imp +lemented by package Bio::DB::GFF::Feature. This is not your fault - author of Bio::DB::GFF::Feature should be bla +med!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: BioPerl Question
by duff (Parson) on Jun 03, 2004 at 15:54 UTC | |
by tucano (Scribe) on Jun 03, 2004 at 15:56 UTC | |
|
Re: BioPerl Question
by stajich (Chaplain) on Jun 04, 2004 at 15:20 UTC | |
by tucano (Scribe) on Jun 05, 2004 at 11:30 UTC | |
by stajich (Chaplain) on Jun 05, 2004 at 13:36 UTC | |
by tucano (Scribe) on Jun 07, 2004 at 16:50 UTC |