Home
Reading
Searching
Subscribe
Sponsors
Statistics
Posting
Contact
Spam
Lists
Links
About
Hosting
Filtering
Features Download
Marketing
Archives
FAQ
Blog
 
Gmane
From: yichao li <liyc1989 <at> gmail.com>
Subject: An error in the SYNOPSIS of Bio::FeatureIO::bed
Newsgroups: gmane.comp.lang.perl.bio.general
Date: Thursday 7th March 2013 22:52:18 UTC (over 3 years ago)
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
 
CD: 52ms