[Bio] / FigKernelPackages / FIG.pm Repository:
ViewVC logotype

Diff of /FigKernelPackages/FIG.pm

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

revision 1.582, Fri Apr 27 22:12:28 2007 UTC revision 1.583, Sat Apr 28 15:50:12 2007 UTC
# Line 2706  Line 2706 
2706  hash that contains nucleotide triplets as keys and has protein letters as values.  hash that contains nucleotide triplets as keys and has protein letters as values.
2707    
2708  =cut  =cut
2709    
2710    sub genetic_code {
2711        my ($ncbi_genetic_code_num) = @_;
2712        my $code = &FIG::standard_genetic_code();
2713    
2714        if ($ncbi_genetic_code_num == 4) {
2715            $code->{TGA} = 'W';
2716        }
2717    
2718        return $code;
2719    }
2720    
2721  #: Return Type $;  #: Return Type $;
2722  sub standard_genetic_code {  sub standard_genetic_code {
2723    

Legend:
Removed from v.1.582  
changed lines
  Added in v.1.583

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3