Method 
cai 
 
Classpackage  
package G::Seq::CAI; 
 
 
Function 
Calculates CAI values for each genes, and inputs in the G instance. 
  
 
Description 
Calculates CAI values for each genes, and inputs in the G instance. 
i.e. cai values will be accessible at $gb->{"CDS$i"}->{cai}; 
Option -w_filename is the filename to output the W values. 
-w_output is the output option for W value.   
 
Requirements 
sub w_value() 
 
applications 
none 
 
data 
none 
 
Parameters 
essential 
 
first     pointer  G instance     G's instance 
 
option 
 
 
output        string  [stdout or f]    default=stdout 
w_output      string  [stdout or f]    default=stdout 
w_filename    string    w_filename     default="w_value.cvs" 
 
Returns 
first      NULL     ????? 
 
 
Usage 
NULL = &cai(pointer G instance, -output=>'stdout', -w_output=>'stdout',  -w_filename=>'w_value.cvs'); 
 
Input file  
none 
 
 
Output file  
csv file in text format 
 
References 
none  
 
Comments 
none 
 
Authors 
This method was written by Kazuharu Arakawa(gaou@g-language.org) at Institute for Advanced Biosciences Keio Univ.  
 
 
History 
Written 30 August  2001 - Kazuharu Arakawa