Mercurial > repos > chemteam > parmconv
annotate parmconv.xml @ 2:b500cc25dd15 draft
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3c440a43396b4d815ef35f45ed562e22bf37c028"
author | chemteam |
---|---|
date | Tue, 16 Feb 2021 21:55:34 +0000 |
parents | da2252f1ccab |
children | 2b82fc7bec67 |
rev | line source |
---|---|
1
da2252f1ccab
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 4a3f58846bcad26240ccdc6b76e8f4d2cbe63631"
chemteam
parents:
0
diff
changeset
|
1 <tool id="parmconv" name="Convert Parameters" version="@TOOL_VERSION@+galaxy@GALAXY_VERSION@"> |
0
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
2 <description>to AMBER prmtop in preparation for MMPBSA</description> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
3 <macros> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
4 <import>macros.xml</import> |
1
da2252f1ccab
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 4a3f58846bcad26240ccdc6b76e8f4d2cbe63631"
chemteam
parents:
0
diff
changeset
|
5 <token name="@GALAXY_VERSION@">0</token> |
0
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
6 </macros> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
7 <expand macro="requirements"> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
8 <requirement type="package" version="3.2.0">parmed</requirement> |
1
da2252f1ccab
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 4a3f58846bcad26240ccdc6b76e8f4d2cbe63631"
chemteam
parents:
0
diff
changeset
|
9 <requirement type="package" version="2020.4">gromacs</requirement> |
da2252f1ccab
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 4a3f58846bcad26240ccdc6b76e8f4d2cbe63631"
chemteam
parents:
0
diff
changeset
|
10 <requirement type="package" version="2.11.2">jinja2</requirement> |
0
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
11 </expand> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
12 <command detect_errors="exit_code"> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
13 <![CDATA[ |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
14 python '$templating_script' '$inputs' && |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
15 PATH_TO_PARMED=\$(dirname `which parmed`) && |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
16 export AMBERHOME=\$(dirname \$PATH_TO_PARMED) && |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
17 export GMXDATA=\$AMBERHOME/share/gromacs/top/ && |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
18 parmed -i ligand.script -O && |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
19 parmed -i receptor.script -O && |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
20 parmed -i complex.script -O && |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
21 parmed -i solvatedcomplex.script -O |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
22 |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
23 ]]> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
24 </command> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
25 <configfiles> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
26 <inputs name="inputs"/> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
27 <configfile name="templating_script"> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
28 <![CDATA[ |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
29 |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
30 import os |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
31 import sys |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
32 import json |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
33 |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
34 from jinja2 import Environment, FileSystemLoader |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
35 input_json_path = sys.argv[1] |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
36 params = json.load(open(input_json_path, "r")) |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
37 currentpath = "$__tool_directory__" # should work generally |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
38 template_environment = Environment(loader=FileSystemLoader(currentpath),lstrip_blocks=True, trim_blocks=True) |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
39 template = template_environment.get_template('template_parmconv.j2') |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
40 params['fmt'] = '$param_inputs.fmt' |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
41 #if str($param_inputs.fmt) == 'AMBER': |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
42 params["top_in"] = '$param_inputs.top_in' |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
43 #else: |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
44 params["top_in"] = '$param_inputs.top_in' |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
45 params["str_in"] = '$param_inputs.str_in' |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
46 #end if |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
47 params['prmtop_ligand'] = '$prmtop_ligand' |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
48 params['prmtop_receptor'] = '$prmtop_receptor' |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
49 params['prmtop_complex'] = '$prmtop_complex' |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
50 params['prmtop_solvatedcomplex'] = '$prmtop_solvatedcomplex' |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
51 print(params) |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
52 |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
53 |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
54 def unescape(cond_text): |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
55 """ |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
56 # Unescape if input has been escaped - credit @bgruening //github.com/bgruening/galaxytools.git get_online_data.py |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
57 """ |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
58 mapped_chars = { '>' :'__gt__', |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
59 '<' :'__lt__', |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
60 "'" :'__sq__', |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
61 '"' :'__dq__', |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
62 '[' :'__ob__', |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
63 ']' :'__cb__', |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
64 '{' :'__oc__', |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
65 '}' :'__cc__', |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
66 '@' : '__at__', |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
67 '\n' : '__cn__', |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
68 '\r' : '__cr__', |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
69 '\t' : '__tc__', |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
70 '&' : '__and__' |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
71 } |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
72 for key, value in mapped_chars.items(): |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
73 cond_text = cond_text.replace( value, key ) |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
74 return cond_text |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
75 |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
76 def run_template(params=params, system="ligand"): |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
77 """ |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
78 # Render template on a selected system using a local parameter copy |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
79 """ |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
80 localparams=params.copy() # shallow copy ok for simple variables |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
81 localparams['stripmask']=unescape(localparams['stripmask_'+system]) |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
82 localparams['prmtop_out']=localparams['prmtop_'+system] |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
83 print(localparams) |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
84 with open(system+'.script','w+') as f: |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
85 f.write(template.render(localparams)) |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
86 |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
87 systems = ['ligand', 'receptor', 'complex', 'solvatedcomplex'] |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
88 for system in systems: |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
89 run_template(system=system) |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
90 |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
91 ]]> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
92 </configfile> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
93 </configfiles> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
94 <inputs> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
95 <conditional name="param_inputs"> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
96 <param name="fmt" type="select" label="Force Field format"> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
97 <option selected="True" value="AMBER">AMBER</option> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
98 <option value="GROMACS">GROMACS</option> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
99 </param> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
100 <when value="AMBER"> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
101 <param name="top_in" type="data" label="Input topology (prmtop) file" format="txt"/> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
102 </when> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
103 <when value="GROMACS"> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
104 <param name="top_in" type="data" label="Input topology (top) file" format="top"/> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
105 <param name="str_in" type="data" label="Input structure (gro) file" format="gro"/> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
106 </when> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
107 </conditional> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
108 <param name="stripmask_ligand" type="text" label="Ligand selection" value="!:UNL" help="Define a valid AMBER stripmask that will select only the ligand"> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
109 <sanitizer> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
110 <valid initial="string.printable"> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
111 <remove value="&"/> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
112 </valid> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
113 <mapping initial="none"> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
114 <add source="&" target="__and__"/> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
115 </mapping> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
116 </sanitizer> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
117 </param> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
118 <param name="stripmask_receptor" type="text" label="Receptor selection" value=":NA,SOL,UNL" help="Define a valid AMBER stripmask that will select only the receptor"> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
119 <sanitizer> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
120 <valid initial="string.printable"> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
121 <remove value="&"/> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
122 </valid> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
123 <mapping initial="none"> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
124 <add source="&" target="__and__"/> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
125 </mapping> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
126 </sanitizer> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
127 </param> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
128 <param name="stripmask_complex" type="text" label="Complex selection" value=":NA,SOL" help="Define a valid AMBER stripmask that will select the complex (receptor with ligand)"> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
129 <sanitizer> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
130 <valid initial="string.printable"> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
131 <remove value="&"/> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
132 </valid> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
133 <mapping initial="none"> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
134 <add source="&" target="__and__"/> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
135 </mapping> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
136 </sanitizer> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
137 </param> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
138 <param name="stripmask_solvatedcomplex" type="text" label="Solvated complex selection" help="Define a valid AMBER stripmask that will select the solvated complex (includes water and ions)"> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
139 <sanitizer> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
140 <valid initial="string.printable"> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
141 <remove value="&"/> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
142 </valid> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
143 <mapping initial="none"> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
144 <add source="&" target="__and__"/> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
145 </mapping> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
146 </sanitizer> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
147 </param> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
148 </inputs> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
149 <outputs> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
150 <data format="txt" name="prmtop_ligand" label="ligand prmtop"/> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
151 <data format="txt" name="prmtop_receptor" label="receptor prmtop"/> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
152 <data format="txt" name="prmtop_complex" label="complex prmtop"/> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
153 <data format="txt" name="prmtop_solvatedcomplex" label="solvated complex prmtop"/> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
154 </outputs> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
155 <tests> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
156 <test> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
157 <!--example in this test is not solvated but sufficient --> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
158 <param name="fmt" value="AMBER"/> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
159 <conditional name="param_inputs"> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
160 <param name="top_in" value="complex.prmtop"/> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
161 </conditional> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
162 <param name="stripmask_ligand" value="!:RAL"/> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
163 <param name="stripmask_receptor" value=":NA,CL,SOL,WAT,RAL"/> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
164 <param name="stripmask_complex" value=":NA,CL,SOL,WAT"/> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
165 <output name="prmtop_ligand"> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
166 <assert_contents> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
167 <has_text text=" 61 15"/> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
168 <has_text text="%FLAG MASS"/> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
169 <has_text text="RAL"/> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
170 </assert_contents> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
171 </output> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
172 <output name="prmtop_receptor"> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
173 <assert_contents> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
174 <has_text text=" 3880 15"/> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
175 <has_text text="%FLAG MASS"/> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
176 <has_text text="ALA LEU"/> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
177 <not_has_text text="RAL "/> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
178 </assert_contents> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
179 </output> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
180 <output name="prmtop_complex"> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
181 <assert_contents> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
182 <has_text text=" 3941 15"/> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
183 <has_text text="%FLAG MASS"/> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
184 <has_text text="ALA LEU"/> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
185 <has_text text="RAL"/> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
186 </assert_contents> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
187 </output> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
188 </test> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
189 <test> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
190 <!--example in this test is from @sbrays' gromacs tests. It has no ligand but is sufficient and will not take extra space in the repo! --> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
191 <param name="fmt" value="GROMACS"/> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
192 <conditional name="param_inputs"> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
193 <param name="top_in" value="topol_solv.top"/> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
194 <param name="str_in" value="solv_ions.gro"/> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
195 </conditional> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
196 <!-- pretending CL is a ligand --> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
197 <param name="stripmask_ligand" value="!:CL"/> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
198 <param name="stripmask_receptor" value=":NA,CL,SOL,WAT"/> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
199 <!-- test a fairly complex selection. All backbone oxygens in residues 1-500 but not in water, lysine or arginine --> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
200 <param name="stripmask_solvatedcomplex" value=":1-500@O&!(:WAT|:LYS,ARG)"/> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
201 <output name="prmtop_ligand"> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
202 <assert_contents> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
203 <has_text text=" 8 59"/> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
204 <has_text text="%FLAG MASS"/> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
205 <has_text text="CL"/> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
206 </assert_contents> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
207 </output> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
208 <output name="prmtop_receptor"> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
209 <assert_contents> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
210 <has_text text=" 1960 59"/> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
211 <has_text text="%FLAG MASS"/> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
212 <has_text text="LYS VAL PHE "/> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
213 <not_has_text text="CL "/> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
214 </assert_contents> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
215 </output> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
216 <output name="prmtop_solvatedcomplex"> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
217 <assert_contents> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
218 <has_text text=" 38265 59"/> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
219 <has_text text="%FLAG MASS"/> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
220 <has_text text="LYS VAL PHE"/> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
221 </assert_contents> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
222 </output> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
223 </test> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
224 </tests> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
225 <help> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
226 <![CDATA[ |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
227 .. class:: infomark |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
228 |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
229 **What it does** |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
230 |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
231 This tool converts parameter and topology files that represent a solvated complex into parameter files for the ligand, receptor, complex and solvated complex in AMBER prmtop format. These files are needed for MMPBSA calculations. |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
232 |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
233 .. class:: infomark |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
234 |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
235 **How it works** |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
236 |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
237 AmberTools ParmEd is used to strip unneeded atoms and save out the parameter files. The stripmasks are defined by the user. |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
238 |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
239 .. class:: infomark |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
240 |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
241 **Outputs created** |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
242 |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
243 prmtop files for the ligand, receptor, complex and solvated complex. |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
244 |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
245 .. class:: infomark |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
246 |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
247 **User guide and documentation** |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
248 |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
249 - The `AmberTools Manual`_ |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
250 - The `Parmed Documentation`_ |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
251 |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
252 |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
253 .. _`AmberTools Manual`: https://ambermd.org/doc12/Amber18.pdf |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
254 .. _`Parmed Documentation`: https://parmed.github.io/ParmEd/html/index.html |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
255 |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
256 |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
257 ]]> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
258 </help> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
259 <expand macro="citations"> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
260 <citation type="bibtex">@misc{parmed_2020, author = {ParmEd}, title = {ParmEd/ParmEd}, url={https://github.com/ParmEd/ParmEd}, abstract = {Parameter/topology editor and molecular simulator. Contribute to ParmEd/ParmEd development by creating an |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
261 account on GitHub.}, urldate = {2020-04-03}, publisher = {GitHub}, year = {2020}, month = mar, }</citation> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
262 </expand> |
6c6cecf51bd0
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 3664d8011044773cc3250ce15d712d97b0b91373"
chemteam
parents:
diff
changeset
|
263 </tool> |