view mol2gspan.xml @ 2:ec22d245d224 draft default tip

Uploaded
author bgruening
date Thu, 17 Apr 2014 08:46:52 -0400
parents 5f97004c7f57
children
line wrap: on
line source

<tool id="bg_mol2gspan" name="Molecule to gSpan" version="0.2">
    <description>converter</description>
    <parallelism method="multi" split_inputs="infile" split_mode="to_size" split_size="10" shared_inputs="" merge_outputs="outfile"></parallelism>
    <requirements>
        <requirement type="package" version="2.3.2">openbabel</requirement>
    </requirements>
    <xml name="stdio">
        <stdio>
            <exit_code range="1:" />
            <exit_code range=":-1" />
            <regex match="Error" />
            <regex match="Exception" />
        </stdio>
    </xml>
    <command interpreter="python">
        mol2gspan.py 
            --infile $infile
            --outfile $outfile
            --format $infile.ext
    </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>