Changeset 196
- Timestamp:
- 03/16/11 16:42:46 (14 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
plone4bio.base/trunk/src/plone4bio/base/png/perl/graphics.pm
r195 r196 81 81 peptide_coil => "aliceblue", 82 82 signal_peptide => "gold", 83 INIT_MET => "black", 84 REGION => "violet", 83 85 ); 84 86 … … 106 108 polyA_signal => 1, 107 109 repeat_region => 1, 110 HELIX => 1, 111 TURN => 1, 112 STRAND => 2, 108 113 ); 109 114 … … 160 165 rep_origin => \¬e_description, 161 166 variation => \¬e_description, 167 INIT_MET => \&description, 168 REGION => \&description, 162 169 ); 163 170 … … 247 254 -key => "${key}", 248 255 -key_color => "red", 249 -bump => $bumps{$tag}, 256 -bump => $bumps{$tag} || 5, 257 -bump_limit => 3, 258 -hbumppad => 5, 250 259 -height => 8, 251 260 #-description => \&gene_description, … … 284 293 my $name = 'graphicsmap'; 285 294 my $boxes = $panel->boxes; 295 my $pad_left_correction = 21; 286 296 # my (%track2link,%track2title,%track2target); 287 297 my $map = qq(<map name="$name" id="$name">\n); … … 471 481 return unless @notes; 472 482 substr($notes[0],40) = '...' if length $notes[0] > 40; 483 #print STDERR $notes[0]; 484 if ($notes[0] eq '_no_value') { 485 my $loc_start = $feature->start; 486 my $loc_end = $feature->end; 487 $notes[0] = "$loc_start-$loc_end" ; 488 } 473 489 $notes[0]; 474 490 }
