view openmg.xml @ 1:8d2b075966d6 draft

planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/openmg commit a44364ca5bccd47f9f331143e1abb286096e8807
author bgruening
date Sat, 20 May 2017 12:41:05 -0400
parents a3a3fcecae1c
children beaac0e14c00
line wrap: on
line source

<tool id="ctb_openmg" name="Open Molecule Generator" version="0.1">
    <description>Exhaustive generation of chemical structures</description>
    <requirements>
        <requirement type="package" version="0.1">openmg</requirement>
    </requirements>
    <command detect_errors="aggressive">
<![CDATA[
        openmg
            -ec '$ec'
            #if $fr:
                -fr '$sdf_outfile'
            #end if
            -o '$outfile'
]]>
    </command>
    <inputs>
        <param argument="-ec" type="text" label="Elemental composition of the molecules to be generated"
            help="e.g. C2H5NO2"/>
        <param name='fr' type='boolean' truevalue='-fr' falsevalue='' label='Output SD-file containing prescribed one or multiple substructures'
            help="In the case of multiple substructures, they have to be non-overlapping" />
    </inputs>
    <outputs>
        <data format="sdf" name="outfile" />
        <data format="sdf" name="sdf_outfile">
            <filter>fr is True</filter>
        </data>
    </outputs>
    <tests>
        <test>
            <param name="ec" value="C6H6"/>
            <output name="outfile" file="openmg_results.sdf" lines_diff="440"/>
        </test>
    </tests>
    <help>
<![CDATA[
.. class:: infomark

**What this tool does**

Open Molecule Generator - an exhaustive generation of chemical structures 


]]>
    </help>
    <citations>
        <citation type="doi">10.1186/1758-2946-4-21</citation>
    </citations>
</tool>