view get_pubchem_as_smiles.xml @ 1:4d966d5bdd17 draft default tip

"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/data_source/get_pubchem commit 944ea4bb8a9cd4244152a4a4fecd0485fabc2ad0"
author bgruening
date Tue, 28 Jul 2020 08:27:00 -0400
parents cd19c3fab3a6
children
line wrap: on
line source

<tool id="ctb_pubchem_download_as_smiles" name="PubChem Download" version="0.3" >
    <description>as canonical SMILES</description>
    <requirements>
        <requirement type="package" version="3.1.1">openbabel</requirement>
        <requirement type="package" version="3">python</requirement>
    </requirements>
    <stdio>
        <regex match="obError"
               source="both"
               level="fatal"
               description="Critical Open Babel error" />
        <regex match="obWarning"
               source="both"
               level="warning"
               description="Non-critical Open Babel warning" />
        <regex match="obInfo"
               source="both"
               level="log"
               description="Open Babel Information" />
    </stdio>
    <command>
<![CDATA[
        python '$__tool_directory__/get_pubchem_as_smiles.py'
            -o $pubchem_smi
            -p \${GALAXY_SLOTS:-4}
            ## temporary hack until my Galaxy patch is committed
            > /dev/null 2>&1
]]>
    </command>
    <inputs>
    </inputs>
    <outputs>
        <data format="smi" name="pubchem_smi" />
    </outputs>
    <tests>
    </tests>
    <help>
<![CDATA[

.. class:: infomark

**What this tool does**

This tool will fetch one PubChem_ file after another and convert them to canonical SMILES.

.. _PubChem: http://pubchem.ncbi.nlm.nih.gov/

-----

.. class:: infomark

**Output**

The output will be one large SMILES file.

]]>
    </help>
</tool>