Project

General

Profile

Actions

Defect #8448

closed

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

Added by Robert McLeay almost 13 years ago. Updated almost 13 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
2011-05-27
Due date:
% Done:

0%

Estimated time:
Resolution:
Invalid
Affected version:

Description

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/BigWig.pm 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.

Thanks!

Actions #1

Updated by Etienne Massip almost 13 years ago

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

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

Actions

Also available in: Atom PDF