0
|
1 <tool id="gmx_editconf_daimoners" name="GROMACS structure configuration daimoners edition" version="@TOOL_VERSION@+galaxy@GALAXY_VERSION@">
|
|
2 <description>using editconf</description>
|
|
3 <macros>
|
|
4 <token name="@GALAXY_VERSION@">0</token>
|
|
5 <import>macros.xml</import>
|
|
6 </macros>
|
|
7
|
|
8 <expand macro="requirements" />
|
|
9
|
|
10 <command detect_errors="exit_code"><![CDATA[
|
|
11
|
|
12
|
|
13 ln -s '$input_file' ./input.$input_file.ext &&
|
|
14 gmx genconf
|
|
15 -f ./input.$input_file.ext
|
|
16 -o ./output.${output_format}
|
|
17 -nbox ($box $box $box)
|
|
18 -dist ($dist $dist $dist)
|
|
19 &>> verbose.txt &&
|
|
20
|
|
21 cp ./output.${output_format} '$output'
|
|
22
|
|
23 ]]></command>
|
|
24
|
|
25 <inputs>
|
|
26 <param argument="input_file" type="data" format='gro,pdb' label="Input structure"/>
|
|
27 <param argument="output_format" type="select" label="Output format">
|
|
28 <option value="gro">GRO file</option>
|
|
29 <option value="pdb">PDB file</option>
|
|
30 </param>
|
|
31 <param argument="box" type="float" label="Box dimensions in nanometers" value="0.0" min="0.0" max="1000.0" help="Dimensions of the box in which simulation will take place" />
|
|
32 <param argument="dist" type="float" label="Distance in nanometers" value="0.0" min="0.0" max="10.0" help="Distance between different instance of the molecule" />
|
|
33
|
|
34 <expand macro="log" />
|
|
35
|
|
36 </inputs>
|
|
37 <outputs>
|
|
38 <data name="output" format="gro">
|
|
39 <change_format>
|
|
40 <when input="output_format" value="gro" format="gro"/>
|
|
41 <when input="output_format" value="pdb" format="pdb"/>
|
|
42 </change_format>
|
|
43 </data>
|
|
44 <expand macro="log_outputs" />
|
|
45 </outputs>
|
|
46 <tests>
|
|
47 <test>
|
|
48 <param name="input_file" value="processed.gro" ftype="gro"/>
|
|
49 <param name="output_format" value="gro" />
|
|
50 <param name="config" value="true" />
|
|
51 <param name="dim" value="1.0" />
|
|
52 <param name="type" value="cubic" />
|
|
53 <output name="output" file="newbox.gro"/>
|
|
54 </test>
|
|
55 <test>
|
|
56 <param name="input_file" value="newbox.gro" ftype="gro"/>
|
|
57 <param name="output_format" value="pdb" />
|
|
58 <param name="config" value="false" />
|
|
59 <output name="output" file="newbox.pdb"/>
|
|
60 </test>
|
|
61 </tests>
|
|
62 <help><![CDATA[
|
|
63
|
|
64 .. class:: infomark
|
|
65
|
|
66 **What it does**
|
|
67
|
|
68 This tool performs the initial setup prior to a GROMACS simulation. This entails producing a topology from an input structure using the pdb2gmx command and also defining a simulation box with editconf.
|
|
69
|
|
70 Please note that the tool will only successfully generate a topology for residues it recognizes (i.e. standard amino acids). If the structure contains other components such as ligands, these should be separately parameterized with the AmberTools or ACPYPE tools. In this case, make sure to also use an AMBER forcefield for this tool to ensure compatability with the ligand topology.
|
|
71
|
|
72 _____
|
|
73
|
|
74 .. class:: infomark
|
|
75
|
|
76 **Input**
|
|
77
|
|
78 - PDB file.
|
|
79 - Water model and forcefield must be specified.
|
|
80 - Parameters for the simulation box (dimensions and shape).
|
|
81
|
|
82 _____
|
|
83
|
|
84
|
|
85 .. class:: infomark
|
|
86
|
|
87 **Output**
|
|
88
|
|
89 - GROMACS topology (TOP) file.
|
|
90 - Position restraint (itp) file, which may be useful for system equilibration.
|
|
91 - GRO structure file.
|
|
92
|
|
93 ]]></help>
|
|
94
|
|
95 <expand macro="citations" />
|
|
96 </tool>
|