view CADDSuite/galaxyconfigs/tools/PDBCutter.xml @ 3:ff6df146c0d5

Uploaded
author marcel
date Sun, 26 Jun 2011 13:53:57 -0400
parents
children b7a89b15646f
line wrap: on
line source


<!--This is a configuration file for the integration of a CADDSuite tool into Galaxy (http://usegalaxy.org). This file was automatically generated using GalaxyConfigGenerator, so do not bother to make too many manual modifications.-->
<tool id="pdbcutter" name="PDBCutter" version="0.94">
    <description>separate ligand and receptor</description>
    <command interpreter="bash"><![CDATA[../../PDBCutter 
#if str( $i ) != ''  and str( $i ) != 'None' :
   -i "$i"
#end if
#if str( $rec ) != ''  and str( $rec ) != 'None' :
   -rec "$rec"
#end if
#if str( $lig ) != ''  and str( $lig ) != 'None' :
   -lig "$lig"
#end if
#if str( $lig_chain ) != ''  and str( $lig_chain ) != 'None' :
   -lig_chain "$lig_chain"
#end if
#if str( $lig_name ) != ''  and str( $lig_name ) != 'None' :
   -lig_name "$lig_name"
#end if
#if str( $rm_ch ) != ''  and str( $rm_ch ) != 'None' :
   -rm_ch "$rm_ch"
#end if
#if str( $rm_res ) != ''  and str( $rm_res ) != 'None' :
   -rm_res "$rm_res"
#end if
 | tail -n 5
]]></command>
    <inputs>
        <param name="i" label="input pdb-file" optional="false" type="data" format="pdb"/>
        <param name="lig_chain" label="chain-name of ligand" optional="false" area="true" type="text" size="1x15"/>
        <param name="lig_name" label="ligand name" optional="false" area="true" type="text" size="1x15"/>
        <param name="rm_ch" label="protein chains that are to be deleted" optional="true" area="true" type="text" size="1x15"/>
        <param name="rm_res" label="pdb-residues that are to be deleted (e.g. water or ions)" optional="true" area="true" type="text" size="1x15"/>
    </inputs>
    <outputs>
        <data name="rec" format="pdb"/>
        <data name="lig" format="pdb"/>
    </outputs>
    <help>This tool splits a given pdb-file into two files containing receptor and reference ligand, respectively.

The name of the reference ligand (exactly as it appears in the pdb-file) and the name of its chain need to be specified by '-lig_name' and '-lig_chain'.
Optionally, chains (e.g. in case of multimers) or pdb-residues (e.g. water or ions) that you don't need can be deleted from the receptor. In this case, specify their names with '-rm_ch' or '-rm_res'.

Output of this tool is one pdb-file containing the receptor-structure, i.e. the protein w/o reference ligand and w/o undesired chains/residues (if any were specified), and one pdb-file containing the reference ligand.</help>
</tool>