Method 
base_information_content 
 
Classpackage  
G::Seq::Consensus; 
 
 
Function 
Calculates the informational content of base_counter 
 
 
Description 
By recieving the returned result of base_counter,this method calculates the increasing information amount 
from the start/end codon.  The increasing information amount is caluculated per position from the 
start/end codon. 
 
Requirements 
  applications   
SubOpt.pm 
 
 
applications 
none 
 
data 
none 
 
Parameters 
essential 
 
first     pointer G_instance            G's instance 
 
option 
output    string  [stdout/f/g/show]     default=stdout  
filename  string   file_name            default=consensus.csv  
PatLength int      pattern length       default=3 
upstream  int      upstream             default=30 
downstream int     downstream           default=30 
position   string  position             default=end 
 
Returns 
first     variable    result     pointer of the array 
 
Usage 
(array result)=&base_information_content(hash base_counter_result,   output=>"show",filename=>"consensus.csv",PatLength=>3,upstream=>30,downstream=>30,position=>"end"); 
 
Input file  
csv file in text format 
 
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 
Written 23 June  2001 - Koya Mori