comparison smina.xml @ 1:4bc2bd0a402c draft

planemo upload
author marpiech
date Mon, 29 Aug 2016 08:03:15 -0400
parents
children
comparison
equal deleted inserted replaced
0:c7b5489be955 1:4bc2bd0a402c
1 <tool id="smina" name="smina" version="0.1.0">
2 <stdio>
3 <exit_code range="1:" />
4 </stdio>
5 <command>
6 <![CDATA[
7 cat $receptor > receptor.pdbqt;
8 cat $ligand > ligand.pdbqt;
9 $__tool_directory__/tools/smina/smina.static
10 --receptor receptor.pdbqt
11 --ligand ligand.pdbqt
12
13 #if $flex
14 --flex $flex
15 #end if
16 #if $flexres
17 --flexres $flexres
18 #end if
19 #if $flexdist_ligand
20 --flexdist_ligand $flexdist_ligand
21 #end if
22 #if $flexdist
23 --flexdist $flexdist
24 #end if
25
26 --center_x $center_x
27 --center_y $center_y
28 --center_z $center_z
29 --size_x $size_x
30 --size_y $size_y
31 --size_z $size_z
32
33 #if $autobox_ligand
34 --autobox_ligand $autobox_ligand
35 #end if
36 #if $autobox_add
37 --autobox_add $autobox_add
38 #end if
39 #if $no_lig=="true"
40 --no_lig
41 #end if
42
43 --scoring $scoring
44 #if $custom_scoring
45 --custom_scoring $custom_scoring
46 #end if
47 #if $custom_atoms
48 --custom_atoms $custom_atoms
49 #end if
50 #if $score_only=="true"
51 --score_only
52 #end if
53 #if $local_only=="true"
54 --local_only
55 #end if
56 #if $minimize=="true"
57 --minimize
58 #end if
59 #if $randomize_only=="true"
60 --randomize_only
61 #end if
62 #if $minimize_iters
63 --minimize_iters $minimize_iters
64 #end if
65
66 --seed 1000 > $output;
67 cat $output > /tmp/ouput
68 ]]>
69 </command>
70 <inputs>
71 <param name="receptor" type="data" format="pdbqt" label="receptor: rigid part of the receptore" />
72 <param name="ligand" type="data" format="data" label="ligand: ligand(s)" />
73
74 <param name="flex" type="data" format="pdbqt" label="flex: flexible side chains, if any" optional="true" />
75 <param name="flexres" type="text" label="flexres: flexible side chains specified by comma separated list of chain:resid" optional="true" />
76 <param name="flexdist_ligand" type="data" format="data" label="flexdist_ligand: Ligand to use for flexdist" optional="true" />
77 <param name="flexdist" type="float" label="flexdist: set all side chains within specified distance to flexdist_ligand to flexible" optional="true" />
78
79 <param name="center_x" type="float" value="0" label="center_x: X coordinate of the center" />
80 <param name="center_y" type="float" value="0" label="center_y: Y coordinate of the center" />
81 <param name="center_z" type="float" value="0" label="center_z: Z coordinate of the center" />
82 <param name="size_x" type="integer" value="1" label="size_x: size in the X dimension" />
83 <param name="size_y" type="integer" value="1" label="size_y: size in the Y dimension" />
84 <param name="size_z" type="integer" value="1" label="size_z: size in the Z dimension" />
85
86 <param name="autobox_ligand" type="data" format="data" label="autobox_ligand: Ligand to use for autobox" optional="true" />
87 <param name="autobox_add" type="float" value="4" label="autobox_add: Amount of buffer space to add to auto-generated box text(default +4 on all six sides)" optional="true" />
88 <param name="no_lig" type="select" label="no_lig: no ligand; for sampling/minimizing flexible residues (Type true if you want to use it)" optional="true">
89 <option value="false" selected="true">Don't use this option</option>
90 <option value="true">Use this option</option>
91 </param>
92
93 <param name="scoring" type="select" label="scoring: specify alternative builtin scoring function" optional="true">
94 <option value="default" selected="true">default</option>
95 <option value="ad4_scoring">ad4_scoring</option>
96 <option value="dkoes_fast">dkoes_fast</option>
97 <option value="dkoes_scoring">dkoes_scoring</option>
98 <option value="dkoes_scoring_old">dkoes_scoring_old</option>
99 <option value="vina">vina</option>
100 <option value="vinardo">vinardo</option>
101 </param>
102 <param name="custom_scoring" type="data" format="data" label="custom_scoring: custom scoring function file" optional="true" />
103 <param name="custom_atoms" type="data" format="data" label="custom_atoms: custom atom type parameters file" optional="true" />
104 <param name="score_only" type="select" label="score_only: score provided ligand pose" optional="true">
105 <option value="false" selected="true">Don't use this option</option>
106 <option value="true">Use this option</option>
107 </param>
108 <param name="local_only" type="select" label="local_only: local search only using autobox (you probably want to use --minimize)" optional="true">
109 <option value="false" selected="true">Don't use this option</option>
110 <option value="true">Use this option</option>
111 </param>
112 <param name="minimize" type="select" label="minimize: energy minimization" optional="true">
113 <option value="false" selected="true">Don't use this option</option>
114 <option value="true">Use this option</option>
115 </param>
116 <param name="randomize_only" type="select" label="randomize_only: generate random poses, attempting to avoid clashes" optional="true">
117 <option value="false" selected="true">Don't use this option</option>
118 <option value="true">Use this option</option>
119 </param>
120 <param name="minimize_iters" type="integer" label="minimize_iters: number iterations of steepest descent; default scales with rotors and usually isn't sufficient for convergence" optional="true" />
121 </inputs>
122 <outputs>
123 <data name="output" format="data" />
124 </outputs>
125 <tests>
126 <test>
127 <param name="receptor" value="smina/protein.pdbqt" />
128 <param name="ligand" value="smina/ligand.pdbqt" />
129 <param name="center_x" value="11" />
130 <param name="center_y" value="90.5" />
131 <param name="center_z" value="57.5" />
132 <param name="size_x" value="22" />
133 <param name="size_y" value="24" />
134 <param name="size_z" value="28" />
135 <output name="output" file="smina/output_smina" />
136 </test>
137 </tests>
138 <help>
139 "Smina help"
140 </help>
141 <citations>
142 <citation type="bibtex">
143 @misc{renameTODO, author = {LastTODO, FirstTODO}, year = {TODO}, title = {TODO}, url = {https://sourceforge.net/projects/smina/}, }
144 </citation>
145 </citations>
146 </tool>