Defect #8448

Bio::DB::BigWig throws exception when a bin is requested that contains no data

Added by Robert McLeay about 11 years ago. Updated about 11 years ago.

Status:ClosedStart date:2011-05-27
Priority:NormalDue date:
Assignee:-% Done:


Target version:-
Resolution:Invalid Affected version:


I seem to have run across a bug in Bio::DB::BigWig, where if I request a region containing no data, I get the error:

Can't call method "next_seq" on an undefined value at /usr/local/lib/perl/5.10.1/Bio/DB/ line 658

Sample code to produce this is:

my $bin = $bw->features(-seq_id =>"$chr",
-start => 1,
-end => 100,
-type =>'bin');

It seems that so long as I request a region encompassing at least one base for which the WIG contains data, everything works as expected.



#1 Updated by Etienne Massip about 11 years ago

  • Status changed from New to Closed
  • Resolution set to Invalid

Not the right tracker, this one is for Redmine itself !

Also available in: Atom PDF