comparison rbcavity.xml @ 0:e99f861ba68a draft

"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/rxdock commit bb19570293b920983b6856b30b42203a09543bc5"
author bgruening
date Sat, 04 Apr 2020 15:04:13 -0400
parents
children 583dcdbdbf42
comparison
equal deleted inserted replaced
-1:000000000000 0:e99f861ba68a
1 <tool id="rxdock_rbcavity" name="rxDock cavity definition" version="0.1">
2 <description>- generate the active site definition needed for rxDock docking</description>
3 <macros>
4 <import>rdock_macros.xml</import>
5 </macros>
6 <expand macro="requirements"/>
7 <command><![CDATA[
8 ln -s '$receptor_prm' receptor.prm &&
9 ln -s '$receptor' receptor.mol2 &&
10 ln -s '$ligand' ligand.sdf &&
11 rbcavity -W -d -r receptor.prm &&
12 ls -l
13 ]]></command>
14
15 <configfiles>
16 <configfile name="receptor_prm">RBT_PARAMETER_FILE_V1.00
17 RECEPTOR_FILE receptor.mol2
18 RECEPTOR_FLEX 3.0
19 SECTION MAPPER
20 SITE_MAPPER RbtLigandSiteMapper
21 REF_MOL ligand.sdf
22 RADIUS $radius
23 SMALL_SPHERE $sphere
24 MIN_VOLUME $min_volume
25 MAX_CAVITIES 1
26 VOL_INCR $vol_incr
27 GRIDSTEP $gridstep
28 END_SECTION
29 SECTION CAVITY
30 SCORING_FUNCTION RbtCavityGridSF
31 WEIGHT $weight
32 END_SECTION
33 </configfile>
34 </configfiles>
35
36 <inputs>
37 <param type="data" name="receptor" format="mol2" label="Receptor" help="Select a receptor (Mol2 format)."/>
38 <param type="data" name="ligand" format="mol,sdf" label="Reference ligand" help="Single ligand in Mol or SDF format"/>
39 <param name="radius" type="float" value="6.0" min="0" label="Mapper sphere radius"
40 help="Mapper radius of large sphere in angstroms; rxDock will search for cavities to the small sphere but not to the large sphere"/>
41 <param name="sphere" type="float" value="1.0" min="0" label="Mapper small sphere radius"
42 help="Mapper radius of small sphere in angstroms; rxDock will search for cavities accessible to the small sphere but not to the large sphere"/>
43 <param name="min_volume" type="integer" value="100" min="0" label="Mapper minimum volume"
44 help="Mapper minimum volume in cubic angstroms. rxDock will ignore cavities which are smaller than this value"/>
45 <param name="vol_incr" type="float" value="0.0" min="0" label="Mapper volume increment"
46 help="Mapper volume increment in angstroms. When excluding the volume occupied by the receptor from the cavity search, rxDock will temporarily increase the radius of receptor atoms by this amount"/>
47 <param name="gridstep" type="float" value="0.5" min="0" label="Mapper grid step" help="Grid resolution for mapping in angstroms"/>
48 <param name="weight" type="float" value="1.0" min="0" label="Cavity weight" help="Cavity weight"/>
49 </inputs>
50 <outputs>
51 <data name="activesite" format="rdock_as" from_work_dir="receptor.as" label="rbcavity active site on ${on_string}"/>
52 </outputs>
53 <tests>
54 <test>
55 <param name="receptor" value="receptor.mol2"/>
56 <param name="ligand" value="ligand.sdf"/>
57 <output name="activesite" file="receptor.as" compare="sim_size"/>
58 </test>
59 <test>
60 <param name="receptor" value="receptor.mol2"/>
61 <param name="ligand" value="ligand.mol"/>
62 <output name="activesite" file="receptor.as" compare="sim_size"/>
63 </test>
64 </tests>
65 <help><![CDATA[
66
67 .. class:: infomark
68
69 This tool generates the cavity definition for rxDock docking (the receptor.as file) using the rbcavity program.
70 See https://www.rxdock.org for more details about rxDock and associated programs.
71 Only a subset of the parameters are currently exposed. Read the rxDock docs for a full understanding.
72
73 -----
74
75 .. class:: infomark
76
77 **Inputs**
78
79 1. The protein receptor to dock into as a file in Mol2 format.
80 2. A reference ligand used to define the location of the active site in Molfile or SDF format.
81 3. Various parameters for the mapper and cavity generation. Sensible defaults are provided for all.
82
83 -----
84
85 .. class:: infomark
86
87 **Outputs**
88
89 An active site definition binary file (receptor.as) that is needed by the rxDock docking program to guide the docking.
90
91 ]]></help>
92 <expand macro="citations"/>
93 </tool>