Bio-FeatureIO

 view release on metacpan or  search on metacpan

lib/Bio/FeatureIO/gff.pm  view on Meta::CPAN

  return @toplevel_feats;
}

=head2 next_seq()

access the FASTA section (if any) at the end of the GFF stream.  note that this method
will return undef if not all features in the stream have been handled

=cut

sub next_seq() {
  my $self = shift;
  return unless $self->fasta_mode();

  #first time next_seq has been called.  initialize Bio::SeqIO instance
  if(!$self->seqio){
    $self->seqio( Bio::SeqIO->new(-format => 'fasta', -fh => $self->_fh()) );
  }
  return $self->seqio->next_seq();
}



( run in 0.589 second using v1.01-cache-2.11-cpan-65fba6d93b7 )