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

Diff of /FigWebServices/legionella_v4.cgi

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

revision 1.2, Thu Feb 9 20:42:46 2006 UTC revision 1.3, Thu Feb 9 21:29:04 2006 UTC
# Line 416  Line 416 
416            if ($ar eq $dr){ $add = 0}            if ($ar eq $dr){ $add = 0}
417        }        }
418        if($add){        if($add){
           print OUT2 "<h5 STYLE='position: absolute; top:$top; left:$left'><font Color='red'><a href='http://theseed.uchicago.edu/FIG/protein.cgi?prot=$fid&user='>$alias</a></font></h5>\n";  
           $left = $left + 50;  
419            $tag = $rid_to_tag{$ar};            $tag = $rid_to_tag{$ar};
420            #print OUT2 "<h5 STYLE='position: absolute; top:$top; left:$left'><font Color='red'><a href='http://www.genome.jp/dbget-bin/www_bget?rn+$ar'>$tag</font></h5>\n";           $spot_url = $alias_to_spot_url{$alias};
421             if($tag < .10){$color ="#009900" }
422             elsif($tag < .25){$color ="#0CC00" }
423             elsif($tag < .50){$color ="#00FF00" }
424             elsif($tag < 2){$color ="#CCFF00" }
425             elsif($tag < 20){$color ="#FF00FF" }
426             elsif($tag < 40){$color ="#FF00CC" }
427             elsif($tag < 60){$color ="#FF0099" }
428             elsif($tag < 80){$color ="#FF0066" }
429             elsif($tag < 100){$color ="#FF0033" }
430             else{$color ="#FF0000" }
431    
432            print OUT2 "<h5 STYLE='position: absolute; top:$top; left:$left'><a href='http://theseed.uchicago.edu/FIG/protein.cgi?prot=$fid&user='><font Color='$color'>$alias</font></a></h5>\n";
433    
434            $left = $left + 50;
435            print OUT2 "<h5 STYLE='position: absolute; top:$top; left:$left'><a href='$spot_url'><font Color='$color'>$tag</font></h5>\n";
436    
437            $left = $left + 50;
438            $exp_url = $alias_to_exp_url{$alias};
439            print OUT2 "<h5 STYLE='position: absolute; top:$top; left:$left'><a href='$exp_url'><font Color='$color'>test_exp</font></h5>\n";
440    
441            $left = $left + 50;
442            print OUT2 "<h5 STYLE='position: absolute; top:$top; left:$left'><a href='http://www.genome.jp/dbget-bin/www_bget?rn+$ar'><font Color='$color'>$ar</font></h5>\n";
443    
444            $top = $top + 25;            $top = $top + 25;
445            if($top > 1000){$top = 100; $start_left = $start_left + 100}          if($top > 2000){$top = 100; $start_left = $start_left + 400}
446        }        }
447    }    }
448    

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3