view tools/decoyfasta.xml @ 7:c15d72720643 draft default tip

planemo upload commit bdb474693831a3375db79755e88641ad32b3b4e6-dirty
author galaxyp
date Sun, 21 Feb 2016 11:20:31 -0500
parents b6b2ac0716eb
children
line wrap: on
line source

<tool id="decoyfasta" name="Create Decoy Database (reverse)" version="0.2.0">
    <description>Creates a decoy search database by adding reverse
    sequences to an existing database</description>
    <requirements>
        <requirement type="package" version="4.8.0">trans_proteomic_pipeline</requirement>
    </requirements>
    <command>
<![CDATA[
        decoyFASTA
            ${input}
            ${output}
            ${include_original}
            #if $freq_type.advanced == "yes"
                -t${frequency} ${tag}
                #for $extra_tag in $extra_tags
                    -t${extra_tag.frequency} ${extra_tag.tag}
                #end for
            #else
                -t1 ${freq_type.tag}
            #end if
]]>
    </command>
    <inputs>
        <param format="fasta" name="input" type="data" label="FASTA Input" help="select input database from history in FASTA format" />
        <param name="include_original" type="boolean" truevalue="" falsevalue="-no_orig" label="Include original entries in output database" checked="True" help="(default) keep checked in all standard searches" />
        <conditional name="freq_type">
            <param name="advanced" type="select" label="Specify advanced decoy frequency options?" help="&quot;Decoy Prefix&quot; will name the prefix of each decoy sequence, &quot;Frequency&quot; will specify how many decoy sequences are created">
                <option value="no">No, just create database with one reversed sequence for every input sequence</option>
                <option value="yes">Yes, I want to specify multiple prefixes and specific frequencies</option>
            </param>
            <when value="no">
                <param name="tag" type="text" value="decoy_" label="Decoy Prefix"/>
            </when>
            <when value="yes">
                <param name="tag" type="text" value="decoy_" label="Decoy Prefix"/>
                <param name="frequency" type="integer" value="1" label="Decoy Frequency" />
                <repeat name="extra_tags" title="Additional Decoy Tags">
                    <param name="tag" type="text" value="decoy_" label="Decoy Prefix"/>
                    <param name="frequency" type="integer" value="1" label="Decoy Frequency" />
                </repeat>
            </when>
        </conditional>
    </inputs>
    <outputs>
        <data format="fasta" name="output" />
    </outputs>
  <help>
<![CDATA[
**What it does**

Given an input database, this tool will produce another database with
reversed sequences to use as decoys for False Discovery Rate (FDR) estimation in protein search identification. This tool employs the decoyFASTA program from
the Transproteomic Pipeline.

------

**Citation**

If you use this tool in Galaxy, please cite Chilton J, et al. https://github.com/galaxyproteomics/
]]>
    </help>
    <citations>
        <citation type="doi">10.1002/pmic.200900375</citation>
    </citations>
</tool>