view spring_roc.xml @ 30:b0e195a47df7 draft

"planemo upload commit b306c715d8284c097220bc5c8461399fdc05eac7"
author guerler
date Tue, 24 Nov 2020 14:02:08 +0000
parents 41353488926c
children 3071750405c9
line wrap: on
line source

<tool id="spring_roc" name="SPRING ROC" version="0.1.0" python_template_version="3.5" license="MIT">
    <description>plot generator</description>
    <requirements>
        <requirement type="package" version="3.3.3">matplotlib</requirement>
    </requirements>
    <command detect_errors="exit_code"><![CDATA[
        python3 '$__tool_directory__/spring_roc.py' -i '$input' -b '$database' -e '$experiment.type' -m '$experiment.method' -t '$throughput' -l '$locations' -o '$rocplot'
    ]]></command>
    <inputs>
        <param format="tabular" name="input" type="data" label="Interactions" help="Prediction Input Table with 2-columns containing UniProt Accession codes."/>
        <param format="tabular" name="database" type="data" label="BioGRID Database" help="BioGRID Database in TAB 3.0 format."/>
        <param format="tabular" name="locations" type="data" label="UniProt Localization" help="UniProt tabular export with localization column to sample non-interacting pairs." optional="True" />
        <conditional name="experiment">
            <param name="type" type="select" label="Experimental Type" display="radio" help="Choose a specific experimental system type.">
                <option value="">Any</option>
                <option value="physical">Physical</option>
                <option value="genetic">Genetic</option>
            </param>
            <when value="physical">
                <param name="method" type="select" label="Experimental Method" help="Choose a specific experimental method name.">
                    <option value="">Any</option>
                    <option value="Affinity Capture">Affinity Capture-Any</option>
                    <option value="Affinity Capture-Luminescence"></option>
                    <option value="Affinity Capture-MS">Affinity Capture-MS</option>
                    <option value="Affinity Capture-RNA">Affinity Capture-RNA</option>
                    <option value="Affinity Capture-Western">Affinity Capture-Western</option>
                    <option value="Biochemical Activity">Biochemical Activity</option>
                    <option value="Co-crystal Structure">Co-crystal Structure</option>
                    <option value="Co-fractionation">Co-fractionation</option>
                    <option value="Co-localization">Co-localization</option>
                    <option value="Co-purification">Co-purification</option>
                    <option value="Far Western">Far Western</option>
                    <option value="FRET">FRET</option>
                    <option value="PCA">PCA</option>
                    <option value="Protein-peptide">Protein-peptide</option>
                    <option value="Protein-RNA">Protein-RNA</option>
                    <option value="Proximity Label-MS">Proximity Label-MS</option>
                    <option value="Reconstituted Complex">Reconstituted Complex</option>
                    <option value="Two-hybrid">Two-hybrid</option>
                </param>
            </when>
            <when value="genetic">
                <param name="method" type="hidden" value="" />
            </when>
            <when value="">
                <param name="method" type="hidden" value="" />
            </when>
        </conditional>
        <param name="throughput" type="select" label="Experimental Throughput" display="radio" help="Choose the experimental throughput grade.">
            <option value="">Any</option>
            <option value="Low Throughput">Low</option>
            <option value="High Throughput">High</option>
        </param>
    </inputs>
    <outputs>
        <data format="png" name="rocplot" label="SPRING ROC Image" />
    </outputs>
    <tests>
        <test>
            <param format="tabular" name="input" value="roc/human_hv1h2.txt" />
            <param format="tabular" name="database" value="roc/biogrid_fret.txt" />
            <output name="output" file="roc/human_hv1h2.png" />
        </test>
    </tests>
    <help><![CDATA[
This tool generates a ROC plot for a given 2-column tabular prediction file containing UniProt Accession codes. The prediction is compared
to a given BioGRID database file in TAB 3.0 format. Non-interacting protein pairs are randomly sampled. Optionally, users may filter the BioGRID database by
choosing a specific experimental method.
    ]]></help>
    <citations>
        <citation type="bibtex">
@misc{githubhh-suite,
author = {Guerler, Govindarajoo, Zhang},
year = {2013},
title = {Mapping Monomeric Threading to Protein-Protein Structure Prediction},
publisher = {ACS Publications},
journal = {Journal of Chemical Information and Modeling},
url = {https://pubs.acs.org/doi/10.1021/ci300579r},
}
        </citation>
    </citations>
</tool>