|
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="EvenSplit" name="EvenSplit" version="1.1.0">
|
|
|
5 <description>generate splits w/ equal property range</description>
|
|
|
6 <macros>
|
|
|
7 <token name="@EXECUTABLE@">EvenSplit</token>
|
|
|
8 <import>macros.xml</import>
|
|
|
9 </macros>
|
|
|
10 <expand macro="stdio"/>
|
|
|
11 <expand macro="requirements"/>
|
|
|
12 <command>EvenSplit
|
|
|
13
|
|
|
14 #if $param_i:
|
|
|
15 -i $param_i
|
|
|
16 #end if
|
|
|
17 #if $param_o1:
|
|
|
18 -o1 $param_o1
|
|
|
19 #end if
|
|
|
20 #if $param_o2:
|
|
|
21 -o2 $param_o2
|
|
|
22 #end if
|
|
|
23 #if $param_prop:
|
|
|
24 -prop "$param_prop"
|
|
|
25 #end if
|
|
|
26 #if $param_n:
|
|
|
27 -n $param_n
|
|
|
28 #end if
|
|
|
29 #if $param_k:
|
|
|
30 -k $param_k
|
|
|
31 #end if
|
|
|
32 #if $param_offset:
|
|
|
33 -offset $param_offset
|
|
|
34 #end if
|
|
|
35 </command>
|
|
|
36 <inputs>
|
|
|
37 <param name="param_i" type="data" format="mol2,sdf,drf" optional="False" value="<class 'CTDopts.CTDopts._Null'>" label="input file" help="(-i) "/>
|
|
|
38 <param name="param_prop" type="text" size="30" value="binding_free_energy" label="property name" help="(-prop) ">
|
|
|
39 <sanitizer>
|
|
|
40 <valid initial="string.printable">
|
|
|
41 <remove value="'"/>
|
|
|
42 <remove value="""/>
|
|
|
43 </valid>
|
|
|
44 </sanitizer>
|
|
|
45 </param>
|
|
|
46 <param name="param_n" type="integer" value="0" label="max. number of compounds to use from input file" help="(-n) "/>
|
|
|
47 <param name="param_k" type="integer" value="2" label="extract each k'th compound to 2nd output file" help="(-k) "/>
|
|
|
48 <param name="param_offset" type="integer" value="0" label="offset; extract each (i+offset)%k == 0 to 2nd output file" help="(-offset) "/>
|
|
|
49 </inputs>
|
|
|
50 <expand macro="advanced_options"/>
|
|
|
51 <outputs>
|
|
|
52 <data name="param_o1" metadata_source="param_i" format="input"/>
|
|
|
53 <data name="param_o2" metadata_source="param_i" format="input"/>
|
|
|
54 </outputs>
|
|
|
55 <help>This tool splits a molecule file into two subsets in such a way that each of them convers an equal range of a property. The property with respect to which this is to be done should be specified with '-prop'.
|
|
|
56
|
|
|
57 </help>
|
|
|
58 </tool>
|