Subject: | Error in gbrowse2: Method abs_ref missing |
While trying to load a custom track in gff-format the following error occurs:
Can't locate object method "abs_ref" via package "Bio::DB::Sam::Segment"
Please include the following or another workaround in Bio::DB::Sam::Segment
# required by api
sub abs_ref { shift->seq_id }
Best regards,
Marc
Subject: | patch.txt |
--- Segment.pm.bak 2009-10-19 16:12:09.000000000 +0200
+++ Segment.pm 2009-10-19 17:33:11.000000000 +0200
@@ -81,5 +81,7 @@
sub score { return; }
# required by api
sub class { 'sequence' }
+# required by api
+sub abs_ref { shift->seq_id }
1;