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