comparison setup.xml @ 0:644ca8dfdf28 draft

planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit 177cab098ac548bfdecba9d9f04614aec5f6c618
author chemteam
date Thu, 04 Oct 2018 17:39:10 -0400
parents
children b43abebffad6
comparison
equal deleted inserted replaced
-1:000000000000 0:644ca8dfdf28
1 <tool id="gmx_setup" name="GROMACS initial setup" version="@VERSION@">
2 <description>of topology and GRO structure file</description>
3 <macros>
4 <import>macros.xml</import>
5 </macros>
6
7 <expand macro="requirements" />
8
9 <command detect_errors="exit_code"><![CDATA[
10
11 ln -s '$pdb_input' ./pdb_input.pdb &&
12 gmx pdb2gmx -f ./pdb_input.pdb -o processed.gro -p topol.top -i posres.itp -water $water -ff $ff -${ignore_h}ignh &>> verbose.txt &&
13 gmx editconf -f processed.gro -o newbox.gro -c -d $box_d -bt $box_type &>> verbose.txt
14
15 ]]></command>
16
17 <inputs>
18 <!-- PDB2GMX VARS -->
19 <param argument="pdb_input" type="data" format='pdb' label="PDB input file."/>
20 <param argument="water" type="select" label="Water model" help="">
21 <option value="tip3p" selected="true">TIP3P</option>
22 <option value="tip4p">TIP4P</option>
23 <option value="tips3p">TIPS3P</option>
24 <option value="tip5p">TIP5P</option>
25 <option value="spc">SPC</option>
26 <option value="spce">SPC/E</option>
27 <option value="none">None</option>
28 </param>
29
30 <param argument="ff" type="select" label="Force field">
31 <option value="oplsaa" selected="true">OPLS/AA</option>
32 <option value="gromos43a1">GROMOS43A1</option>
33 <option value="amber96">AMBER96</option>
34 <option value="gromos53a6">GROMOS53A6</option>
35 <option value="amber99sb-ildn">AMBER99SB-ILDN</option>
36 <option value="amber99sb">AMBER99SB</option>
37 <option value="gromos53a5">GROMOS53A5</option>
38 <option value="gromos43a2">GROMOS43A2</option>
39 <option value="amberGS">AMBERGS</option>
40 <option value="charmm27">CHARMM27</option>
41 <option value="amber03">AMBER03</option>
42 <option value="gromos54a7">GROMOS54A7</option>
43 <option value="gromos45a3">GROMOS45A3</option>
44 <option value="amber99">AMBER99</option>
45 <option value="amber94">AMBER94</option>
46 </param>
47
48 <param argument="ignore_h" type="boolean" label="Ignore hydrogens" truevalue="" falsevalue="no" help="Ignore hydrogen atoms that are in the coordinate file." />
49
50 <!-- EDITCONF VARS -->
51 <param argument="box_d" type="float" label="Box dimensions in nanometers." value="0.0" min="0.0" max="10.0" help="Box dimensions" />
52 <param argument="box_type" type="select" label="Box type"
53 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.">
54 <option value="cubic">Rectangular box with all sides equal</option>
55 <option value="triclinic">Triclinic</option>
56 <option value="dodecahedron">represents a rhombic dodecahedron</option>
57 <option value="octahedron">truncated octahedron</option>
58 </param>
59
60 <param name="capture_log" type="boolean" value="false" label="Generate Detailed Log" help="Generate detailed log information that can be summarized with ParseLog."/>
61
62 </inputs>
63 <outputs>
64 <data name="output1" format="top" from_work_dir="topol.top"/>
65 <data name="output2" format="gro" from_work_dir="newbox.gro"/>
66 <data name="output3" format="itp" from_work_dir="posres.itp"/>
67 <data name="report" format="txt" from_work_dir="verbose.txt">
68 <filter>capture_log</filter>
69 </data>
70 </outputs>
71 <tests>
72 <test>
73 <param name="pdb_input" value="1AKI.pdb" />
74 <param name="water" value="spce" />
75 <param name="ff" value="oplsaa" />
76 <param name="ignore_h" value="no" />
77 <param name="box_d" value="1.0" />
78 <param name="box_type" value="cubic" />
79 <output name="output1" file="topol.top" ftype="top" compare="diff" lines_diff="20"/>
80 <output name="output2" file="newbox.gro" ftype="gro"/>
81 <output name="output3" file="posres.itp" ftype="itp"/>
82 </test>
83 </tests>
84 <help><![CDATA[
85
86 Initial GROMACS setup. Upload a structure in PDB format and produce a topology and a structure in GRO format contained in a box of defined shape and dimensions.
87
88 ]]></help>
89
90 <expand macro="citations" />
91 </tool>