2
|
1 <?xml version='1.0' encoding='UTF-8'?>
|
|
2 <!--This is a configuration file for the integration of a tools into Galaxy (https://galaxyproject.org/). This file was automatically generated using CTD2Galaxy.-->
|
|
3 <!--Proposed Tool Section: [Preparation]-->
|
|
4 <tool id="BindingDBCleaner" name="BindingDBCleaner" version="1.1.0">
|
|
5 <description>fix bindingdb.org downloads</description>
|
|
6 <macros>
|
|
7 <token name="@EXECUTABLE@">BindingDBCleaner</token>
|
|
8 <import>macros.xml</import>
|
|
9 </macros>
|
|
10 <expand macro="stdio"/>
|
|
11 <expand macro="requirements"/>
|
|
12 <command>BindingDBCleaner
|
|
13
|
|
14 #if $param_i:
|
|
15 -i $param_i
|
|
16 #end if
|
|
17 #if $param_type:
|
|
18 -type
|
|
19 #if " " in str($param_type):
|
|
20 "$param_type"
|
|
21 #else
|
|
22 $param_type
|
|
23 #end if
|
|
24 #end if
|
|
25 #if $param_o:
|
|
26 -o $param_o
|
|
27 #end if
|
|
28 #if $param_target:
|
|
29 -target "$param_target"
|
|
30 #end if
|
|
31 </command>
|
|
32 <inputs>
|
|
33 <param name="param_i" type="data" format="mol2,sdf,drf" optional="False" value="<class 'CTDopts.CTDopts._Null'>" label="input file" help="(-i) "/>
|
|
34 <param name="param_type" type="select" optional="False" value="<class 'CTDopts.CTDopts._Null'>" label="type of contained activity values: 'Ki' or 'IC50'" help="(-type) ">
|
|
35 <option value="IC50">IC50</option>
|
|
36 <option value=" Ki"> Ki</option>
|
|
37 </param>
|
|
38 <param name="param_target" type="text" size="30" value="<class 'CTDopts.CTDopts._Null'>" label="binding-DB target name" help="(-target) ">
|
|
39 <sanitizer>
|
|
40 <valid initial="string.printable">
|
|
41 <remove value="'"/>
|
|
42 <remove value="""/>
|
|
43 </valid>
|
|
44 </sanitizer>
|
|
45 </param>
|
|
46 </inputs>
|
|
47 <expand macro="advanced_options"/>
|
|
48 <outputs>
|
|
49 <data name="param_o" metadata_source="param_i" format="input"/>
|
|
50 </outputs>
|
|
51 <help>This tool cleans up the sd-properties contained in sd-files downloaded from bindingdb.org.
|
|
52
|
|
53 For all compounds in the input file, the affinity value for the specified target is searched and retained but all other properties are removed. Furthermore, the IC50 or Ki value of each compound is converted to a binding-free-energy value in units of [kJ/mol] that is added as a property-tag named 'binding_free_energy'.
|
|
54
|
|
55 All compounds in the input file for which no IC50 resp. Ki value for the specified target can found, are ignored and not written to the output file.
|
|
56
|
|
57 </help>
|
|
58 </tool>
|