— — |
@ISA = qw(Bio::Tools::Run::PiseApplication) ;
sub new {
my ( $class , $location , $email , @params ) = @_ ;
my $self = $class ->SUPER::new( $location , $email );
$self ->{COMMAND} = "tmap" ;
$self ->{VERSION} = "5.a" ;
$self ->{TITLE} = "TMAP" ;
$self ->{DESCRIPTION} = "Displays membrane spanning regions (EMBOSS)" ;
$self ->{OPT_EMAIL} = 0;
$self ->{CATEGORIES} = [
"protein:2d structure" ,
];
$self ->{_INTERFACE_STANDOUT} = undef ;
$self ->{_STANDOUT_FILE} = undef ;
$self ->{TOP_PARAMETERS} = [
"tmap" ,
"init" ,
"input" ,
"output" ,
"auto" ,
"psouput" ,
"psresults" ,
"metaresults" ,
"dataresults" ,
"pngresults" ,
];
$self ->{PARAMETERS_ORDER} = [
"tmap" ,
"init" ,
"input" ,
"msf" ,
"output" ,
"graph" ,
"outfile" ,
"auto" ,
"psouput" ,
"psresults" ,
"metaresults" ,
"dataresults" ,
"pngresults" ,
];
$self ->{TYPE} = {
"tmap" => 'String' ,
"init" => 'String' ,
"input" => 'Paragraph' ,
"msf" => 'Sequence' ,
"output" => 'Paragraph' ,
"graph" => 'Excl' ,
"outfile" => 'OutFile' ,
"auto" => 'String' ,
"psouput" => 'String' ,
"psresults" => 'Results' ,
"metaresults" => 'Results' ,
"dataresults" => 'Results' ,
"pngresults" => 'Results' ,
};
$self ->{FORMAT} = {
"init" => {
"perl" => ' "" ' ,
},
"input" => {
},
"msf" => {
"perl" => '" -msf=$value -sformat=fasta"' ,
},
"output" => {
},
"graph" => {
"perl" => '($value)? " -graph=$value" : ""' ,
},
"outfile" => {
"perl" => '($value && $value ne $vdef)? " -outfile=$value" : ""' ,
},
"auto" => {
"perl" => '" -auto -stdout"' ,
},
"psouput" => {
"perl" => '" -goutfile=tmap"' ,
},
"psresults" => {
},
"metaresults" => {
},
"dataresults" => {
},
"pngresults" => {
},
"tmap" => {
"perl" => '"tmap"' ,
}
};
$self ->{FILENAMES} = {
"psresults" => '*.ps' ,
"metaresults" => '*.meta' ,
"dataresults" => '*.dat' ,
"pngresults" => '*.png *.2 *.3' ,
};
$self ->{SEQFMT} = {
"msf" => [8],
};
$self ->{GROUP} = {
"init" => -10,
"msf" => 1,
"graph" => 2,
"outfile" => 3,
"auto" => 4,
"psouput" => 100,
"tmap" => 0
};
$self ->{BY_GROUP_PARAMETERS} = [
"init" ,
"input" ,
"tmap" ,
"output" ,
"psresults" ,
"metaresults" ,
"dataresults" ,
"pngresults" ,
"msf" ,
"graph" ,
"outfile" ,
"auto" ,
"psouput" ,
];
$self ->{SIZE} = {
};
$self ->{ISHIDDEN} = {
"init" => 1,
"input" => 0,
"msf" => 0,
"output" => 0,
"graph" => 0,
"outfile" => 0,
"auto" => 1,
"psouput" => 1,
"psresults" => 0,
"metaresults" => 0,
"dataresults" => 0,
"pngresults" => 0,
"tmap" => 1
};
$self ->{ISCOMMAND} = {
"init" => 0,
"input" => 0,
"msf" => 0,
"output" => 0,
"graph" => 0,
"outfile" => 0,
"auto" => 0,
"psouput" => 0,
"psresults" => 0,
"metaresults" => 0,
"dataresults" => 0,
"pngresults" => 0,
};
$self ->{ISMANDATORY} = {
"init" => 0,
"input" => 0,
"msf" => 1,
"output" => 0,
"graph" => 0,
"outfile" => 0,
"auto" => 0,
"psouput" => 0,
"psresults" => 0,
"metaresults" => 0,
"dataresults" => 0,
"pngresults" => 0,
};
$self ->{PROMPT} = {
"init" => "" ,
"input" => "input Section" ,
"msf" => "Sequences file to be read in (-msf)" ,
"output" => "output Section" ,
"graph" => "graph (-graph)" ,
"outfile" => "outfile (-outfile)" ,
"auto" => "" ,
"psouput" => "" ,
"psresults" => "" ,
"metaresults" => "" ,
"dataresults" => "" ,
"pngresults" => "" ,
};
$self ->{ISSTANDOUT} = {
"init" => 0,
"input" => 0,
"msf" => 0,
"output" => 0,
"graph" => 0,
"outfile" => 0,
"auto" => 0,
"psouput" => 0,
"psresults" => 0,
"metaresults" => 0,
"dataresults" => 0,
"pngresults" => 0,
};
$self ->{VLIST} = {
"input" => [ 'msf' ,],
"output" => [ 'graph' , 'outfile' ,],
"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' ,],
};
$self ->{FLIST} = {
};
$self ->{SEPARATOR} = {
};
$self ->{VDEF} = {
"graph" => 'postscript' ,
"outfile" => 'tmap.res' ,
};
$self ->{PRECOND} = {
"init" => { "perl" => '1' },
"input" => { "perl" => '1' },
"msf" => { "perl" => '1' },
"output" => { "perl" => '1' },
"graph" => { "perl" => '1' },
"outfile" => { "perl" => '1' },
"auto" => { "perl" => '1' },
"psouput" => {
"perl" => '$graph eq "postscript" || $graph eq "ps" || $graph eq "colourps" || $graph eq "cps" || $graph eq "png"' ,
},
"psresults" => {
"perl" => '$graph eq "postscript" || $graph eq "ps" || $graph eq "colourps" || $graph eq "cps"' ,
},
"metaresults" => {
"perl" => '$graph eq "meta"' ,
},
"dataresults" => {
"perl" => '$graph eq "data"' ,
},
"pngresults" => {
"perl" => '$graph eq "png"' ,
},
};
$self ->{CTRL} = {
};
$self ->{PIPEOUT} = {
};
$self ->{WITHPIPEOUT} = {
};
$self ->{PIPEIN} = {
"msf" => {
"seqsfile" => '1' ,
},
};
$self ->{WITHPIPEIN} = {
};
$self ->{ISCLEAN} = {
"init" => 0,
"input" => 0,
"msf" => 0,
"output" => 0,
"graph" => 0,
"outfile" => 0,
"auto" => 0,
"psouput" => 0,
"psresults" => 0,
"metaresults" => 0,
"dataresults" => 0,
"pngresults" => 0,
};
$self ->{ISSIMPLE} = {
"init" => 0,
"input" => 0,
"msf" => 1,
"output" => 0,
"graph" => 0,
"outfile" => 0,
"auto" => 0,
"psouput" => 0,
"psresults" => 0,
"metaresults" => 0,
"dataresults" => 0,
"pngresults" => 0,
};
$self ->{PARAMFILE} = {
};
$self ->{COMMENT} = {
"msf" => [
"File containing a sequence alignment" ,
],
};
$self ->{SCALEMIN} = {
};
$self ->{SCALEMAX} = {
};
$self ->{SCALEINC} = {
};
$self ->{INFO} = {
};
$self ->_init_params( @params );
return $self ;
}
1;
|