annotate editconf.xml @ 13:1e35f38be2b6 draft

Uploaded
author fmercuri
date Fri, 25 Jun 2021 17:14:21 +0000
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
13
1e35f38be2b6 Uploaded
fmercuri
parents:
diff changeset
1 <tool id="gmx_editconf_daimoners" name="GROMACS structure configuration daimoners edition" version="@TOOL_VERSION@+galaxy@GALAXY_VERSION@">
1e35f38be2b6 Uploaded
fmercuri
parents:
diff changeset
2 <description>using editconf</description>
1e35f38be2b6 Uploaded
fmercuri
parents:
diff changeset
3 <macros>
1e35f38be2b6 Uploaded
fmercuri
parents:
diff changeset
4 <token name="@GALAXY_VERSION@">0</token>
1e35f38be2b6 Uploaded
fmercuri
parents:
diff changeset
5 <import>macros.xml</import>
1e35f38be2b6 Uploaded
fmercuri
parents:
diff changeset
6 </macros>
1e35f38be2b6 Uploaded
fmercuri
parents:
diff changeset
7
1e35f38be2b6 Uploaded
fmercuri
parents:
diff changeset
8 <expand macro="requirements" />
1e35f38be2b6 Uploaded
fmercuri
parents:
diff changeset
9
1e35f38be2b6 Uploaded
fmercuri
parents:
diff changeset
10 <command detect_errors="exit_code"><![CDATA[
1e35f38be2b6 Uploaded
fmercuri
parents:
diff changeset
11
1e35f38be2b6 Uploaded
fmercuri
parents:
diff changeset
12 ln -s '$input_file' ./input.$input_file.ext &&
1e35f38be2b6 Uploaded
fmercuri
parents:
diff changeset
13 gmx editconf -f ./input.$input_file.ext -o ./output.${output_format} -box 10 10 10 &>> verbose.txt &&
1e35f38be2b6 Uploaded
fmercuri
parents:
diff changeset
14 echo "boxtype string:" $boxtype.boxtype > ./output.${output_format}
1e35f38be2b6 Uploaded
fmercuri
parents:
diff changeset
15 cp ./output.${output_format} '$output'
1e35f38be2b6 Uploaded
fmercuri
parents:
diff changeset
16
1e35f38be2b6 Uploaded
fmercuri
parents:
diff changeset
17 ]]></command>
1e35f38be2b6 Uploaded
fmercuri
parents:
diff changeset
18
1e35f38be2b6 Uploaded
fmercuri
parents:
diff changeset
19 <inputs>
1e35f38be2b6 Uploaded
fmercuri
parents:
diff changeset
20 <param argument="input_file" type="data" format='gro,pdb' label="Input structure"/>
1e35f38be2b6 Uploaded
fmercuri
parents:
diff changeset
21 <param argument="output_format" type="select" label="Output format">
1e35f38be2b6 Uploaded
fmercuri
parents:
diff changeset
22 <option value="gro">GRO file</option>
1e35f38be2b6 Uploaded
fmercuri
parents:
diff changeset
23 <option value="pdb">PDB file</option>
1e35f38be2b6 Uploaded
fmercuri
parents:
diff changeset
24 </param>
1e35f38be2b6 Uploaded
fmercuri
parents:
diff changeset
25
1e35f38be2b6 Uploaded
fmercuri
parents:
diff changeset
26 <conditional name="box">
1e35f38be2b6 Uploaded
fmercuri
parents:
diff changeset
27 <param argument="config" type="select" label="Configure box?">
1e35f38be2b6 Uploaded
fmercuri
parents:
diff changeset
28 <option value="true">Yes</option>
1e35f38be2b6 Uploaded
fmercuri
parents:
diff changeset
29 <option value="false" selected="true">No</option>
1e35f38be2b6 Uploaded
fmercuri
parents:
diff changeset
30 </param>
1e35f38be2b6 Uploaded
fmercuri
parents:
diff changeset
31 <when value="true">
1e35f38be2b6 Uploaded
fmercuri
parents:
diff changeset
32 <conditional name="boxtype">
1e35f38be2b6 Uploaded
fmercuri
parents:
diff changeset
33 <param argument="boxtype" type="select" label="Box type">
1e35f38be2b6 Uploaded
fmercuri
parents:
diff changeset
34 <option value="cubic">Standard cubic box</option>
1e35f38be2b6 Uploaded
fmercuri
parents:
diff changeset
35 <option value="custom">Custom box type</option>
1e35f38be2b6 Uploaded
fmercuri
parents:
diff changeset
36 </param>
1e35f38be2b6 Uploaded
fmercuri
parents:
diff changeset
37
1e35f38be2b6 Uploaded
fmercuri
parents:
diff changeset
38 <when value="cubic">
1e35f38be2b6 Uploaded
fmercuri
parents:
diff changeset
39 <param argument="cubicdim" 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" />
1e35f38be2b6 Uploaded
fmercuri
parents:
diff changeset
40 </when>
1e35f38be2b6 Uploaded
fmercuri
parents:
diff changeset
41
1e35f38be2b6 Uploaded
fmercuri
parents:
diff changeset
42 <when value="custom">
1e35f38be2b6 Uploaded
fmercuri
parents:
diff changeset
43 <param argument="boxdim" type="float" label="Size to be added to the dimensions of the system" value="0.0" min="0.0" max="1000.0" help="Size to be added to the dimension of the system" />
1e35f38be2b6 Uploaded
fmercuri
parents:
diff changeset
44 <param argument="type" type="select" label="Box type" help="Box type">
1e35f38be2b6 Uploaded
fmercuri
parents:
diff changeset
45 <option value="cubic">Cubic</option>
1e35f38be2b6 Uploaded
fmercuri
parents:
diff changeset
46 <option value="triclinic">Triclinic</option>
1e35f38be2b6 Uploaded
fmercuri
parents:
diff changeset
47 <option value="dodecahedron">Rhombic dodecahedron</option>
1e35f38be2b6 Uploaded
fmercuri
parents:
diff changeset
48 <option value="octahedron">Truncated octahedron</option>
1e35f38be2b6 Uploaded
fmercuri
parents:
diff changeset
49 </param>
1e35f38be2b6 Uploaded
fmercuri
parents:
diff changeset
50 </when>
1e35f38be2b6 Uploaded
fmercuri
parents:
diff changeset
51 </conditional>
1e35f38be2b6 Uploaded
fmercuri
parents:
diff changeset
52 </when>
1e35f38be2b6 Uploaded
fmercuri
parents:
diff changeset
53 <when value="false"/>
1e35f38be2b6 Uploaded
fmercuri
parents:
diff changeset
54 </conditional>
1e35f38be2b6 Uploaded
fmercuri
parents:
diff changeset
55
1e35f38be2b6 Uploaded
fmercuri
parents:
diff changeset
56 <expand macro="log" />
1e35f38be2b6 Uploaded
fmercuri
parents:
diff changeset
57
1e35f38be2b6 Uploaded
fmercuri
parents:
diff changeset
58 </inputs>
1e35f38be2b6 Uploaded
fmercuri
parents:
diff changeset
59 <outputs>
1e35f38be2b6 Uploaded
fmercuri
parents:
diff changeset
60 <data name="output" format="gro">
1e35f38be2b6 Uploaded
fmercuri
parents:
diff changeset
61 <change_format>
1e35f38be2b6 Uploaded
fmercuri
parents:
diff changeset
62 <when input="output_format" value="gro" format="gro"/>
1e35f38be2b6 Uploaded
fmercuri
parents:
diff changeset
63 <when input="output_format" value="pdb" format="pdb"/>
1e35f38be2b6 Uploaded
fmercuri
parents:
diff changeset
64 </change_format>
1e35f38be2b6 Uploaded
fmercuri
parents:
diff changeset
65 </data>
1e35f38be2b6 Uploaded
fmercuri
parents:
diff changeset
66 <expand macro="log_outputs" />
1e35f38be2b6 Uploaded
fmercuri
parents:
diff changeset
67 </outputs>
1e35f38be2b6 Uploaded
fmercuri
parents:
diff changeset
68 <tests>
1e35f38be2b6 Uploaded
fmercuri
parents:
diff changeset
69 <test>
1e35f38be2b6 Uploaded
fmercuri
parents:
diff changeset
70 <param name="input_file" value="processed.gro" ftype="gro"/>
1e35f38be2b6 Uploaded
fmercuri
parents:
diff changeset
71 <param name="output_format" value="gro" />
1e35f38be2b6 Uploaded
fmercuri
parents:
diff changeset
72 <param name="config" value="true" />
1e35f38be2b6 Uploaded
fmercuri
parents:
diff changeset
73 <param name="dim" value="1.0" />
1e35f38be2b6 Uploaded
fmercuri
parents:
diff changeset
74 <param name="type" value="cubic" />
1e35f38be2b6 Uploaded
fmercuri
parents:
diff changeset
75 <output name="output" file="newbox.gro"/>
1e35f38be2b6 Uploaded
fmercuri
parents:
diff changeset
76 </test>
1e35f38be2b6 Uploaded
fmercuri
parents:
diff changeset
77 <test>
1e35f38be2b6 Uploaded
fmercuri
parents:
diff changeset
78 <param name="input_file" value="newbox.gro" ftype="gro"/>
1e35f38be2b6 Uploaded
fmercuri
parents:
diff changeset
79 <param name="output_format" value="pdb" />
1e35f38be2b6 Uploaded
fmercuri
parents:
diff changeset
80 <param name="config" value="false" />
1e35f38be2b6 Uploaded
fmercuri
parents:
diff changeset
81 <output name="output" file="newbox.pdb"/>
1e35f38be2b6 Uploaded
fmercuri
parents:
diff changeset
82 </test>
1e35f38be2b6 Uploaded
fmercuri
parents:
diff changeset
83 </tests>
1e35f38be2b6 Uploaded
fmercuri
parents:
diff changeset
84 <help><![CDATA[
1e35f38be2b6 Uploaded
fmercuri
parents:
diff changeset
85
1e35f38be2b6 Uploaded
fmercuri
parents:
diff changeset
86 .. class:: infomark
1e35f38be2b6 Uploaded
fmercuri
parents:
diff changeset
87
1e35f38be2b6 Uploaded
fmercuri
parents:
diff changeset
88 **What it does**
1e35f38be2b6 Uploaded
fmercuri
parents:
diff changeset
89
1e35f38be2b6 Uploaded
fmercuri
parents:
diff changeset
90 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.
1e35f38be2b6 Uploaded
fmercuri
parents:
diff changeset
91
1e35f38be2b6 Uploaded
fmercuri
parents:
diff changeset
92 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.
1e35f38be2b6 Uploaded
fmercuri
parents:
diff changeset
93
1e35f38be2b6 Uploaded
fmercuri
parents:
diff changeset
94 _____
1e35f38be2b6 Uploaded
fmercuri
parents:
diff changeset
95
1e35f38be2b6 Uploaded
fmercuri
parents:
diff changeset
96 .. class:: infomark
1e35f38be2b6 Uploaded
fmercuri
parents:
diff changeset
97
1e35f38be2b6 Uploaded
fmercuri
parents:
diff changeset
98 **Input**
1e35f38be2b6 Uploaded
fmercuri
parents:
diff changeset
99
1e35f38be2b6 Uploaded
fmercuri
parents:
diff changeset
100 - PDB file.
1e35f38be2b6 Uploaded
fmercuri
parents:
diff changeset
101 - Water model and forcefield must be specified.
1e35f38be2b6 Uploaded
fmercuri
parents:
diff changeset
102 - Parameters for the simulation box (dimensions and shape).
1e35f38be2b6 Uploaded
fmercuri
parents:
diff changeset
103
1e35f38be2b6 Uploaded
fmercuri
parents:
diff changeset
104 _____
1e35f38be2b6 Uploaded
fmercuri
parents:
diff changeset
105
1e35f38be2b6 Uploaded
fmercuri
parents:
diff changeset
106
1e35f38be2b6 Uploaded
fmercuri
parents:
diff changeset
107 .. class:: infomark
1e35f38be2b6 Uploaded
fmercuri
parents:
diff changeset
108
1e35f38be2b6 Uploaded
fmercuri
parents:
diff changeset
109 **Output**
1e35f38be2b6 Uploaded
fmercuri
parents:
diff changeset
110
1e35f38be2b6 Uploaded
fmercuri
parents:
diff changeset
111 - GROMACS topology (TOP) file.
1e35f38be2b6 Uploaded
fmercuri
parents:
diff changeset
112 - Position restraint (itp) file, which may be useful for system equilibration.
1e35f38be2b6 Uploaded
fmercuri
parents:
diff changeset
113 - GRO structure file.
1e35f38be2b6 Uploaded
fmercuri
parents:
diff changeset
114
1e35f38be2b6 Uploaded
fmercuri
parents:
diff changeset
115 ]]></help>
1e35f38be2b6 Uploaded
fmercuri
parents:
diff changeset
116
1e35f38be2b6 Uploaded
fmercuri
parents:
diff changeset
117 <expand macro="citations" />
1e35f38be2b6 Uploaded
fmercuri
parents:
diff changeset
118 </tool>