annotate merge_top.xml @ 0:33ed3c26b8c2 draft

planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit 7ba07c3130a2170e8f91acc4a81f5626563a79eb
author chemteam
date Thu, 28 Mar 2019 10:12:00 -0400
parents
children f2faba46d680
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
33ed3c26b8c2 planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit 7ba07c3130a2170e8f91acc4a81f5626563a79eb
chemteam
parents:
diff changeset
1 <tool id="gmx_merge_topology_files" name="Merge GROMACS topologies" version="0.1.0">
33ed3c26b8c2 planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit 7ba07c3130a2170e8f91acc4a81f5626563a79eb
chemteam
parents:
diff changeset
2 <description>for example, for protein and ligand files</description>
33ed3c26b8c2 planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit 7ba07c3130a2170e8f91acc4a81f5626563a79eb
chemteam
parents:
diff changeset
3 <macros>
33ed3c26b8c2 planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit 7ba07c3130a2170e8f91acc4a81f5626563a79eb
chemteam
parents:
diff changeset
4 <import>macros.xml</import>
33ed3c26b8c2 planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit 7ba07c3130a2170e8f91acc4a81f5626563a79eb
chemteam
parents:
diff changeset
5 </macros>
33ed3c26b8c2 planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit 7ba07c3130a2170e8f91acc4a81f5626563a79eb
chemteam
parents:
diff changeset
6 <command detect_errors="exit_code"><![CDATA[
33ed3c26b8c2 planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit 7ba07c3130a2170e8f91acc4a81f5626563a79eb
chemteam
parents:
diff changeset
7 ln -s '$top_input' ./top_input.top &&
33ed3c26b8c2 planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit 7ba07c3130a2170e8f91acc4a81f5626563a79eb
chemteam
parents:
diff changeset
8 #for $itp_input in $itp_inputs
33ed3c26b8c2 planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit 7ba07c3130a2170e8f91acc4a81f5626563a79eb
chemteam
parents:
diff changeset
9 ln -s '$itp_input' ./$itp_input.element_identifier &&
33ed3c26b8c2 planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit 7ba07c3130a2170e8f91acc4a81f5626563a79eb
chemteam
parents:
diff changeset
10 echo '$itp_input.element_identifier' >> ./itps.txt &&
33ed3c26b8c2 planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit 7ba07c3130a2170e8f91acc4a81f5626563a79eb
chemteam
parents:
diff changeset
11 #end for
33ed3c26b8c2 planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit 7ba07c3130a2170e8f91acc4a81f5626563a79eb
chemteam
parents:
diff changeset
12
33ed3c26b8c2 planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit 7ba07c3130a2170e8f91acc4a81f5626563a79eb
chemteam
parents:
diff changeset
13 python '$__tool_directory__/merge_top.py' top_input.top itps.txt
33ed3c26b8c2 planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit 7ba07c3130a2170e8f91acc4a81f5626563a79eb
chemteam
parents:
diff changeset
14 ]]></command>
33ed3c26b8c2 planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit 7ba07c3130a2170e8f91acc4a81f5626563a79eb
chemteam
parents:
diff changeset
15 <inputs>
33ed3c26b8c2 planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit 7ba07c3130a2170e8f91acc4a81f5626563a79eb
chemteam
parents:
diff changeset
16 <param argument="top_input" type="data" format='top' label="Topology (TOP) file"/>
33ed3c26b8c2 planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit 7ba07c3130a2170e8f91acc4a81f5626563a79eb
chemteam
parents:
diff changeset
17 <param argument="itp_inputs" type="data" format='itp' multiple="true" label="Position restraint file"/>
33ed3c26b8c2 planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit 7ba07c3130a2170e8f91acc4a81f5626563a79eb
chemteam
parents:
diff changeset
18 </inputs>
33ed3c26b8c2 planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit 7ba07c3130a2170e8f91acc4a81f5626563a79eb
chemteam
parents:
diff changeset
19 <outputs>
33ed3c26b8c2 planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit 7ba07c3130a2170e8f91acc4a81f5626563a79eb
chemteam
parents:
diff changeset
20 <data name="output" format="top" from_work_dir="top_output.top"/>
33ed3c26b8c2 planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit 7ba07c3130a2170e8f91acc4a81f5626563a79eb
chemteam
parents:
diff changeset
21 </outputs>
33ed3c26b8c2 planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit 7ba07c3130a2170e8f91acc4a81f5626563a79eb
chemteam
parents:
diff changeset
22 <tests>
33ed3c26b8c2 planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit 7ba07c3130a2170e8f91acc4a81f5626563a79eb
chemteam
parents:
diff changeset
23 <test>
33ed3c26b8c2 planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit 7ba07c3130a2170e8f91acc4a81f5626563a79eb
chemteam
parents:
diff changeset
24 <param name="top_input" value="topol.top" />
33ed3c26b8c2 planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit 7ba07c3130a2170e8f91acc4a81f5626563a79eb
chemteam
parents:
diff changeset
25 <param name="itp_inputs" value="posres.itp" />
33ed3c26b8c2 planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit 7ba07c3130a2170e8f91acc4a81f5626563a79eb
chemteam
parents:
diff changeset
26 <output name="output" file="top_output.top" ftype="top" />
33ed3c26b8c2 planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit 7ba07c3130a2170e8f91acc4a81f5626563a79eb
chemteam
parents:
diff changeset
27 </test>
33ed3c26b8c2 planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit 7ba07c3130a2170e8f91acc4a81f5626563a79eb
chemteam
parents:
diff changeset
28 </tests>
33ed3c26b8c2 planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit 7ba07c3130a2170e8f91acc4a81f5626563a79eb
chemteam
parents:
diff changeset
29 <help><![CDATA[
33ed3c26b8c2 planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit 7ba07c3130a2170e8f91acc4a81f5626563a79eb
chemteam
parents:
diff changeset
30 Use this tool to combine GROMACS topologies - for example, the topology files for a ligand and protein.
33ed3c26b8c2 planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit 7ba07c3130a2170e8f91acc4a81f5626563a79eb
chemteam
parents:
diff changeset
31 ]]></help>
33ed3c26b8c2 planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit 7ba07c3130a2170e8f91acc4a81f5626563a79eb
chemteam
parents:
diff changeset
32 <expand macro="citations" />
33ed3c26b8c2 planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit 7ba07c3130a2170e8f91acc4a81f5626563a79eb
chemteam
parents:
diff changeset
33 </tool>