Mercurial > repos > marcel > caddsuite_linux_x86_64
annotate CADDSuite-1.5/galaxyconfigs/tools/EvenSplit.xml @ 15:ac342506cd4e draft
CADDSuite version 1.5
author | Marcel Schumann <schumann.marcel@gmail.com> |
---|---|
date | Tue, 24 Jul 2012 11:08:49 -0400 |
parents | |
children |
rev | line source |
---|---|
15
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
1 |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
2 <!--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.--> |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
3 <tool id="evensplit" name="EvenSplit" version="1.5"> |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
4 <description>generate splits w/ equal property range</description> |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
5 <command interpreter="bash"><![CDATA[../../EvenSplit |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
6 #if str( $i ) != '' and str( $i ) != 'None' : |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
7 -i "$i" |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
8 #end if |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
9 #if str( $o1 ) != '' and str( $o1 ) != 'None' : |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
10 -o1 "$o1" |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
11 #end if |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
12 #if str( $o2 ) != '' and str( $o2 ) != 'None' : |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
13 -o2 "$o2" |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
14 #end if |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
15 #if str( $prop ) != '' and str( $prop ) != 'None' : |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
16 -prop "$prop" |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
17 #end if |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
18 #if str( $n ) != '' and str( $n ) != 'None' : |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
19 -n "$n" |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
20 #end if |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
21 #if str( $k ) != '' and str( $k ) != 'None' : |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
22 -k "$k" |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
23 #end if |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
24 #if str( $offset ) != '' and str( $offset ) != 'None' : |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
25 -offset "$offset" |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
26 #end if |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
27 | tail -n 5 |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
28 ]]></command> |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
29 <inputs> |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
30 <param name="i" optional="false" label="input file" type="data" format="mol2/sdf/drf"/> |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
31 <param name="prop" optional="false" label="property name" area="true" type="text" size="1x15" value="binding_free_energy"/> |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
32 <param name="n" optional="true" label="Optional: max. number of compounds to use from input file" type="text" area="true" size="1x5" value=""/> |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
33 <param name="k" optional="true" label="Optional: extract each k'th compound to 2nd output file" type="text" area="true" size="1x5" value="2"/> |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
34 <param name="offset" optional="true" label="Optional: offset; extract each (i+offset)%k == 0 to 2nd output file" type="text" area="true" size="1x5" value="0"/> |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
35 </inputs> |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
36 <outputs> |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
37 <data name="o1" format="mol2/sdf/drf" format_source="i"/> |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
38 <data name="o2" format="mol2/sdf/drf" format_source="i"/> |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
39 </outputs> |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
40 <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'.</help> |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
41 </tool> |