1
# $Id: isochore.pm,v 1.6 2006/07/04 22:23:34 mauricio Exp $
2
# BioPerl module for Bio::Tools::Run::PiseApplication::isochore
4
# Cared for by Catherine Letondal <letondal@pasteur.fr>
6
# For copyright and disclaimer see below.
8
# POD documentation - main docs before the code
12
Bio::Tools::Run::PiseApplication::isochore
20
Bio::Tools::Run::PiseApplication::isochore
24
ISOCHORE Plots isochores in large DNA sequences (EMBOSS)
30
http://bioweb.pasteur.fr/seqanal/interfaces/isochore.html
31
for available values):
39
sequence -- dna [single sequence] (-sequence)
46
Shift increment (-shift)
62
User feedback is an integral part of the evolution of this and other
63
Bioperl modules. Send your comments and suggestions preferably to
64
the Bioperl mailing list. Your participation is much appreciated.
66
bioperl-l@bioperl.org - General discussion
67
http://bioperl.org/wiki/Mailing_lists - About the mailing lists
71
Report bugs to the Bioperl bug tracking system to help us keep track
72
of the bugs and their resolution. Bug reports can be submitted via the
75
http://bugzilla.open-bio.org/
79
Catherine Letondal (letondal@pasteur.fr)
83
Copyright (C) 2003 Institut Pasteur & Catherine Letondal.
86
This module is free software; you can redistribute it and/or modify
87
it under the same terms as Perl itself.
91
This software is provided "as is" without warranty of any kind.
99
http://bioweb.pasteur.fr/seqanal/interfaces/isochore.html
103
Bio::Tools::Run::PiseApplication
107
Bio::Tools::Run::AnalysisFactory::Pise
111
Bio::Tools::Run::PiseJob
118
package Bio::Tools::Run::PiseApplication::isochore;
122
use Bio::Tools::Run::PiseApplication;
124
@ISA = qw(Bio::Tools::Run::PiseApplication);
129
Usage : my $isochore = Bio::Tools::Run::PiseApplication::isochore->new($location, $email, @params);
130
Function: Creates a Bio::Tools::Run::PiseApplication::isochore object.
131
This method should not be used directly, but rather by
132
a Bio::Tools::Run::AnalysisFactory::Pise instance.
133
my $factory = Bio::Tools::Run::AnalysisFactory::Pise->new();
134
my $isochore = $factory->program('isochore');
136
Returns : An instance of Bio::Tools::Run::PiseApplication::isochore.
141
my ($class, $location, $email, @params) = @_;
142
my $self = $class->SUPER::new($location, $email);
144
# -- begin of definitions extracted from /local/gensoft/lib/Pise/5.a/PerlDef/isochore.pm
146
$self->{COMMAND} = "isochore";
147
$self->{VERSION} = "5.a";
148
$self->{TITLE} = "ISOCHORE";
150
$self->{DESCRIPTION} = "Plots isochores in large DNA sequences (EMBOSS)";
152
$self->{OPT_EMAIL} = 0;
154
$self->{CATEGORIES} = [
156
"nucleic:composition",
159
$self->{DOCLINK} = "http://www.uk.embnet.org/Software/EMBOSS/Apps/isochore.html";
161
$self->{_INTERFACE_STANDOUT} = undef;
162
$self->{_STANDOUT_FILE} = undef;
164
$self->{TOP_PARAMETERS} = [
179
$self->{PARAMETERS_ORDER} = [
182
"input", # input Section
183
"sequence", # sequence -- dna [single sequence] (-sequence)
184
"advanced", # advanced Section
185
"window", # Window size (-window)
186
"shift", # Shift increment (-shift)
187
"output", # output Section
189
"graph", # graph (-graph)
200
"isochore" => 'String',
202
"input" => 'Paragraph',
203
"sequence" => 'Sequence',
204
"advanced" => 'Paragraph',
205
"window" => 'Integer',
206
"shift" => 'Integer',
207
"output" => 'Paragraph',
211
"psouput" => 'String',
212
"psresults" => 'Results',
213
"metaresults" => 'Results',
214
"dataresults" => 'Results',
215
"pngresults" => 'Results',
226
"perl" => '" -sequence=$value -sformat=fasta"',
231
"perl" => '(defined $value && $value != $vdef)? " -window=$value" : ""',
234
"perl" => '(defined $value && $value != $vdef)? " -shift=$value" : ""',
239
"perl" => '" -out=$value"',
242
"perl" => '($value)? " -graph=$value" : ""',
245
"perl" => '" -auto -stdout"',
248
"perl" => '" -goutfile=isochore"',
259
"perl" => '"isochore"',
264
$self->{FILENAMES} = {
265
"psresults" => '*.ps',
266
"metaresults" => '*.meta',
267
"dataresults" => '*.dat',
268
"pngresults" => '*.png *.2 *.3',
290
$self->{BY_GROUP_PARAMETERS} = [
314
$self->{ISHIDDEN} = {
334
$self->{ISCOMMAND} = {
353
$self->{ISMANDATORY} = {
374
"input" => "input Section",
375
"sequence" => "sequence -- dna [single sequence] (-sequence)",
376
"advanced" => "advanced Section",
377
"window" => "Window size (-window)",
378
"shift" => "Shift increment (-shift)",
379
"output" => "output Section",
380
"out" => "out (-out)",
381
"graph" => "graph (-graph)",
391
$self->{ISSTANDOUT} = {
412
"input" => ['sequence',],
413
"advanced" => ['window','shift',],
414
"output" => ['out','graph',],
415
"graph" => ['x11','x11','hp7470','hp7470','postscript','postscript','cps','cps','hp7580','hp7580','null','null','data','data','colourps','colourps','text','text','none','none','tek4107t','tek4107t','tekt','tekt','xwindows','xwindows','hpgl','hpgl','xterm','xterm','meta','meta','ps','ps','tek','tek','png','png','tektronics','tektronics',],
422
$self->{SEPARATOR} = {
430
"graph" => 'postscript',
435
"init" => { "perl" => '1' },
436
"input" => { "perl" => '1' },
437
"sequence" => { "perl" => '1' },
438
"advanced" => { "perl" => '1' },
439
"window" => { "perl" => '1' },
440
"shift" => { "perl" => '1' },
441
"output" => { "perl" => '1' },
442
"out" => { "perl" => '1' },
443
"graph" => { "perl" => '1' },
444
"auto" => { "perl" => '1' },
446
"perl" => '$graph eq "postscript" || $graph eq "ps" || $graph eq "colourps" || $graph eq "cps" || $graph eq "png"',
449
"perl" => '$graph eq "postscript" || $graph eq "ps" || $graph eq "colourps" || $graph eq "cps"',
452
"perl" => '$graph eq "meta"',
455
"perl" => '$graph eq "data"',
458
"perl" => '$graph eq "png"',
471
$self->{WITHPIPEOUT} = {
482
$self->{WITHPIPEIN} = {
505
$self->{ISSIMPLE} = {
524
$self->{PARAMFILE} = {
532
$self->{SCALEMIN} = {
536
$self->{SCALEMAX} = {
540
$self->{SCALEINC} = {
548
# -- end of definitions extracted from /local/gensoft/lib/Pise/5.a/PerlDef/isochore.pm
552
$self->_init_params(@params);
559
1; # Needed to keep compiler happy