view galaxy_stubs/GridBuilder.xml @ 2:605370bc1def draft default tip

Uploaded
author luis
date Tue, 12 Jul 2016 12:33:33 -0400
parents
children
line wrap: on
line source

<?xml version='1.0' encoding='UTF-8'?>
<!--This is a configuration file for the integration of a tools into Galaxy (https://galaxyproject.org/). This file was automatically generated using CTD2Galaxy.-->
<!--Proposed Tool Section: [Docking]-->
<tool id="GridBuilder" name="GridBuilder" version="1.1.0">
  <description>create score-grids for docking</description>
  <macros>
    <token name="@EXECUTABLE@">GridBuilder</token>
    <import>macros.xml</import>
  </macros>
  <expand macro="stdio"/>
  <expand macro="requirements"/>
  <command>GridBuilder

#if $param_rec:
  -rec $param_rec
#end if
#if $param_rl:
  -rl $param_rl
#end if
#if $param_grd:
  -grd $param_grd
#end if
#if $param_pocket:
  -pocket $param_pocket
#end if
#if $adv_opts.adv_opts_selector=='advanced':
    #if $adv_opts.param_ScoringFunction_filename:
  -ScoringFunction:filename $adv_opts.param_ScoringFunction_filename
#end if
    #if $adv_opts.param_ScoringFunction_electrostatic_cuton:
  -ScoringFunction:electrostatic_cuton $adv_opts.param_ScoringFunction_electrostatic_cuton
#end if
    #if $adv_opts.param_ScoringFunction_electrostatic_cutoff:
  -ScoringFunction:electrostatic_cutoff $adv_opts.param_ScoringFunction_electrostatic_cutoff
#end if
    #if $adv_opts.param_ScoringFunction_allowed_intermolecular_overlap:
  -ScoringFunction:allowed_intermolecular_overlap $adv_opts.param_ScoringFunction_allowed_intermolecular_overlap
#end if
    #if $adv_opts.param_ScoringFunction_ignore_H_clashes:
  -ScoringFunction:ignore_H_clashes
#end if
    #if $adv_opts.param_ScoringFunction_atom_types:
  -ScoringFunction:atom_types     "$adv_opts.param_ScoringFunction_atom_types"
#end if
    #if $adv_opts.param_ScoringFunction_allowed_intramolecular_overlap:
  -ScoringFunction:allowed_intramolecular_overlap $adv_opts.param_ScoringFunction_allowed_intramolecular_overlap
#end if
    #if $adv_opts.param_ScoringFunction_burial_depth_scale:
  -ScoringFunction:burial_depth_scale $adv_opts.param_ScoringFunction_burial_depth_scale
#end if
    #if $adv_opts.param_ScoringFunction_vdw_cutoff:
  -ScoringFunction:vdw_cutoff $adv_opts.param_ScoringFunction_vdw_cutoff
#end if
    #if $adv_opts.param_ScoringFunction_nonbonded_cutoff:
  -ScoringFunction:nonbonded_cutoff $adv_opts.param_ScoringFunction_nonbonded_cutoff
#end if
    #if $adv_opts.param_ScoringFunction_hashgrid_size:
  -ScoringFunction:hashgrid_size $adv_opts.param_ScoringFunction_hashgrid_size
#end if
    #if $adv_opts.param_ScoringFunction_vdw_cuton:
  -ScoringFunction:vdw_cuton $adv_opts.param_ScoringFunction_vdw_cuton
#end if
    #if $adv_opts.param_ScoringFunction_hashgrid_resolution:
  -ScoringFunction:hashgrid_resolution $adv_opts.param_ScoringFunction_hashgrid_resolution
#end if
#end if
</command>
  <inputs>
    <param name="param_rec" type="data" format="pdb" optional="False" value="&lt;class 'CTDopts.CTDopts._Null'&gt;" label="receptor pdb-file" help="(-rec) "/>
    <param name="param_rl" type="data" format="xyz.gz,ac,drf.gz,mol2.gz,mol2,sdf.gz,pdb.gz,ent.gz,mol.gz,hin.gz,sdf,ent,brk.gz,mol,ac.gz,brk,xyz,pdb,hin,drf" optional="False" value="&lt;class 'CTDopts.CTDopts._Null'&gt;" label="reference-ligand" help="(-rl) "/>
    <param name="param_pocket" type="data" format="ini" optional="True" value="&lt;class 'CTDopts.CTDopts._Null'&gt;" label="configuration file" help="(-pocket) "/>
    <expand macro="advanced_options">
      <param name="param_ScoringFunction_filename" type="data" format="ini" optional="True" value="Amber/amber96-docking.ini" label="file with electrostatics and vdW parameters" help="(-filename) "/>
      <param name="param_ScoringFunction_electrostatic_cuton" type="float" value="17.0" label="electrostatic cuton" help="(-electrostatic_cuton) "/>
      <param name="param_ScoringFunction_electrostatic_cutoff" type="float" value="20.0" label="electrostatic cutoff" help="(-electrostatic_cutoff) "/>
      <param name="param_ScoringFunction_allowed_intermolecular_overlap" type="float" min="0.0" max="2.0" optional="True" value="1.0" label="allowed intermolecular atom-overlap" help="(-allowed_intermolecular_overlap) "/>
      <param name="param_ScoringFunction_ignore_H_clashes" type="boolean" truevalue="-ScoringFunction:ignore_H_clashes" falsevalue="" checked="true" optional="True" label="ignore clashes involving hydrogens" help="(-ignore_H_clashes) "/>
      <param name="param_ScoringFunction_atom_types" type="text" size="30" value="C, H, N, O, P, S, Cl, F, I" label="elements for which grids should be precalculated" help="(-atom_types) ">
        <sanitizer>
          <valid initial="string.printable">
            <remove value="'"/>
            <remove value="&quot;"/>
          </valid>
        </sanitizer>
      </param>
      <param name="param_ScoringFunction_allowed_intramolecular_overlap" type="float" min="0.0" max="2.0" optional="True" value="1.0" label="allowed intramolecular atom-overlap" help="(-allowed_intramolecular_overlap) "/>
      <param name="param_ScoringFunction_burial_depth_scale" type="float" min="1.0" max="5.0" optional="True" value="1.0" label="relative-depth-of-burial scale" help="(-burial_depth_scale) "/>
      <param name="param_ScoringFunction_vdw_cutoff" type="float" value="20.0" label="vdw cutoff" help="(-vdw_cutoff) "/>
      <param name="param_ScoringFunction_nonbonded_cutoff" type="float" value="20.0" label="nonbonded cutoff" help="(-nonbonded_cutoff) "/>
      <param name="param_ScoringFunction_hashgrid_size" type="integer" value="10" label="hashgrid size (num of boxes)" help="(-hashgrid_size) "/>
      <param name="param_ScoringFunction_vdw_cuton" type="float" value="17.0" label="vdw cuton" help="(-vdw_cuton) "/>
      <param name="param_ScoringFunction_hashgrid_resolution" type="integer" min="1" max="5" optional="True" value="3" label="hashgrid resolution" help="(-hashgrid_resolution) "/>
    </expand>
  </inputs>
  <outputs>
    <data name="param_grd" format="bngrd"/>
  </outputs>
  <help>This tool precalculates a score-grid for a binding pocket of a given receptor.

As input we need:
    * a file containing a protonated protein in pdb-format
    * a file containing a reference ligand.
      This reference ligand should be located in the binding pocket, 
      so that a grid can be precalculated around it.
      Supported formats are mol2, sdf or drf (DockResultFile, xml-based).

Output of this tool is a file containing the score-grids that can be used by docking-/scoring-tools (e.g. IMeedyDock).

</help>
</tool>