— — |
@ISA = qw(Bio::Tools::Run::PiseApplication) ;
sub new {
my ( $class , $location , $email , @params ) = @_ ;
my $self = $class ->SUPER::new( $location , $email );
$self ->{COMMAND} = "dssp" ;
$self ->{VERSION} = "5.a" ;
$self ->{TITLE} = "DSSP" ;
$self ->{DESCRIPTION} = "Definition of secondary structure of proteins given a set of 3D coordinates" ;
$self ->{OPT_EMAIL} = 0;
$self ->{AUTHORS} = "W.Kabsch, C. Sander" ;
$self ->{REFERENCE} = [
"Kabsch,W. and Sander,C. (1983) Biopolymers 22, 2577-2637." ,
];
$self ->{_INTERFACE_STANDOUT} = undef ;
$self ->{_STANDOUT_FILE} = undef ;
$self ->{TOP_PARAMETERS} = [
"dssp" ,
"pdbfile" ,
"pdbid" ,
"output" ,
"outfile" ,
];
$self ->{PARAMETERS_ORDER} = [
"dssp" ,
"pdbfile" ,
"pdbid" ,
"output" ,
"surface" ,
"classic" ,
"outfile" ,
];
$self ->{TYPE} = {
"dssp" => 'String' ,
"pdbfile" => 'InFile' ,
"pdbid" => 'String' ,
"output" => 'Paragraph' ,
"surface" => 'Switch' ,
"classic" => 'Switch' ,
"outfile" => 'Results' ,
};
$self ->{FORMAT} = {
"dssp" => {
"seqlab" => 'dssp' ,
"perl" => '"dssp"' ,
},
"pdbfile" => {
"perl" => '($pdbid)? " -- " : " $value"' ,
},
"pdbid" => {
"perl" => '(($value =~ tr/A-Z/a-z/) || $value)? "pdbloc $value | xargs cat | " : "" ' ,
},
"output" => {
},
"surface" => {
"perl" => ' ($value)? " -na" : "" ' ,
},
"classic" => {
"perl" => ' ($value)? " -c" : "" ' ,
},
"outfile" => {
},
};
$self ->{FILENAMES} = {
"outfile" => '*.out' ,
};
$self ->{SEQFMT} = {
};
$self ->{GROUP} = {
"dssp" => 0,
"pdbfile" => 10,
"pdbid" => -10,
"surface" => 1,
"classic" => 1,
};
$self ->{BY_GROUP_PARAMETERS} = [
"pdbid" ,
"dssp" ,
"outfile" ,
"output" ,
"classic" ,
"surface" ,
"pdbfile" ,
];
$self ->{SIZE} = {
};
$self ->{ISHIDDEN} = {
"dssp" => 1,
"pdbfile" => 0,
"pdbid" => 0,
"output" => 0,
"surface" => 0,
"classic" => 0,
"outfile" => 0,
};
$self ->{ISCOMMAND} = {
"dssp" => 1,
"pdbfile" => 0,
"pdbid" => 0,
"output" => 0,
"surface" => 0,
"classic" => 0,
"outfile" => 0,
};
$self ->{ISMANDATORY} = {
"dssp" => 0,
"pdbfile" => 0,
"pdbid" => 0,
"output" => 0,
"surface" => 0,
"classic" => 0,
"outfile" => 0,
};
$self ->{PROMPT} = {
"dssp" => "" ,
"pdbfile" => "PDB File" ,
"pdbid" => "or you can instead enter a PDB id." ,
"output" => "Output parameters" ,
"surface" => "Disables the calculation of accessible surface (-na)" ,
"classic" => "Classic (pre-July 1995) format (-c)" ,
"outfile" => "" ,
};
$self ->{ISSTANDOUT} = {
"dssp" => 0,
"pdbfile" => 0,
"pdbid" => 0,
"output" => 0,
"surface" => 0,
"classic" => 0,
"outfile" => 0,
};
$self ->{VLIST} = {
"output" => [ 'surface' , 'classic' ,],
};
$self ->{FLIST} = {
};
$self ->{SEPARATOR} = {
};
$self ->{VDEF} = {
"surface" => '0' ,
"classic" => '0' ,
};
$self ->{PRECOND} = {
"dssp" => { "perl" => '1' },
"pdbfile" => { "perl" => '1' },
"pdbid" => { "perl" => '1' },
"output" => { "perl" => '1' },
"surface" => { "perl" => '1' },
"classic" => { "perl" => '1' },
"outfile" => { "perl" => '1' },
};
$self ->{CTRL} = {
"pdbfile" => {
"perl" => {
'! ($pdbid || $pdbfile)' => "You must enter either the PDB data or the PDB id" ,
},
},
};
$self ->{PIPEOUT} = {
"outfile" => {
'1' => "dssp_outfile" ,
},
};
$self ->{WITHPIPEOUT} = {
};
$self ->{PIPEIN} = {
"pdbfile" => {
"pdbfile" => '1' ,
},
};
$self ->{WITHPIPEIN} = {
};
$self ->{ISCLEAN} = {
"dssp" => 0,
"pdbfile" => 0,
"pdbid" => 0,
"output" => 0,
"surface" => 0,
"classic" => 0,
"outfile" => 0,
};
$self ->{ISSIMPLE} = {
"dssp" => 1,
"pdbfile" => 1,
"pdbid" => 1,
"output" => 0,
"surface" => 0,
"classic" => 0,
"outfile" => 0,
};
$self ->{PARAMFILE} = {
};
$self ->{COMMENT} = {
};
$self ->{SCALEMIN} = {
};
$self ->{SCALEMAX} = {
};
$self ->{SCALEINC} = {
};
$self ->{INFO} = {
};
$self ->_init_params( @params );
return $self ;
}
1;
|