4 CXGN::Cview::Marker::FISHMarker - a class for drawing fished BACs.
8 Inherits from L<CXGN::Cview::Marker>. Deals with displaying FISH markers on the pachytene chromosomes. Work pretty much like other marker objects, the main difference being how the offset is being represented: The unit is percent, not cM, and the distances are measured from the centromere. On the short arm (top arm), the percent values are given as negative values, on the long (bottom) arm, the values are positive.
12 See also the documentation in L<CXGN::Cview>.
16 Lukas Mueller (lam87@cornell.edu)
26 use CXGN
::Cview
::Marker
;
28 package CXGN
::Cview
::Marker
::FISHMarker
;
30 use base
qw( CXGN::Cview::Marker );
34 my $self = $class -> SUPER
::new
(@_);
38 =head2 function set_offset()
40 Sets the offset in percent. Legal range -100 .. +100. Negative offset is drawn on the short arm,
41 positive offset is drawn on the long arm.
48 if (abs($offset)>100) {
49 warn "CXGN::Cview::Marker::FISH_marker::set_offset: warning, abs(offset) [$offset] > 100\n";
51 $self->SUPER::set_offset
($offset);
54 # always return a constant color, such as light green, for the FISH marker colors.
55 # and for the label... So we override some marker functions here.
62 sub get_label_line_color
{