comparison acpype_Amber2Gromacs.xml @ 0:79c856227ff1 draft

"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit f6acbf6f5875904c5b0c69445da0bf44932611c6"
author chemteam
date Tue, 30 Nov 2021 10:00:44 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:79c856227ff1
1 <tool id="acpype_Amber2Gromacs" name="Convert Amber topology and coordinate files to GROMACS format" version="@TOOL_VERSION@+galaxy@GALAXY_VERSION@">
2 <description>using acpype</description>
3 <macros>
4 <import>macros.xml</import>
5 <token name="@GALAXY_VERSION@">0</token>
6 </macros>
7 <expand macro="requirements">
8 <requirement type="package" version="2021.02.05.22.15">acpype</requirement>
9 </expand>
10 <command detect_errors="exit_code"><![CDATA[
11 ln -s '$input1' ./input1.${input1.ext} &&
12 ln -s '$input2' ./input2.${input2.ext} &&
13 acpype -p './input1.${input1.ext}' -x './input2.${input2.ext}'
14
15 ]]></command>
16 <inputs>
17 <param name="input1" type="data" format="txt" label="Amber Topology file" help="Topology file (prmtop) generated in Tleap"/>
18 <param name="input2" type="data" format="txt" label="Amber Coordinate file" help="Coordinate file (inpcrd) generated in Tleap"/>
19 </inputs>
20 <outputs>
21 <data format="top" name="top_output" label="GROMACS topology file" from_work_dir='*.top'/>
22 <data format="gro" name="gro_output" label="GROMACS coordinate file" from_work_dir="*.gro"/>
23 </outputs>
24 <tests>
25 <test>
26 <param name="input1" value="cid1.prmtop"/>
27 <param name="input2" value="cid1.inpcrd"/>
28 <output name="top_output">
29 <assert_contents>
30 <has_line line="[ defaults ]"/>
31 <has_text text="1 2 yes 0.5 0.8333"/>
32 <has_text text=" ca ca 0.00000 0.00000 A 3.39967e-01 3.59824e-01 ; 1.91 0.0860"/>
33 </assert_contents>
34 </output>
35 <output name="gro_output">
36 <assert_contents>
37 <has_text text=" 42"/>
38 <has_text text=" 1 UNL C1 1 41.372 -2.389 7.399"/>
39 <has_text text=" 1 UNL H42 42 41.256 -2.276 7.041"/>
40 <has_text text=" 11.59200 12.19000 23.64000"/>
41 </assert_contents>
42 </output>
43 </test>
44 </tests>
45 <help><![CDATA[
46 Tool to produce GROMACS topology and coordinate files from systems generated with AmberTools' Tleap.
47
48 .. class:: infomark
49
50 **Input**
51
52 The input files are the standard topology (prmtop) and coordinate (inpcrd) files that are generally produced as outputs when processing a structure through Tleap.
53
54 .. class:: infomark
55
56 **Outputs**
57
58 GROMACS topology (TOP) and coordinate (GRO) files.
59
60 ]]></help>
61 <expand macro="citations">
62 <citation type="doi">doi:10.1186/1756-0500-5-367</citation>
63 </expand>
64 </tool>