0
|
1 <tool id="bg_mol2gspan" name="Molecule to gSpan" version="0.1">
|
|
2 <description>converter</description>
|
|
3 <requirements>
|
|
4 <requirement type="package" version="2.3.2">openbabel</requirement>
|
|
5 <requirement type="set_environment">EDEN_SCRIPT_PATH</requirement>
|
|
6 </requirements>
|
|
7 <command>
|
|
8 obabel -i smi -o sdf $infile | \$EDEN_SCRIPT_PATH/mol2gspan.py --infile - --outfile $outfile
|
|
9 </command>
|
|
10 <inputs>
|
|
11 <param format="smi,sdf,mol,inchi,mol2" name="infile" type="data"
|
|
12 label="Input molecules" help=""/>
|
|
13 </inputs>
|
|
14 <outputs>
|
|
15 <data format="gspan" name="outfile" label="gSpan from ${on_string}"/>
|
|
16 </outputs>
|
|
17 <tests>
|
|
18 <test>
|
|
19 <param name="infile" value="3_molceuls.sdf" />
|
|
20 <output name="outfile" file="3_molecules.gspan" />
|
|
21 </test>
|
|
22 </tests>
|
|
23 <help>
|
|
24
|
|
25 .. class:: infomark
|
|
26
|
|
27 **What it does**
|
|
28
|
|
29 That converter will convert arbitratry molecule files to the gSpan format.
|
|
30
|
|
31 </help>
|
|
32 </tool>
|