[Bioperl-l] An error in the SYNOPSIS of Bio::FeatureIO::bed

Brian Osborne bosborne11 at verizon.net
Tue Mar 12 15:04:36 UTC 2013


Yichao,

Fixed. Thank you for pointing that out.

Brian O.


On Mar 7, 2013, at 5:52 PM, yichao li <liyc1989 at gmail.com> wrote:

> 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
> _______________________________________________
> Bioperl-l mailing list
> Bioperl-l at lists.open-bio.org
> http://lists.open-bio.org/mailman/listinfo/bioperl-l




More information about the Bioperl-l mailing list