annotate filter/ob_remSmall.xml @ 2:125da3a296ca draft default tip

Uploaded
author bgruening
date Wed, 15 Jul 2015 12:13:08 -0400
parents 527ecd2fc500
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
1 <tool id="ctb_remSmall" name="Remove small molecules" version="1.0">
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
2 <description></description>
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
3 <parallelism method="multi" split_inputs="infile" split_mode="to_size" split_size="10000" shared_inputs="" merge_outputs="outfile"></parallelism>
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
4 <requirements>
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
5 <requirement type="package" version="2.3.2">openbabel</requirement>
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
6 </requirements>
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
7 <command>
2
125da3a296ca Uploaded
bgruening
parents: 0
diff changeset
8 <![CDATA[
0
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
9 obabel
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
10 -i"${infile.ext}"
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
11 "${infile}"
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
12 -ocopy
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
13 -O "${outfile}"
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
14 --filter "atoms > $cutoff"
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
15 -e
2
125da3a296ca Uploaded
bgruening
parents: 0
diff changeset
16 2>&1
125da3a296ca Uploaded
bgruening
parents: 0
diff changeset
17 ]]>
0
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
18 </command>
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
19 <inputs>
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
20 <param name="infile" format="sdf,mol,mol2,cml,inchi,smi" type="data" label="Molecular input file" />
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
21 <param name="cutoff" size="3" type="integer" value="5" label="Specify the cut-off value (only molecules with more than this number of atoms will pass the filter)" />
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
22 </inputs>
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
23 <outputs>
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
24 <data format_source="infile" name="outfile" />
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
25 </outputs>
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
26 <tests>
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
27 <test>
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
28 <param name="infile" ftype="smi" value="3_mol.smi" />
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
29 <param name="cutoff" value="5" />
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
30 <output name="outfile" ftype="smi" file="obremsmall_on_3_mol.smi" />
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
31 </test>
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
32 </tests>
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
33 <help>
2
125da3a296ca Uploaded
bgruening
parents: 0
diff changeset
34 <![CDATA[
0
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
35
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
36 .. class:: infomark
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
37
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
38 **What this tool does**
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
39
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
40 Filters a library of compounds and removes small molecules below a predefined input number of atoms.
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
41
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
42 -----
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
43
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
44 .. class:: warningmark
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
45
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
46 **Hint**
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
47
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
48 Some libraries may contain molecules without a 1D/3D descriptor. These molecules may provoke crashes of any other tool. It is strongly adviced to run this tool before proceeding to any further steps.
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
49
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
50 -----
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
51
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
52 .. class:: infomark
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
53
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
54 **Output**
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
55
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
56 Same as input format.
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
57
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
58 -----
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
59
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
60 .. class:: infomark
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
61
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
62 **Cite**
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
63
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
64 N M O'Boyle, M Banck, C A James, C Morley, T Vandermeersch, and G R Hutchison - `Open Babel: An open chemical toolbox.`_
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
65
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
66 .. _`Open Babel: An open chemical toolbox.`: http://www.jcheminf.com/content/3/1/33
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
67
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
68 `Open Babel`_
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
69
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
70 .. _`Open Babel`: http://openbabel.org/wiki/Main_Page
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
71
2
125da3a296ca Uploaded
bgruening
parents: 0
diff changeset
72 ]]>
0
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
73 </help>
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
74 </tool>