Method 
gcwin 
 
 
Class 
G::Seq::GCskew; 
 
 
Function 
Calculates the GC content. 
 
Description 
 
This program calculates the GC content. 
Option -window specifies window size to observe.  By setting -at to 1,  
 
AT content can be ovserved instead of the default GC content(0).  There  
 
are three output forms; f for file output in directory "data", g for  
 
graph output in directory "graph", and "show for graph output and  
 
display.  The option -filename is set to "g" for "gccwin.gif" and "f"  
 
for "gcwin.csv".   Option -application sets the application to open the  
 
gif image.   
 
 
Requirements 
modules   
SubOpt.pm 
Chart::Graph qw(gnuplot); 
 
applications 
GNUplot(http://www.cs.dartmouth.edu/gnuplot_info.html) 
 
data 
none 
 
Parameters 
essential 
 
first     pointer   sequence     ????? 
 
option 
window       int       window_size             default=10000 
at           boolean   at                      default= 0  
output       string    ["f", "g", or "show"]   default="show" 
application  string    application             default="gimp" 
filename     string    filename                default="gcwin.gif" 
 
Returns 
first     array    gcskew   array of gcskew 
 
 
Usage 
array gcskew = &gcwin(pointer sequence, -window=>10000, -at=>0,  
 
-output=>'show', -application=>'gimp', -filename=>'gcwin.gif'); 
 
Input file  
none 
 
Output file  
graph in gif format  
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 29 March   2001 - Kazuharu Arakawa 
Written 05 Sept    2001 - Kazuharu Arakawa