annotate smina.xml @ 0:4cc079c67fab draft

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