1
|
1 <tool id="bg_mol2gspan" name="Molecule to gSpan" version="0.2">
|
0
|
2 <description>converter</description>
|
|
3 <parallelism method="multi" split_inputs="infile" split_mode="to_size" split_size="10" shared_inputs="" merge_outputs="outfile"></parallelism>
|
|
4 <requirements>
|
|
5 <requirement type="package" version="2.3.2">openbabel</requirement>
|
|
6 </requirements>
|
2
|
7 <xml name="stdio">
|
|
8 <stdio>
|
|
9 <exit_code range="1:" />
|
|
10 <exit_code range=":-1" />
|
|
11 <regex match="Error" />
|
|
12 <regex match="Exception" />
|
|
13 </stdio>
|
|
14 </xml>
|
1
|
15 <command interpreter="python">
|
|
16 mol2gspan.py
|
|
17 --infile $infile
|
|
18 --outfile $outfile
|
|
19 --format $infile.ext
|
0
|
20 </command>
|
|
21 <inputs>
|
|
22 <param format="smi,sdf,mol,inchi,mol2" name="infile" type="data"
|
|
23 label="Input molecules" help=""/>
|
|
24 </inputs>
|
|
25 <outputs>
|
|
26 <data format="gspan" name="outfile" label="gSpan from ${on_string}"/>
|
|
27 </outputs>
|
|
28 <tests>
|
|
29 <test>
|
|
30 <param name="infile" value="3_molceuls.sdf" />
|
|
31 <output name="outfile" file="3_molecules.gspan" />
|
|
32 </test>
|
|
33 </tests>
|
|
34 <help>
|
|
35
|
|
36 .. class:: infomark
|
|
37
|
|
38 **What it does**
|
|
39
|
|
40 That converter will convert arbitratry molecule files to the gSpan format.
|
|
41
|
|
42 </help>
|
|
43 </tool>
|