comparison extract_top.xml @ 0:9faa4f4b8b76 draft default tip

"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tree/master/tools/buildtools/topologyeditors commit ae026d4ea6fe2ebaa53611b86f9047941c7b899b"
author chemteam
date Thu, 27 Jan 2022 18:17:05 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:9faa4f4b8b76
1 <tool id="gromacs_extract_topology" name="Extracting Topology Information" version="@TOOL_VERSION@+galaxy@GALAXY_VERSION@" profile="20.09">
2 <description>from a GROMACS topology file</description>
3
4 <macros>
5 <import>macros.xml</import>
6 <token name="@GALAXY_VERSION@">0</token>
7 </macros>
8
9 <expand macro="requirements">
10 </expand>
11
12 <command detect_errors="exit_code"><![CDATA[
13
14 python3 '$__tool_directory__/gmxtras_extract_top.py' --top_file '$inputtopology' --out_nonbondparam '$atomtypes' --out_bondparam '$moltypes'
15
16 ]]></command>
17 <inputs>
18 <param name="inputtopology" type="data" format="top" label="Topology file we are extracting from" help="We are extracting the information under [ atomtypes ] and [ moleculetype ]."/>
19 </inputs>
20
21 <outputs>
22 <data name="atomtypes" format="txt" label="Nonbonded parameters and atom types under [ atomtypes ] section ${on_string}">
23 </data>
24 <data name="moltypes" format="txt" label="Bonded parameters and relevant information under [ moleculetype ] section ${on_string}">
25 </data>
26 </outputs>
27 <tests>
28 <test>
29 <param name="inputtopology" value="cid1_GMX.top" />
30 <output name="atomtypes">
31 <assert_contents>
32 <has_text text=" ca ca 0.00000 0.00000 A 3.39967e-01 3.59824e-01 ; 1.91 0.0860"/>
33 <has_text text=" hn hn 0.00000 0.00000 A 1.06908e-01 6.56888e-02 ; 0.60 0.0157"/>
34 </assert_contents>
35 </output>
36 </test>
37 <test>
38 <param name="inputtopology" value="cid1_GMX.top" />
39 <output name="moltypes">
40 <assert_contents>
41 <has_text text=" 1 ca 1 cid1 C1 1 -0.236300 12.01000 ; qtot -0.236"/>
42 <has_text text=" 23 1 4 2 4 180.00 4.60240 2 ; H23- C1- C4- C2"/>
43 </assert_contents>
44 </output>
45 </test>
46 </tests>
47 <help><![CDATA[
48 Tool to extract the [ atomtypes ] and [ moleculetype ] sections from a topology file. Both of these outputs can then be used as inputs in the Add Topologies tool. This tool can be used for a number of purposes, including but not limited to extracting the topology information required to complement the output of "gmx insert-molecules".
49
50 .. class:: infomark
51
52 **Input**
53
54 The system topology file you are extracting parameters from.
55
56 .. class:: infomark
57
58 **Outputs**
59
60 1) Text file containing the atom types and nonbonded parameters.
61 2) Text file containing the molecule type information with bonded parameters.
62
63
64 ]]></help>
65 <expand macro="citations">
66 <citation type="doi">doi:10.1186/1756-0500-5-367</citation>
67 </expand>
68 </tool>