[Bio] / FigWebServices / feature.cgi Repository:
ViewVC logotype

Diff of /FigWebServices/feature.cgi

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.6, Mon Dec 5 19:12:12 2005 UTC revision 1.7, Sun Jun 25 03:27:17 2006 UTC
# Line 175  Line 175 
175    
176      if ($loc = $fig->feature_location($peg))      if ($loc = $fig->feature_location($peg))
177      {      {
178          my($contig,$beg,$end) = &FIG::boundaries_of($loc);      my($contig,$beg,$end) = $fig->boundaries_of($loc);
179          my $min = &FIG::max(0,&FIG::min($beg,$end) - $half_sz);          my $min = &FIG::max(0,&FIG::min($beg,$end) - $half_sz);
180          my $max = &FIG::max($beg,$end) + $half_sz;          my $max = &FIG::max($beg,$end) + $half_sz;
181          my($feat,$min,$max) = $fig->genes_in_region(&FIG::genome_of($peg),$contig,$min,$max);          my($feat,$min,$max) = $fig->genes_in_region(&FIG::genome_of($peg),$contig,$min,$max);

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3