annotate mmpbsa_mmgbsa.xml @ 0:52e64e8cf203 draft

"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
author chemteam
date Fri, 28 Feb 2020 03:47:30 -0500
parents
children d09f116dfca5
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
1 <tool id="mmpbsa_mmgbsa" name="mmpbsa mmgbsa" version="@VERSION@">
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
2 <description>- estimate ligand binding affinities
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
3 </description>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
4 <macros>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
5 <import>macros.xml</import>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
6 </macros>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
7 <expand macro="requirements">
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
8 <requirement type="package" version="2.11.1">jinja2</requirement>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
9 </expand>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
10 <command detect_errors="exit_code">
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
11 <![CDATA[
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
12 python '$mmpbsa_script' '$inputs' &&
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
13 export AMBERHOME=\$CONDA_PREFIX &&
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
14 #if $input.simulation.solvatedcomplex:
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
15 MMPBSA.py -O -i '$parameteroutfile' -sp '$input.simulation.solvatedcomplex' -cp '$input.simulation.complex' -rp '$input.simulation.receptor' -lp '$input.simulation.ligand' -y '$input.simulation.trajcomplex' -o '$resultoutfile' -do '$decompoutfile'
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
16 #else:
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
17 MMPBSA.py -O -i '$parameteroutfile' -cp '$input.simulation.complex' -rp '$input.simulation.receptor' -lp '$input.simulation.ligand' -y '$input.simulation.trajcomplex' -o '$resultoutfile' -do '$decompoutfile'
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
18 #end if
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
19
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
20 ]]>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
21 </command>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
22 <configfiles>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
23 <inputs name="inputs"/>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
24 <configfile name="mmpbsa_script">
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
25 <![CDATA[
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
26
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
27 import os
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
28 import sys
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
29 import json
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
30
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
31 from jinja2 import Environment, FileSystemLoader
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
32
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
33 input_json_path = sys.argv[1]
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
34 params = json.load(open(input_json_path, "r"))
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
35
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
36
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
37 currentpath = "$__tool_directory__" # should work generally
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
38 template_environment = Environment(loader=FileSystemLoader(currentpath),lstrip_blocks=True, trim_blocks=True)
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
39 template = template_environment.get_template('template_mmpbsa_mmgbsa.j2')
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
40 print(params)
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
41
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
42 with open("$parameteroutfile",'w+') as f:
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
43 f.write(template.render(params))
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
44
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
45 ]]>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
46 </configfile>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
47 </configfiles>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
48 <inputs>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
49 <section name="input" title="Input" expanded="true">
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
50 <conditional name="simulation">
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
51 <param name="simtype" type="select" label="Single or Multiple Trajectories" help="For a single complex in water choose Single. For complex, receptor and ligand trajectories choose multiple">
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
52 <option selected="True" value="single">Single Trajectory Protocol (STP)</option>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
53 <option value="multiple">Multiple Trajectory Protocol (MTP)</option>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
54 </param>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
55 <when value="single">
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
56 <param format="txt" name="ligand" type="data" label="AMBER prmtop input for Ligand"/>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
57 <param format="txt" name="receptor" type="data" label="AMBER prmtop input for Receptor"/>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
58 <param format="txt" name="complex" type="data" label="AMBER prmtop input for Complex"/>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
59 <param format="txt" optional="true" name="solvatedcomplex" type="data" label="AMBER prmtop input for Solvated Complex" help="This is optional. Not required if trajectory already has solvent removed"/>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
60 <param format="netcdf" name="trajcomplex" type="data" label="NetCDF trajectory input for Complex" help="Trajectory of the (solvated) complex"/>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
61 </when>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
62 <when value="multiple">
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
63 <param format="txt" name="ligand" type="data" label="AMBER prmtop input for Ligand"/>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
64 <param format="txt" name="receptor" type="data" label="AMBER prmtop input for Receptor"/>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
65 <param format="txt" name="complex" type="data" label="AMBER prmtop input for Complex"/>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
66 <param format="txt" optional="true" name="solvatedcomplex" type="data" label="AMBER prmtop input for Solvated Complex" help="This is optional. Not required if trajectory alraeady has solvent removed"/>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
67 <param format="netcdf" name="trajligand" type="data" label="NetCDF trajectory input for Ligand"/>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
68 <param format="netcdf" name="trajreceptor" type="data" label="NetCDF trajectory input for Receptor"/>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
69 <param format="netcdf" name="trajcomplex" type="data" label="NetCDF trajectory input for Complex"/>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
70 </when>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
71 </conditional>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
72 </section>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
73 <section name="allparams" title="General parameters" expanded="false">
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
74 <param name="startframe" type="integer" value="1" label="First frame to analyse" min="1" max="100000000"/>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
75 <param name="endframe" type="integer" value="9999999" label="Final frame to analyse" min="1" max="100000000"/>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
76 <param name="interval" type="integer" value="1" label="interval between frames analysed" min="1" max="10000"/>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
77 <param name="entropy" type="boolean" checked="true" truevalue="1" falsevalue="0" label="quasi-harmonic entropy calculation" help="Calculate the quasi-harmonic entropy"/>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
78 <param name="use_sander" type="boolean" checked="false" label="use sander" truevalue="1" falsevalue="0" help="defaults to false (will use sander if needed)."/>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
79 <param name="verbose" type="integer" value="2" label="verbosity" min="0" max="3" help="0 - not verbose 3 - ultra verbose"/>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
80 <param name="keep_files" type="boolean" checked="false" truevalue="1" falsevalue="0" label="keep additional files" help="defaults to false, no extra files kept"/>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
81 <param name="strip_mask" type="text" value=":WAT:Cl-:Na+" label="Strip mask" help="Enter a mask for removing unneeded atoms (water/ions)from the solvated prmtop"/>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
82 </section>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
83 <section name="calcdetails" title="Details of calculation and parameters" expanded="true">
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
84 <conditional name="gbcalc">
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
85 <param name="calctype" type="select" label="General Born calculation" help="Choose carry out General Born Calculation">
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
86 <option selected="True" value="yes">yes</option>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
87 <option value="no">no</option>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
88 </param>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
89 <when value="yes">
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
90 <param name="igb" type="integer" value="5" label="igb GB model" min="0" max="7" help="5 - default"/>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
91 <param name="saltcon" type="float" value="0.150" label="Salt Concentration (M)" min="0.0" max="2.0"/>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
92 </when>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
93 <when value="no"></when>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
94 </conditional>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
95 <conditional name="pbcalc">
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
96 <param name="calctype" type="select" label="Poisson Boltzman calculation" help="Choose carry out Poisson Boltzman Calculation">
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
97 <option value="yes">yes</option>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
98 <option selected="True" value="no">no</option>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
99 </param>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
100 <when value="yes">
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
101 <param name="istrng" type="float" value="0.15" label="Ionic Strength (M)" min="0.0" max="2.0"/>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
102 <param name="fillratio" type="float" value="4.0" label="Fill ratio" help="The ratio between the longest dimension of the rectangular finite-difference grid and that of the solute" min="0.0" max="10.0"/>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
103 <param name="inp" type="integer" value="1" label="Nonpolar solvation method" min="1" max="2" help="1 - default"/>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
104 <param name="radiopt" type="integer" value="0" label="Use optimized radii?" min="0" max="2" help="0 - default do not use these"/>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
105 </when>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
106 <when value="no"></when>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
107 </conditional>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
108 <conditional name="decomposition">
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
109 <param name="decomposition" type="select" label="Decomposition Analysis" help="Choose to carry out decomposition analysis">
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
110 <option selected="True" value="yes">yes</option>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
111 <option value="no">no</option>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
112 </param>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
113 <when value="yes">
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
114 <param name="csv_format" type="boolean" checked="true" truevalue="1" falsevalue="0" label="CSV format" help="Defaults to true, CSV format. Choose false for unformatted text output"/>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
115 <param name="dec_verbose" type="integer" value="1" label="Decomposition Verbosity" min="0" max="2" help="choose how verbose the output is. 0 - not verbose, 2- very verbose"/>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
116 <param name="idecomp" type="integer" value="1" label="Energy Decomposition Scheme" min="1" max="4" help="choose an energy decomposition scheme. 1 - 2 - 3 - 4"/>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
117 </when>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
118 <when value="no"></when>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
119 </conditional>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
120 </section>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
121 </inputs>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
122 <outputs>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
123 <data format="txt" name="resultoutfile" label="${tool.name}: Statistics"/>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
124 <data format="txt" name="decompoutfile" label="${tool.name}: Decomposition Statistics"/>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
125 <data format="txt" name="parameteroutfile" label="${tool.name}: parameter output"/>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
126 </outputs>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
127 <tests>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
128 <test>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
129 <param name="ligand" value="ligand.prmtop" ftype="txt"/>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
130 <param name="receptor" value="receptor.prmtop" ftype="txt"/>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
131 <param name="complex" value="complex.prmtop" ftype="txt"/>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
132 <param name="trajcomplex" value="1err_desolvated_mini.nc" ftype="netcdf"/>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
133 <conditional name="allparams">
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
134 <param name="entropy" value="false"/>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
135 </conditional>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
136 <conditional name="gbcalc">
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
137 <param name="calctype" value="yes"/>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
138 <param name="igb" value="2"/>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
139 <param name="saltcon" value="0.100"/>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
140 </conditional>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
141 <conditional name="decomposition">
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
142 <param name="decomposition" value="no"/>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
143 </conditional>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
144 <output name="resultoutfile">
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
145 <assert_contents>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
146 <has_text text="GENERALIZED BORN:"/>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
147 <has_text text="DELTA TOTAL -53."/>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
148 </assert_contents>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
149 </output>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
150 </test>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
151 <test>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
152 <param name="ligand" value="ligand.prmtop" ftype="txt"/>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
153 <param name="receptor" value="receptor.prmtop" ftype="txt"/>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
154 <param name="complex" value="complex.prmtop" ftype="txt"/>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
155 <param name="trajcomplex" value="1err_desolvated_mini.nc" ftype="netcdf"/>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
156 <conditional name="allparams">
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
157 <param name="startframe" value="1"/>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
158 <param name="endframe" value="1"/>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
159 <param name="entropy" value="false"/>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
160 </conditional>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
161 <conditional name="gbcalc">
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
162 <param name="calctype" value="yes"/>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
163 <param name="igb" value="2"/>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
164 <param name="saltcon" value="0.100"/>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
165 </conditional>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
166 <conditional name="pbcalc">
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
167 <param name="calctype" value="yes"/>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
168 <param name="istrng" value="0.100"/>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
169 </conditional>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
170 <conditional name="decomposition">
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
171 <param name="decomposition" value="yes"/>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
172 </conditional>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
173 <output name="resultoutfile">
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
174 <assert_contents>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
175 <has_text text="GENERALIZED BORN:"/>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
176 <has_text text="DELTA TOTAL -56."/>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
177 <has_text text="POISSON BOLTZMANN:"/>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
178 <has_text text="DELTA TOTAL -47"/>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
179 </assert_contents>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
180 </output>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
181 <output name="decompoutfile">
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
182 <assert_contents>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
183 <has_text text="idecomp = 1: Per-residue decomp adding 1-4 interactions to Internal"/>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
184 <has_text text="HIE 240,R HIE 240"/>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
185 <has_text text="RAL 241,L RAL 1,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0"/>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
186 </assert_contents>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
187 </output>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
188 </test>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
189 </tests>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
190 <help>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
191 <![CDATA[
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
192 .. class:: infomark
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
193
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
194 **What it does**
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
195
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
196 This tool calculates the Molecular Mechanics Poisson-Boltzman Surface Area (MMPBSA) which is an estimate of the binding free energy between a ligand and a receptor.
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
197
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
198 .. class:: infomark
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
199
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
200 **How it works**
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
201
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
202 Prior to using this tool simulations of the ligand complexed with the receptor must be run. This tool, which wraps AmberTools will need a prmtop (Amber style parameter topology file for the receptor, ligand and the complex) and the trajectory in netCDF format.
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
203
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
204 - Single Trajectory Estimate: A simulation of the complex in water is run in advance. The trajectory of this complex is used to estimate the MMPBSA or MMGBSA depending on the options chosen. A General Born (GB) calculation is recommended as this calculation finishes quickly.
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
205 - Multiple Trajectory Estimate: A simulation of the complex in water, the receptor in water and the ligand in water are run in advance. This is useful the ligand is expected to have a significantly different conformation in solution vs in the complex. The trajectory of this complex is used to estimate the MMPBSA or MMGBSA depending on the options chosen. A General Born (GB) calculation is recommended as this calculation finishes quickly.
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
206
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
207 .. class:: infomark
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
208
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
209 **Outputs created**
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
210
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
211 - The statistics file which includes all information about the frames analysed and average energies. The DELTA G binding is estimated. If negative this is a favourable binding. Note that by default the entropy contribution to binding (unfavourable) is not calculated. A normal mode analysis is needed.
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
212 - The decomposition file contains a breakdown of each residues contribution to the energy. For example using the default Energy Decomposition Scheme (1) the interaction of each residue with the rest of the system is calculated and listed.
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
213 - The parameter file contains the input parameters passed from Galaxy to MMPBSA.py in the expected MMPBSA input format.
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
214
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
215 .. class:: infomark
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
216
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
217 **User guide and documentation**
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
218
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
219 - The `AmberTools Manual`_
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
220 - The `Amber Tutorial`_ on using MMPBSA.py
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
221 - There are many more complex flags available. This Galaxy wrapper only supports GB and PB binding free energies and decomposition. Parallel calculations are not supported at present.
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
222 - This Galaxy tool is based on MMPBSA.py. More details on options that are not details in the Manual and Tutorials can be found in the code - see "$CONDA_PREFIX/lib/python3.7/site-packages/MMPBSA_mods/input_parser.py" and "$CONDA_PREFIX/lib/python3.7/site-packages/MMPBSA_mods/main.py".
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
223
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
224 .. class:: infomark
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
225
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
226 **Test data**
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
227
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
228 - The test data for this tool comes from an `Amber Tutorial`_ and the original dataset_ is available.
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
229 - For convenience, water has been stripped from the .mdcrd trajectory and this has been converted to netcdf format.
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
230
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
231 .. code-block:: python
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
232
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
233 import mdtraj as md
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
234 traj = md.load('1err_prod.mdcrd', top='1err.solvated.prmtop')
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
235 topology = traj.topology
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
236 atoms_to_keep = topology.select('not water')
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
237 traj.restrict_atoms(atoms_to_keep)
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
238 traj.save('1err_desolvated.nc')
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
239 traj[0:2].save('1err_desolvated_mini.nc')
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
240
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
241
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
242 .. _`Amber Tutorial`: http://ambermd.org/tutorials/advanced/tutorial3/py_script/index.htm
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
243 .. _`AmberTools Manual`: https://ambermd.org/doc12/Amber18.pdf
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
244 .. _dataset: http://ambermd.org/tutorials/advanced/tutorial3/py_script/files/Est_Rec_top_mdcrd.tgz
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
245
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
246
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
247 ]]>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
248 </help>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
249 <expand macro="citations">
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
250 <expand macro="mmpbsa_citation"/>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
251 </expand>
52e64e8cf203 "planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit a68f9fb01e0cfff122aef8ddce5c866c687a4f9a"
chemteam
parents:
diff changeset
252 </tool>