view mol2gspan.xml @ 3:e1fc8ecabba7 draft

Uploaded
author bgruening
date Thu, 05 Sep 2013 12:43:10 -0400
parents 99091a5d5c84
children
line wrap: on
line source

<tool id="bg_mol2gspan" name="Molecule to gSpan" version="0.1">
    <description>converter</description>
    <requirements>
        <requirement type="package" version="2.3.2">openbabel</requirement>
        <requirement type="set_environment">EDEN_SCRIPT_PATH</requirement>
    </requirements>
    <command>
        obabel -i smi -o sdf $infile | \$EDEN_SCRIPT_PATH/mol2gspan.py --infile - --outfile $outfile
    </command>
    <inputs>
        <param format="smi,sdf,mol,inchi,mol2" name="infile" type="data" 
            label="Input molecules" help=""/>
    </inputs>
    <outputs>
        <data format="gspan" name="outfile" label="gSpan from ${on_string}"/>
    </outputs>
    <tests>
        <test>
            <param name="infile" value="3_molceuls.sdf" />
            <output name="outfile" file="3_molecules.gspan" />
        </test>
    </tests>
    <help>

.. class:: infomark

**What it does** 

That converter will convert arbitratry molecule files to the gSpan format.

    </help>
</tool>