view get_pubchem_assays.xml @ 0:cd19c3fab3a6 draft

planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/data_source/get_pubchem commit aed18d7d09e332efe57d00b33c2b8249abefaedb
author bgruening
date Wed, 22 May 2019 07:44:03 -0400
parents
children 4d966d5bdd17
line wrap: on
line source

<tool id="ctb_pubchem_download_assays" name="PubChem Assay Downloader" version="0.2" >
    <description>as table</description>
    <requirements>
        <requirement type="package" version="2.7">python</requirement>
    </requirements>
    <command detect_errors="aggressive">
<![CDATA[
        python '$__tool_directory__/get_pubchem_assay.py'
            -o '$pubchem_assay_tsv'
            -p '\${GALAXY_SLOTS:-4}'
            --white-list $white_list
]]>
    </command>
    <inputs>
        <param name="white_list" type="select" multiple="true" label="Scoring matrix">
            <option value="Active" selected="true">Active</option>
            <option value="Inconclusive" selected="true">Inconclusive</option>
            <option value="Inactive">Inactive</option>
            <option value="Unspecified">Unspecified</option>
            <option value="Probe">Probe</option>
        </param>
    </inputs>
    <outputs>
        <data format="tabular" name="pubchem_assay_tsv" />
    </outputs>
    <tests>
    </tests>
    <help>
<![CDATA[

.. class:: infomark

**What this tool does**

This tool will fetch one PubChem_ Assay file after another and concatenating them.
It is possible to optionally filter by PUBCHEM_ACTIVITY_OUTCOME.

Columns in the result file:

 - column 1: PubChem AID (assay id)
 - column 1: PubChem SID (substance id)
 - column 2: PubChem CID (compound id)
 - column 3: PubChem Activity Outcome
            1-Inactive
            2-Active
            3-Inconclusive
            4-Unspecified
            5-Probe
 - column 4: PubChem activity score, the higher value, the more active
 - column 5: Test result specific comment
 - column 6 and beyond: All remaining columns starting from the 7th column are the TID "names" defined in the associated assay description given by the XML file under the corresponding Description/ directory. These "names" can also be found in the "Result Definitions" section of the assay summary page: e.g. http://pubchem.ncbi.nlm.nih.gov/assay/assay.cgi?aid=2244#aDefinitions



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

-----

.. class:: infomark

**Output**

The output will be one large SMILES file.

]]>
    </help>
</tool>