view tools/decoyfasta.xml @ 6:b6b2ac0716eb draft

Uploaded
author galaxyp
date Wed, 08 Oct 2014 13:35:25 -0400
parents ed5b032876b9
children c15d72720643
line wrap: on
line source

<tool id="decoyfasta" name="Create Decoy Database (reverse)" version="0.1.0">
  <description>Creates a decoy search database by adding reverse
  sequences to an existing database.</description>

  <requirements>
    <requirement type="package" version="4.6.3">trans_proteomic_pipeline</requirement>
  </requirements>

  <command>
    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>
**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**

For the underlying tool, please cite `Proteomics. 2010 Mar;10(6):1150-9. A guided tour of the Trans-Proteomic Pipeline. Deutsch EW, Mendoza L, Shteynberg D, Farrah T, Lam H, Tasman N, Sun Z, Nilsson E, Pratt B, Prazen B, Eng JK, Martin DB, Nesvizhskii AI, Aebersold R. PMID 20101611`

If you use this tool in Galaxy, please cite Chilton J, et al. https://bitbucket.org/galaxyp/decoyfasta
  </help>
</tool>