|
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 <requirement type="set_environment">MOL2GSPAN_SCRIPT_PATH</requirement>
|
|
|
7 </requirements>
|
|
1
|
8 <command interpreter="python">
|
|
|
9 mol2gspan.py
|
|
|
10 --infile $infile
|
|
|
11 --outfile $outfile
|
|
|
12 --format $infile.ext
|
|
0
|
13 </command>
|
|
|
14 <inputs>
|
|
|
15 <param format="smi,sdf,mol,inchi,mol2" name="infile" type="data"
|
|
|
16 label="Input molecules" help=""/>
|
|
|
17 </inputs>
|
|
|
18 <outputs>
|
|
|
19 <data format="gspan" name="outfile" label="gSpan from ${on_string}"/>
|
|
|
20 </outputs>
|
|
|
21 <tests>
|
|
|
22 <test>
|
|
|
23 <param name="infile" value="3_molceuls.sdf" />
|
|
|
24 <output name="outfile" file="3_molecules.gspan" />
|
|
|
25 </test>
|
|
|
26 </tests>
|
|
|
27 <help>
|
|
|
28
|
|
|
29 .. class:: infomark
|
|
|
30
|
|
|
31 **What it does**
|
|
|
32
|
|
|
33 That converter will convert arbitratry molecule files to the gSpan format.
|
|
|
34
|
|
|
35 </help>
|
|
|
36 </tool>
|