view get_pubchem_assays.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_assays" name="PubChem Assay Downloader" version="0.3" >
    <description>as table</description>
    <requirements>
        <requirement type="package" version="3">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>