0
|
1 <tool id="ctb_remIons" name="Remove counterions and fragments" version="1.0">
|
|
2 <description></description>
|
|
3 <parallelism method="multi" split_inputs="infile" split_mode="to_size" split_size="50000" shared_inputs="" merge_outputs="outfile"></parallelism>
|
|
4 <requirements>
|
|
5 <requirement type="package" version="2.3.2">openbabel</requirement>
|
|
6 </requirements>
|
|
7 <command interpreter="python">
|
|
8 ob_remIons.py
|
|
9 -i "${infile}"
|
|
10 -iformat "${infile.ext}"
|
|
11 -o "${outfile}"
|
|
12 </command>
|
|
13 <inputs>
|
|
14 <param name="infile" type="data" format="sdf,mol,mol2,cml,inchi,smi" label="Select input file with multiple molecules"/>
|
|
15 </inputs>
|
|
16 <outputs>
|
|
17 <data format_source="infile" name="outfile"/>
|
|
18 </outputs>
|
|
19 <tests>
|
|
20 <test>
|
|
21 <param name="infile" ftype="smi" value="2_mol.smi"/>
|
|
22 <output name="outfile" ftype="smi" file="obrmions_on_2_mol.smi" />
|
|
23 </test>
|
|
24 </tests>
|
|
25 <help>
|
|
26
|
|
27 .. class:: infomark
|
|
28
|
|
29 **What this tool does**
|
|
30
|
|
31 Parses a multiple molecules file and deletes any present counterions or fragments.
|
|
32
|
|
33 -----
|
|
34
|
|
35 .. class:: warningmark
|
|
36
|
|
37 **Hint**
|
|
38
|
|
39 | Only the **largest fragment** on every molecule is extracted.
|
|
40 |
|
|
41 | Only molecules with more than 5 heavy atoms are parsed.
|
|
42
|
|
43 -----
|
|
44
|
|
45 .. class:: infomark
|
|
46
|
|
47 **Cite**
|
|
48
|
|
49 N M O'Boyle, C Morley and G R Hutchison - `Pybel: a Python wrapper for the OpenBabel cheminformatics toolkit`_
|
|
50
|
|
51 .. _`Pybel: a Python wrapper for the OpenBabel cheminformatics toolkit`: http://journal.chemistrycentral.com/content/2/1/5
|
|
52
|
|
53 N M O'Boyle, M Banck, C A James, C Morley, T Vandermeersch, and G R Hutchison - `Open Babel: An open chemical toolbox.`_
|
|
54
|
|
55 .. _`Open Babel: An open chemical toolbox.`: http://www.jcheminf.com/content/3/1/33
|
|
56
|
|
57 `Open Babel`_
|
|
58
|
|
59 .. _`Open Babel`: http://openbabel.org/wiki/Main_Page
|
|
60
|
|
61 </help>
|
|
62 </tool>
|