Vaneet Lotay
2015-02-04 23:19:45 UTC
I was trying to load several BigWig files from an external collaborator into our GBrowse and some of them displayed correctly while some of them couldn't display correctly due to an error. The ones that didn't load all came up with this error:
.....rendering error track: Illegal division by zero at /usr/local/share/perl5/Bio/Graphics/Glyph/wiggle_data.pm line 420. at /usr/local/lib64/perl5/Bio/Graphics/Browser2/Render.pm line 3693., referer: http://.....
I have successfully installed the Bio::DB::BigWig and Bio::DB::BigWigSet modules so there's nothing wrong there. Even if I change the glyph, the exact same error occurs except in that respective graph module instead of wiggle_data.pm. I unpacked some of these BigWig files to see their contents and it appears they more closely follow a bedGraph format as opposed to wiggle:
#bedGraph section Chr01:82-481773
Chr01 82 242 0.147608
Chr01 446 466 0.147608
Chr01 466 606 0.295216
Chr01 606 626 0.147608
Chr01 1267 1427 0.147608
Chr01 1782 1942 0.147608
Chr01 6055 6076 0.147608
Chr01 6076 6213 0.295216
.......
No header line is present in any of these files which is also weird as I thought that was required but it doesn't seem to affect the display of the other BigWig files which have an identical format underneath. I'm thinking it must be something in the content of the file but nothing obvious stands out and there isn't really a pattern to the files that do display and those that don't.
Please help if any of you have encountered this error before.
Thanks,
Vaneet
.....rendering error track: Illegal division by zero at /usr/local/share/perl5/Bio/Graphics/Glyph/wiggle_data.pm line 420. at /usr/local/lib64/perl5/Bio/Graphics/Browser2/Render.pm line 3693., referer: http://.....
I have successfully installed the Bio::DB::BigWig and Bio::DB::BigWigSet modules so there's nothing wrong there. Even if I change the glyph, the exact same error occurs except in that respective graph module instead of wiggle_data.pm. I unpacked some of these BigWig files to see their contents and it appears they more closely follow a bedGraph format as opposed to wiggle:
#bedGraph section Chr01:82-481773
Chr01 82 242 0.147608
Chr01 446 466 0.147608
Chr01 466 606 0.295216
Chr01 606 626 0.147608
Chr01 1267 1427 0.147608
Chr01 1782 1942 0.147608
Chr01 6055 6076 0.147608
Chr01 6076 6213 0.295216
.......
No header line is present in any of these files which is also weird as I thought that was required but it doesn't seem to affect the display of the other BigWig files which have an identical format underneath. I'm thinking it must be something in the content of the file but nothing obvious stands out and there isn't really a pattern to the files that do display and those that don't.
Please help if any of you have encountered this error before.
Thanks,
Vaneet