annotate solvate.xml @ 0:77aaf9a68166 draft

planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit 4546df85653df59e357c5865ac4e538ea71a3048
author chemteam
date Thu, 04 Oct 2018 18:22:34 -0400
parents
children 7161b230adad
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
77aaf9a68166 planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit 4546df85653df59e357c5865ac4e538ea71a3048
chemteam
parents:
diff changeset
1 <tool id="gmx_solvate" name="GROMACS solvation and adding ions" version="@VERSION@">
77aaf9a68166 planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit 4546df85653df59e357c5865ac4e538ea71a3048
chemteam
parents:
diff changeset
2 <description>to structure and topology files</description>
77aaf9a68166 planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit 4546df85653df59e357c5865ac4e538ea71a3048
chemteam
parents:
diff changeset
3 <macros>
77aaf9a68166 planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit 4546df85653df59e357c5865ac4e538ea71a3048
chemteam
parents:
diff changeset
4 <import>macros.xml</import>
77aaf9a68166 planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit 4546df85653df59e357c5865ac4e538ea71a3048
chemteam
parents:
diff changeset
5 </macros>
77aaf9a68166 planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit 4546df85653df59e357c5865ac4e538ea71a3048
chemteam
parents:
diff changeset
6
77aaf9a68166 planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit 4546df85653df59e357c5865ac4e538ea71a3048
chemteam
parents:
diff changeset
7 <expand macro="requirements" />
77aaf9a68166 planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit 4546df85653df59e357c5865ac4e538ea71a3048
chemteam
parents:
diff changeset
8
77aaf9a68166 planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit 4546df85653df59e357c5865ac4e538ea71a3048
chemteam
parents:
diff changeset
9 <command detect_errors="exit_code"><![CDATA[
77aaf9a68166 planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit 4546df85653df59e357c5865ac4e538ea71a3048
chemteam
parents:
diff changeset
10
77aaf9a68166 planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit 4546df85653df59e357c5865ac4e538ea71a3048
chemteam
parents:
diff changeset
11 ln -s '$ions' ./ions.mdp &&
77aaf9a68166 planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit 4546df85653df59e357c5865ac4e538ea71a3048
chemteam
parents:
diff changeset
12 ln -s '$gro_input' ./gro_input.gro &&
77aaf9a68166 planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit 4546df85653df59e357c5865ac4e538ea71a3048
chemteam
parents:
diff changeset
13 ln -s '$top_input' ./top_input.top &&
77aaf9a68166 planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit 4546df85653df59e357c5865ac4e538ea71a3048
chemteam
parents:
diff changeset
14
77aaf9a68166 planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit 4546df85653df59e357c5865ac4e538ea71a3048
chemteam
parents:
diff changeset
15 gmx solvate -cp ./gro_input.gro -cs ${water_model}.gro -o solv.gro -p ./top_input.top &>> verbose.txt &&
77aaf9a68166 planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit 4546df85653df59e357c5865ac4e538ea71a3048
chemteam
parents:
diff changeset
16
77aaf9a68166 planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit 4546df85653df59e357c5865ac4e538ea71a3048
chemteam
parents:
diff changeset
17 gmx grompp -f ./ions.mdp -c solv.gro -p ./top_input.top -o ions.tpr -maxwarn 1 &>> verbose.txt &&
77aaf9a68166 planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit 4546df85653df59e357c5865ac4e538ea71a3048
chemteam
parents:
diff changeset
18
77aaf9a68166 planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit 4546df85653df59e357c5865ac4e538ea71a3048
chemteam
parents:
diff changeset
19 echo 'SOL' | gmx genion -s ions.tpr -o solv_ions.gro -p ./top_input.top -pname NA -nname CL -neutral &>> verbose.txt
77aaf9a68166 planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit 4546df85653df59e357c5865ac4e538ea71a3048
chemteam
parents:
diff changeset
20
77aaf9a68166 planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit 4546df85653df59e357c5865ac4e538ea71a3048
chemteam
parents:
diff changeset
21 ]]></command>
77aaf9a68166 planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit 4546df85653df59e357c5865ac4e538ea71a3048
chemteam
parents:
diff changeset
22 <configfiles>
77aaf9a68166 planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit 4546df85653df59e357c5865ac4e538ea71a3048
chemteam
parents:
diff changeset
23 <!-- .mdp file for the gromacs simulation -->
77aaf9a68166 planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit 4546df85653df59e357c5865ac4e538ea71a3048
chemteam
parents:
diff changeset
24 <configfile name="ions">
77aaf9a68166 planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit 4546df85653df59e357c5865ac4e538ea71a3048
chemteam
parents:
diff changeset
25 : Parameters are not so important here as no simulation is run
77aaf9a68166 planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit 4546df85653df59e357c5865ac4e538ea71a3048
chemteam
parents:
diff changeset
26 integrator = steep
77aaf9a68166 planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit 4546df85653df59e357c5865ac4e538ea71a3048
chemteam
parents:
diff changeset
27 emtol = 1000.0
77aaf9a68166 planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit 4546df85653df59e357c5865ac4e538ea71a3048
chemteam
parents:
diff changeset
28 emstep = 0.01
77aaf9a68166 planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit 4546df85653df59e357c5865ac4e538ea71a3048
chemteam
parents:
diff changeset
29 nsteps = 1
77aaf9a68166 planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit 4546df85653df59e357c5865ac4e538ea71a3048
chemteam
parents:
diff changeset
30 nstlist = 1
77aaf9a68166 planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit 4546df85653df59e357c5865ac4e538ea71a3048
chemteam
parents:
diff changeset
31 cutoff-scheme = Verlet
77aaf9a68166 planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit 4546df85653df59e357c5865ac4e538ea71a3048
chemteam
parents:
diff changeset
32 ns_type = grid
77aaf9a68166 planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit 4546df85653df59e357c5865ac4e538ea71a3048
chemteam
parents:
diff changeset
33 coulombtype = PME
77aaf9a68166 planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit 4546df85653df59e357c5865ac4e538ea71a3048
chemteam
parents:
diff changeset
34 rcoulomb = 1.0
77aaf9a68166 planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit 4546df85653df59e357c5865ac4e538ea71a3048
chemteam
parents:
diff changeset
35 rvdw = 1.0
77aaf9a68166 planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit 4546df85653df59e357c5865ac4e538ea71a3048
chemteam
parents:
diff changeset
36 pbc = xyz
77aaf9a68166 planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit 4546df85653df59e357c5865ac4e538ea71a3048
chemteam
parents:
diff changeset
37 </configfile>
77aaf9a68166 planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit 4546df85653df59e357c5865ac4e538ea71a3048
chemteam
parents:
diff changeset
38 </configfiles>
77aaf9a68166 planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit 4546df85653df59e357c5865ac4e538ea71a3048
chemteam
parents:
diff changeset
39 <inputs>
77aaf9a68166 planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit 4546df85653df59e357c5865ac4e538ea71a3048
chemteam
parents:
diff changeset
40 <param argument="gro_input" type="data" format='gro' label="GRO structure file."/>
77aaf9a68166 planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit 4546df85653df59e357c5865ac4e538ea71a3048
chemteam
parents:
diff changeset
41 <param argument="top_input" type="data" format='top' label="Topology (TOP) file."/>
77aaf9a68166 planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit 4546df85653df59e357c5865ac4e538ea71a3048
chemteam
parents:
diff changeset
42 <param name="water_model" type="select" label="Water model for solvation.">
77aaf9a68166 planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit 4546df85653df59e357c5865ac4e538ea71a3048
chemteam
parents:
diff changeset
43 <option value="tip3p">TIP3P</option>
77aaf9a68166 planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit 4546df85653df59e357c5865ac4e538ea71a3048
chemteam
parents:
diff changeset
44 <option value="tip4p">TIP4P</option>
77aaf9a68166 planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit 4546df85653df59e357c5865ac4e538ea71a3048
chemteam
parents:
diff changeset
45 <option value="spc216">SPC</option>
77aaf9a68166 planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit 4546df85653df59e357c5865ac4e538ea71a3048
chemteam
parents:
diff changeset
46 </param>
77aaf9a68166 planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit 4546df85653df59e357c5865ac4e538ea71a3048
chemteam
parents:
diff changeset
47 <param name="capture_log" type="boolean" value="false" label="Generate Detailed Log" help="Generate detailed log information that can be summarized with ParseLog."/>
77aaf9a68166 planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit 4546df85653df59e357c5865ac4e538ea71a3048
chemteam
parents:
diff changeset
48
77aaf9a68166 planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit 4546df85653df59e357c5865ac4e538ea71a3048
chemteam
parents:
diff changeset
49 </inputs>
77aaf9a68166 planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit 4546df85653df59e357c5865ac4e538ea71a3048
chemteam
parents:
diff changeset
50 <outputs>
77aaf9a68166 planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit 4546df85653df59e357c5865ac4e538ea71a3048
chemteam
parents:
diff changeset
51 <data name="output1" format="gro" from_work_dir="solv_ions.gro"/>
77aaf9a68166 planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit 4546df85653df59e357c5865ac4e538ea71a3048
chemteam
parents:
diff changeset
52 <data name="output2" format="top" from_work_dir="./top_input.top"/>
77aaf9a68166 planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit 4546df85653df59e357c5865ac4e538ea71a3048
chemteam
parents:
diff changeset
53 <data name="report" format="txt" from_work_dir="verbose.txt">
77aaf9a68166 planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit 4546df85653df59e357c5865ac4e538ea71a3048
chemteam
parents:
diff changeset
54 <filter>capture_log</filter>
77aaf9a68166 planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit 4546df85653df59e357c5865ac4e538ea71a3048
chemteam
parents:
diff changeset
55 </data>
77aaf9a68166 planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit 4546df85653df59e357c5865ac4e538ea71a3048
chemteam
parents:
diff changeset
56 </outputs>
77aaf9a68166 planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit 4546df85653df59e357c5865ac4e538ea71a3048
chemteam
parents:
diff changeset
57 <tests>
77aaf9a68166 planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit 4546df85653df59e357c5865ac4e538ea71a3048
chemteam
parents:
diff changeset
58 <test>
77aaf9a68166 planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit 4546df85653df59e357c5865ac4e538ea71a3048
chemteam
parents:
diff changeset
59 <param name="gro_input" value="newbox.gro" />
77aaf9a68166 planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit 4546df85653df59e357c5865ac4e538ea71a3048
chemteam
parents:
diff changeset
60 <param name="top_input" value="topol.top" />
77aaf9a68166 planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit 4546df85653df59e357c5865ac4e538ea71a3048
chemteam
parents:
diff changeset
61 <param name="water_model" value="spc216" />
77aaf9a68166 planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit 4546df85653df59e357c5865ac4e538ea71a3048
chemteam
parents:
diff changeset
62 <output name="output1" file="solv_ions.gro" ftype="gro" compare="sim_size"/>
77aaf9a68166 planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit 4546df85653df59e357c5865ac4e538ea71a3048
chemteam
parents:
diff changeset
63 <output name="output2" file="topol_solv.top" ftype="top"/>
77aaf9a68166 planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit 4546df85653df59e357c5865ac4e538ea71a3048
chemteam
parents:
diff changeset
64 </test>
77aaf9a68166 planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit 4546df85653df59e357c5865ac4e538ea71a3048
chemteam
parents:
diff changeset
65 </tests>
77aaf9a68166 planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit 4546df85653df59e357c5865ac4e538ea71a3048
chemteam
parents:
diff changeset
66 <help><![CDATA[
77aaf9a68166 planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit 4546df85653df59e357c5865ac4e538ea71a3048
chemteam
parents:
diff changeset
67
77aaf9a68166 planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit 4546df85653df59e357c5865ac4e538ea71a3048
chemteam
parents:
diff changeset
68 Select a water model - consistent with the one selected in system set-up and provide GRO and TOP files to be updated with the added water molecules. In addition, sodium or chloride ions are added if necessary to ensure the system is charge-neutral.
77aaf9a68166 planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit 4546df85653df59e357c5865ac4e538ea71a3048
chemteam
parents:
diff changeset
69
77aaf9a68166 planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit 4546df85653df59e357c5865ac4e538ea71a3048
chemteam
parents:
diff changeset
70 ]]></help>
77aaf9a68166 planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit 4546df85653df59e357c5865ac4e538ea71a3048
chemteam
parents:
diff changeset
71
77aaf9a68166 planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit 4546df85653df59e357c5865ac4e538ea71a3048
chemteam
parents:
diff changeset
72 <expand macro="citations" />
77aaf9a68166 planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit 4546df85653df59e357c5865ac4e538ea71a3048
chemteam
parents:
diff changeset
73 </tool>