[Bioperl-l] graphics - Panel

Bernd Web bernd.web at gmail.com
Thu Dec 6 14:58:31 UTC 2007


Hi,

For map $segstart is available. This holds the left most start of the
feature (The left end of $ref displayed in the detailed view).
However, is it accessible also for track coderefs?
I'd like to access it in add_track, like
  -bgcolor => sub {
 				my $feature = shift;
                                my $start = $feature->segstart;			
                                 ....
                                 do something with the segstart
                                  },

I realize I can add a -tag which holds the left most start of by
segmented feature, and then get it out in from $feature, but I wonder
if the $segstart can also be accessed in the coderef some how.

Does someone know this?

Best regards,
Bernd



More information about the Bioperl-l mailing list