annotate editconf.xml @ 0:e3cf745f5212 draft

Uploaded
author fmercuri
date Wed, 23 Jun 2021 20:47:31 +0000
parents
children 2f9bc346f824
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
e3cf745f5212 Uploaded
fmercuri
parents:
diff changeset
1 <tool id="gmx_editconf" name="GROMACS structure configuration" version="@TOOL_VERSION@+galaxy@GALAXY_VERSION@">
e3cf745f5212 Uploaded
fmercuri
parents:
diff changeset
2 <description>using editconf</description>
e3cf745f5212 Uploaded
fmercuri
parents:
diff changeset
3 <macros>
e3cf745f5212 Uploaded
fmercuri
parents:
diff changeset
4 <token name="@GALAXY_VERSION@">0</token>
e3cf745f5212 Uploaded
fmercuri
parents:
diff changeset
5 <import>macros.xml</import>
e3cf745f5212 Uploaded
fmercuri
parents:
diff changeset
6 </macros>
e3cf745f5212 Uploaded
fmercuri
parents:
diff changeset
7
e3cf745f5212 Uploaded
fmercuri
parents:
diff changeset
8 <expand macro="requirements" />
e3cf745f5212 Uploaded
fmercuri
parents:
diff changeset
9
e3cf745f5212 Uploaded
fmercuri
parents:
diff changeset
10 <command detect_errors="exit_code"><![CDATA[
e3cf745f5212 Uploaded
fmercuri
parents:
diff changeset
11
e3cf745f5212 Uploaded
fmercuri
parents:
diff changeset
12 ln -s '$input_file' ./input.$input_file.ext &&
e3cf745f5212 Uploaded
fmercuri
parents:
diff changeset
13 gmx editconf
e3cf745f5212 Uploaded
fmercuri
parents:
diff changeset
14 -f ./input.$input_file.ext
e3cf745f5212 Uploaded
fmercuri
parents:
diff changeset
15 -o ./output.${output_format}
e3cf745f5212 Uploaded
fmercuri
parents:
diff changeset
16 #if $box.config == "true":
e3cf745f5212 Uploaded
fmercuri
parents:
diff changeset
17 -d $box.dim
e3cf745f5212 Uploaded
fmercuri
parents:
diff changeset
18 -bt $box.type
e3cf745f5212 Uploaded
fmercuri
parents:
diff changeset
19 #end if
e3cf745f5212 Uploaded
fmercuri
parents:
diff changeset
20 &>> verbose.txt &&
e3cf745f5212 Uploaded
fmercuri
parents:
diff changeset
21
e3cf745f5212 Uploaded
fmercuri
parents:
diff changeset
22 cp ./output.${output_format} '$output'
e3cf745f5212 Uploaded
fmercuri
parents:
diff changeset
23
e3cf745f5212 Uploaded
fmercuri
parents:
diff changeset
24 ]]></command>
e3cf745f5212 Uploaded
fmercuri
parents:
diff changeset
25
e3cf745f5212 Uploaded
fmercuri
parents:
diff changeset
26 <inputs>
e3cf745f5212 Uploaded
fmercuri
parents:
diff changeset
27 <param argument="input_file" type="data" format='gro,pdb' label="Input structure"/>
e3cf745f5212 Uploaded
fmercuri
parents:
diff changeset
28 <param argument="output_format" type="select" label="Output format">
e3cf745f5212 Uploaded
fmercuri
parents:
diff changeset
29 <option value="gro">GRO file</option>
e3cf745f5212 Uploaded
fmercuri
parents:
diff changeset
30 <option value="pdb">PDB file</option>
e3cf745f5212 Uploaded
fmercuri
parents:
diff changeset
31 </param>
e3cf745f5212 Uploaded
fmercuri
parents:
diff changeset
32
e3cf745f5212 Uploaded
fmercuri
parents:
diff changeset
33 <conditional name="box">
e3cf745f5212 Uploaded
fmercuri
parents:
diff changeset
34 <param argument="config" type="select" label="Configure box?">
e3cf745f5212 Uploaded
fmercuri
parents:
diff changeset
35 <option value="true">Yes</option>
e3cf745f5212 Uploaded
fmercuri
parents:
diff changeset
36 <option value="false" selected="true">No</option>
e3cf745f5212 Uploaded
fmercuri
parents:
diff changeset
37 </param>
e3cf745f5212 Uploaded
fmercuri
parents:
diff changeset
38 <when value="true">
e3cf745f5212 Uploaded
fmercuri
parents:
diff changeset
39 <param argument="dim" 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" />
e3cf745f5212 Uploaded
fmercuri
parents:
diff changeset
40 <param argument="type" type="select" label="Box type"
e3cf745f5212 Uploaded
fmercuri
parents:
diff changeset
41 help="triclinic is a triclinic box, cubic is a rectangular box with all sides equal dodecahedron represents a rhombic dodecahedron and octahedron is a truncated octahedron. The last two are special cases of a triclinic box. The length of the three box vectors of the truncated octahedron is the shortest distance between two opposite hexagons. Relative to a cubic box with some periodic image distance, the volume of a dodecahedron with this same periodic distance is 0.71 times that of the cube, and that of a truncated octahedron is 0.77 times.">
e3cf745f5212 Uploaded
fmercuri
parents:
diff changeset
42 <option value="cubic">Rectangular box with all sides equal</option>
e3cf745f5212 Uploaded
fmercuri
parents:
diff changeset
43 <option value="triclinic">Triclinic</option>
e3cf745f5212 Uploaded
fmercuri
parents:
diff changeset
44 <option value="dodecahedron">represents a rhombic dodecahedron</option>
e3cf745f5212 Uploaded
fmercuri
parents:
diff changeset
45 <option value="octahedron">truncated octahedron</option>
e3cf745f5212 Uploaded
fmercuri
parents:
diff changeset
46 </param>
e3cf745f5212 Uploaded
fmercuri
parents:
diff changeset
47 </when>
e3cf745f5212 Uploaded
fmercuri
parents:
diff changeset
48 <when value="false"/>
e3cf745f5212 Uploaded
fmercuri
parents:
diff changeset
49 </conditional>
e3cf745f5212 Uploaded
fmercuri
parents:
diff changeset
50
e3cf745f5212 Uploaded
fmercuri
parents:
diff changeset
51 <expand macro="log" />
e3cf745f5212 Uploaded
fmercuri
parents:
diff changeset
52
e3cf745f5212 Uploaded
fmercuri
parents:
diff changeset
53 </inputs>
e3cf745f5212 Uploaded
fmercuri
parents:
diff changeset
54 <outputs>
e3cf745f5212 Uploaded
fmercuri
parents:
diff changeset
55 <data name="output" format="gro">
e3cf745f5212 Uploaded
fmercuri
parents:
diff changeset
56 <change_format>
e3cf745f5212 Uploaded
fmercuri
parents:
diff changeset
57 <when input="output_format" value="gro" format="gro"/>
e3cf745f5212 Uploaded
fmercuri
parents:
diff changeset
58 <when input="output_format" value="pdb" format="pdb"/>
e3cf745f5212 Uploaded
fmercuri
parents:
diff changeset
59 </change_format>
e3cf745f5212 Uploaded
fmercuri
parents:
diff changeset
60 </data>
e3cf745f5212 Uploaded
fmercuri
parents:
diff changeset
61 <expand macro="log_outputs" />
e3cf745f5212 Uploaded
fmercuri
parents:
diff changeset
62 </outputs>
e3cf745f5212 Uploaded
fmercuri
parents:
diff changeset
63 <tests>
e3cf745f5212 Uploaded
fmercuri
parents:
diff changeset
64 <test>
e3cf745f5212 Uploaded
fmercuri
parents:
diff changeset
65 <param name="input_file" value="processed.gro" ftype="gro"/>
e3cf745f5212 Uploaded
fmercuri
parents:
diff changeset
66 <param name="output_format" value="gro" />
e3cf745f5212 Uploaded
fmercuri
parents:
diff changeset
67 <param name="config" value="true" />
e3cf745f5212 Uploaded
fmercuri
parents:
diff changeset
68 <param name="dim" value="1.0" />
e3cf745f5212 Uploaded
fmercuri
parents:
diff changeset
69 <param name="type" value="cubic" />
e3cf745f5212 Uploaded
fmercuri
parents:
diff changeset
70 <output name="output" file="newbox.gro"/>
e3cf745f5212 Uploaded
fmercuri
parents:
diff changeset
71 </test>
e3cf745f5212 Uploaded
fmercuri
parents:
diff changeset
72 <test>
e3cf745f5212 Uploaded
fmercuri
parents:
diff changeset
73 <param name="input_file" value="newbox.gro" ftype="gro"/>
e3cf745f5212 Uploaded
fmercuri
parents:
diff changeset
74 <param name="output_format" value="pdb" />
e3cf745f5212 Uploaded
fmercuri
parents:
diff changeset
75 <param name="config" value="false" />
e3cf745f5212 Uploaded
fmercuri
parents:
diff changeset
76 <output name="output" file="newbox.pdb"/>
e3cf745f5212 Uploaded
fmercuri
parents:
diff changeset
77 </test>
e3cf745f5212 Uploaded
fmercuri
parents:
diff changeset
78 </tests>
e3cf745f5212 Uploaded
fmercuri
parents:
diff changeset
79 <help><![CDATA[
e3cf745f5212 Uploaded
fmercuri
parents:
diff changeset
80
e3cf745f5212 Uploaded
fmercuri
parents:
diff changeset
81 .. class:: infomark
e3cf745f5212 Uploaded
fmercuri
parents:
diff changeset
82
e3cf745f5212 Uploaded
fmercuri
parents:
diff changeset
83 **What it does**
e3cf745f5212 Uploaded
fmercuri
parents:
diff changeset
84
e3cf745f5212 Uploaded
fmercuri
parents:
diff changeset
85 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.
e3cf745f5212 Uploaded
fmercuri
parents:
diff changeset
86
e3cf745f5212 Uploaded
fmercuri
parents:
diff changeset
87 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.
e3cf745f5212 Uploaded
fmercuri
parents:
diff changeset
88
e3cf745f5212 Uploaded
fmercuri
parents:
diff changeset
89 _____
e3cf745f5212 Uploaded
fmercuri
parents:
diff changeset
90
e3cf745f5212 Uploaded
fmercuri
parents:
diff changeset
91 .. class:: infomark
e3cf745f5212 Uploaded
fmercuri
parents:
diff changeset
92
e3cf745f5212 Uploaded
fmercuri
parents:
diff changeset
93 **Input**
e3cf745f5212 Uploaded
fmercuri
parents:
diff changeset
94
e3cf745f5212 Uploaded
fmercuri
parents:
diff changeset
95 - PDB file.
e3cf745f5212 Uploaded
fmercuri
parents:
diff changeset
96 - Water model and forcefield must be specified.
e3cf745f5212 Uploaded
fmercuri
parents:
diff changeset
97 - Parameters for the simulation box (dimensions and shape).
e3cf745f5212 Uploaded
fmercuri
parents:
diff changeset
98
e3cf745f5212 Uploaded
fmercuri
parents:
diff changeset
99 _____
e3cf745f5212 Uploaded
fmercuri
parents:
diff changeset
100
e3cf745f5212 Uploaded
fmercuri
parents:
diff changeset
101
e3cf745f5212 Uploaded
fmercuri
parents:
diff changeset
102 .. class:: infomark
e3cf745f5212 Uploaded
fmercuri
parents:
diff changeset
103
e3cf745f5212 Uploaded
fmercuri
parents:
diff changeset
104 **Output**
e3cf745f5212 Uploaded
fmercuri
parents:
diff changeset
105
e3cf745f5212 Uploaded
fmercuri
parents:
diff changeset
106 - GROMACS topology (TOP) file.
e3cf745f5212 Uploaded
fmercuri
parents:
diff changeset
107 - Position restraint (itp) file, which may be useful for system equilibration.
e3cf745f5212 Uploaded
fmercuri
parents:
diff changeset
108 - GRO structure file.
e3cf745f5212 Uploaded
fmercuri
parents:
diff changeset
109
e3cf745f5212 Uploaded
fmercuri
parents:
diff changeset
110 ]]></help>
e3cf745f5212 Uploaded
fmercuri
parents:
diff changeset
111
e3cf745f5212 Uploaded
fmercuri
parents:
diff changeset
112 <expand macro="citations" />
e3cf745f5212 Uploaded
fmercuri
parents:
diff changeset
113 </tool>