Method 
amino_counter 
 
Class 
G::Seq::Codon; 
 
 
Function 
Counts the number of aminos in CDS. 
 
Description 
This method counts the number of amino acids per CDS.  When the CDS 
is not specified, all aminoacids within the genome are counted and returned. 
 
Requirements 
modules   
SubOpt.pm 
GD.pm 
G::Messenger 
 
applications 
none 
 
data 
none 
 
Parameters 
essential 
 
first     pointer   Genome       G's instance 
 
option 
CDSid     string  key               default=" " 
filename  string  file_name         default=amino.csv 
output    string  [stdout or f]     default=stdout  
 
 
Returns 
first     pointer   result  The result 
 
 
Usage 
(pointer result)=&amino_counter(pointer Genome,  -CDSid=>' ', -filename=>'amino.csv',-output=>'stdout'); 
 
Input file  
none 
 
 
Output file  
csv file in text format 
 
References 
none  
 
Comments 
none 
 
Authors 
This method was written by Koya Mori(mory@g-language.org) at Institute for Advanced Biosciences Keio Univ.  
 
 
History