comparison ob_remDuplicates.xml @ 0:75d6c2b7907a draft

planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/openbabel commit 01da22e4184a5a6f6a3dd4631a7b9c31d1b6d502
author bgruening
date Sat, 20 May 2017 08:39:17 -0400
parents
children 65254472e5b4
comparison
equal deleted inserted replaced
-1:000000000000 0:75d6c2b7907a
1 <tool id="openbabel_remDuplicates" name="Remove duplicated molecules" version="@VERSION@.0">
2 <description></description>
3 <!--parallelism method="multi" split_inputs="infile" split_mode="to_size" split_size="10000" shared_inputs="" merge_outputs="outfile"></parallelism-->
4 <macros>
5 <import>macros.xml</import>
6 </macros>
7 <expand macro="requirements"/>
8 <command detect_errors="aggressive">
9 <![CDATA[
10 obabel
11 -i"${infile.ext}"
12 "${infile}"
13 -ocopy
14 --unique "${descriptor}"
15 -O "${outfile}"
16 -e
17 ]]>
18 </command>
19 <inputs>
20 <expand macro="infile_all_types"/>
21 <param name="descriptor" type="select" label="Select descriptor for molecule comparison">
22 <option value="inchi" selected="True">InChI (default)</option>
23 <option value="cansmi">Canonical SMILES</option>
24 <option value="cansmiNS">Canonical SMILES (without stereo)</option>
25 </param>
26 </inputs>
27 <outputs>
28 <expand macro="output_like_input"/>
29 </outputs>
30 <tests>
31 <test>
32 <param name="infile" ftype="smi" value="2_mol.smi"/>
33 <param name="descriptor" value="inchi" />
34 <output name="outfile" ftype="smi" file="ob_remDuplicates_on_2_mol.smi" />
35 </test>
36 </tests>
37 <help>
38 <![CDATA[
39
40 .. class:: infomark
41
42 **What this tool does**
43
44 Filters a library of compounds and removes duplicated molecules.
45
46 -----
47
48 .. class:: warningmark
49
50 **Hint**
51
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.
53
54 -----
55
56 .. class:: infomark
57
58 **Input**
59
60 | - `InChI`_
61 | - `SMILES Format`_
62
63 .. _InChI: http://www.iupac.org/home/publications/e-resources/inchi.html
64 .. _SMILES Format: http://en.wikipedia.org/wiki/Simplified_molecular_input_line_entry_specification
65
66 -----
67
68 .. class:: infomark
69
70 **Output**
71
72 Same as input format.
73
74
75 ]]>
76 </help>
77 <expand macro="citations"/>
78 </tool>