yichao li | 7 Mar 23:52 2013
Picon

An error in the SYNOPSIS of Bio::FeatureIO::bed

Hi,

            In the SYSNOPSIS, it says:

my $in =* Bio::FeatureIO(-format => 'bed', -file => 'file.bed');*
  for my $feat ($in->next_feature) {
    # do something with $feat (a Bio::SeqFeature::Annotated object)
  }

  my $out = Bio::FeatureIO(-format=>'bed');
  for my $feat ($seq->get_seqFeatures) {
    $out->write_feature($feat);
  }

Actually, it should be *Bio::FeatureIO->new(-format => 'bed', -file =>
'file.bed');*

If not, an error will occur.

------------------------------------
Best wishes,
Yichao
Ohio University Bioinformatics Lab
Phone: (740)-591-1289

Gmane