annotate filter/ob_remDuplicates.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_remDuplicates" name="Remove duplicated 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 --unique "${descriptor}"
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
14 -O "${outfile}"
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" type="data" format="sdf,mol,mol2,cml,inchi,smi" label="Molecular input file"/>
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
21 <param name="descriptor" type="select" label="Select descriptor for molecule comparison">
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
22 <option value="inchi" checked="True">InChI (default)</option>
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
23 <option value="cansmi">Canonical SMILES</option>
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
24 <option value="cansmiNS">Canonical SMILES (without stereo)</option>
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
25 </param>
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
26 </inputs>
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
27 <outputs>
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
28 <data format_source="infile" name="outfile"/>
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
29 </outputs>
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
30 <tests>
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
31 <test>
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
32 <param name="infile" ftype="smi" value="2_mol.smi"/>
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
33 <param name="descriptor" value="inchi" />
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
34 <output name="outfile" ftype="smi" file="ob_remDuplicates_on_2_mol.smi" />
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
35 </test>
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
36 </tests>
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
37 <help>
2
125da3a296ca Uploaded
bgruening
parents: 0
diff changeset
38 <![CDATA[
0
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
39
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
40 .. class:: infomark
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
41
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
42 **What this tool does**
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
43
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
44 Filters a library of compounds and removes duplicated molecules.
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
45
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
46 -----
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
47
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
48 .. class:: warningmark
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
49
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
50 **Hint**
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
51
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
52 Comparison based on Canonical SMILES without stereochemistry may be useful in cases where this information is not crucial for library preparation. Several VS tools will automatically generate stereoisomeric forms.
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
53
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
54 -----
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
55
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
56 .. class:: infomark
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
57
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
58 **Input**
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
59
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
60 | - `InChI`_
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
61 | - `SMILES Format`_
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
62
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
63 .. _InChI: http://www.iupac.org/home/publications/e-resources/inchi.html
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
64 .. _SMILES Format: http://en.wikipedia.org/wiki/Simplified_molecular_input_line_entry_specification
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
65
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
66 -----
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
67
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
68 .. class:: infomark
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
69
2
125da3a296ca Uploaded
bgruening
parents: 0
diff changeset
70 **Output**
0
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
71
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
72 Same as input format.
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
73
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
74 -----
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
75
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
76 .. class:: infomark
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
77
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
78 **Cite**
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
79
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
80 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
81
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
82 .. _`Open Babel: An open chemical toolbox.`: http://www.jcheminf.com/content/3/1/33
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
83
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
84 `Open Babel`_
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
85
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
86 .. _`Open Babel`: http://openbabel.org/wiki/Main_Page
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
87
2
125da3a296ca Uploaded
bgruening
parents: 0
diff changeset
88 ]]>
0
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
89 </help>
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
90 </tool>