annotate false_discovery_rate.xml @ 5:9816d9abb501 draft

Added repo dependencies
author galaxyp
date Thu, 20 Jun 2013 16:12:09 -0400
parents cf0d72c7b482
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2
cf0d72c7b482 Update.
galaxyp
parents:
diff changeset
1 <tool id="openms_false_discvoerage_rate" version="0.1.0" name="False Discovery Rate">
cf0d72c7b482 Update.
galaxyp
parents:
diff changeset
2 <description>
cf0d72c7b482 Update.
galaxyp
parents:
diff changeset
3 Tool to estimate the false discovery rate on peptide and protein level.
cf0d72c7b482 Update.
galaxyp
parents:
diff changeset
4 </description>
cf0d72c7b482 Update.
galaxyp
parents:
diff changeset
5 <macros>
cf0d72c7b482 Update.
galaxyp
parents:
diff changeset
6 <import>macros.xml</import>
cf0d72c7b482 Update.
galaxyp
parents:
diff changeset
7 </macros>
cf0d72c7b482 Update.
galaxyp
parents:
diff changeset
8 <expand macro="stdio" />
cf0d72c7b482 Update.
galaxyp
parents:
diff changeset
9 <expand macro="requires" />
cf0d72c7b482 Update.
galaxyp
parents:
diff changeset
10 <command interpreter="python">
cf0d72c7b482 Update.
galaxyp
parents:
diff changeset
11 openms_wrapper.py --executable 'FalseDiscoveryRate' --config $config
cf0d72c7b482 Update.
galaxyp
parents:
diff changeset
12 </command>
cf0d72c7b482 Update.
galaxyp
parents:
diff changeset
13 <configfiles>
cf0d72c7b482 Update.
galaxyp
parents:
diff changeset
14 <configfile name="config">[simple_options]
cf0d72c7b482 Update.
galaxyp
parents:
diff changeset
15 #if $input.type == "combined"
cf0d72c7b482 Update.
galaxyp
parents:
diff changeset
16 in=$input1
cf0d72c7b482 Update.
galaxyp
parents:
diff changeset
17 algorithm!decoy_string=$input.decoy_string
cf0d72c7b482 Update.
galaxyp
parents:
diff changeset
18 #else
cf0d72c7b482 Update.
galaxyp
parents:
diff changeset
19 fwd_in=$input.forward_input
cf0d72c7b482 Update.
galaxyp
parents:
diff changeset
20 rev_in=$input.forward_input
cf0d72c7b482 Update.
galaxyp
parents:
diff changeset
21 #end if
cf0d72c7b482 Update.
galaxyp
parents:
diff changeset
22 out=$output
cf0d72c7b482 Update.
galaxyp
parents:
diff changeset
23 algorithm!q_value=$q_value
cf0d72c7b482 Update.
galaxyp
parents:
diff changeset
24 algorithm!use_all_hits=$use_all_hits
cf0d72c7b482 Update.
galaxyp
parents:
diff changeset
25 algorithm!split_charge_variants=$split_charge_variants
cf0d72c7b482 Update.
galaxyp
parents:
diff changeset
26 algorithm!add_decoy_peptides=$add_decoy_peptides
cf0d72c7b482 Update.
galaxyp
parents:
diff changeset
27 </configfile>
cf0d72c7b482 Update.
galaxyp
parents:
diff changeset
28 </configfiles>
cf0d72c7b482 Update.
galaxyp
parents:
diff changeset
29 <inputs>
cf0d72c7b482 Update.
galaxyp
parents:
diff changeset
30 <conditional name="input">
cf0d72c7b482 Update.
galaxyp
parents:
diff changeset
31 <param name="type" label="Input Type" type="select">
cf0d72c7b482 Update.
galaxyp
parents:
diff changeset
32 <option value="combined">One search against combined target/decoy database</option>
cf0d72c7b482 Update.
galaxyp
parents:
diff changeset
33 <option value="separate">Two searches from separate target and decoy databases.</option>
cf0d72c7b482 Update.
galaxyp
parents:
diff changeset
34 </param>
cf0d72c7b482 Update.
galaxyp
parents:
diff changeset
35 <when value="combined">
cf0d72c7b482 Update.
galaxyp
parents:
diff changeset
36 <param name="input1" label="Identification Input" type="data" format="idxml" />
cf0d72c7b482 Update.
galaxyp
parents:
diff changeset
37 <param name="decoy_string" type="text" value="_rev" label="Decoy string"/>
cf0d72c7b482 Update.
galaxyp
parents:
diff changeset
38 </when>
cf0d72c7b482 Update.
galaxyp
parents:
diff changeset
39 <when value="separate">
cf0d72c7b482 Update.
galaxyp
parents:
diff changeset
40 <param name="forward_input" label="Forward Identification Input" type="data" format="idxml" />
cf0d72c7b482 Update.
galaxyp
parents:
diff changeset
41 <param name="reverse_input" label="Reverse Identification Input" type="data" format="idxml" />
cf0d72c7b482 Update.
galaxyp
parents:
diff changeset
42 </when>
cf0d72c7b482 Update.
galaxyp
parents:
diff changeset
43 </conditional>
cf0d72c7b482 Update.
galaxyp
parents:
diff changeset
44 <param name="q_value" label="Compute Q-Value" type="boolean" truevalue="true" falsevalue="false" checked="true" help="If 'true', the q-values will be calculated instead of the FDRs." />
cf0d72c7b482 Update.
galaxyp
parents:
diff changeset
45 <param name="use_all_hits" label="Use All Hits" type="boolean" truevalue="true" falsevalue="false" help="If 'true' not only the first hit, but all are used (peptides only)." />
cf0d72c7b482 Update.
galaxyp
parents:
diff changeset
46 <param name="split_charge_variants" label="Split Charge Variants" type="boolean" truevalue="true" falsevalue="false" help="If set to 'true' charge variants are treated separately (for peptides of combined target/decoy searches only)." checked="false" />
cf0d72c7b482 Update.
galaxyp
parents:
diff changeset
47 <param name="add_decoy_peptides" type="boolean" label="Add Decoy Peptides" help="If set to true, decoy peptides will be written to output file, too. The q-value is set to the closest target score." truevalue="true" falsevalue="false" checked="false" />
cf0d72c7b482 Update.
galaxyp
parents:
diff changeset
48
cf0d72c7b482 Update.
galaxyp
parents:
diff changeset
49 </inputs>
cf0d72c7b482 Update.
galaxyp
parents:
diff changeset
50 <outputs>
cf0d72c7b482 Update.
galaxyp
parents:
diff changeset
51 <data format="idxml" name="output" />
cf0d72c7b482 Update.
galaxyp
parents:
diff changeset
52 </outputs>
cf0d72c7b482 Update.
galaxyp
parents:
diff changeset
53 <help>
cf0d72c7b482 Update.
galaxyp
parents:
diff changeset
54 **What it does**
cf0d72c7b482 Update.
galaxyp
parents:
diff changeset
55
cf0d72c7b482 Update.
galaxyp
parents:
diff changeset
56 This TOPP tool can calculate the false discovery rate (FDR) given a forward and backward search (or one run on a combined database). Most useful is this on protein level, however, it also can be applied to peptides.
cf0d72c7b482 Update.
galaxyp
parents:
diff changeset
57
cf0d72c7b482 Update.
galaxyp
parents:
diff changeset
58 The false discovery rate is defined as the number of false discoveries (the hits in the reversed search) over the number of false and correct discoveries (the hits in both databases) with a score better than a given threshold.
cf0d72c7b482 Update.
galaxyp
parents:
diff changeset
59
cf0d72c7b482 Update.
galaxyp
parents:
diff changeset
60 Prerequisites:
cf0d72c7b482 Update.
galaxyp
parents:
diff changeset
61
cf0d72c7b482 Update.
galaxyp
parents:
diff changeset
62 When using a combined database of forward and reverse hits (thus only using one search run per ID engine), then use PeptideIndexer to index an idXML file generated by a search engine adapter, e.g. MascotAdapter. This will allow us to discern which peptides are from the target vs. decoy database.
cf0d72c7b482 Update.
galaxyp
parents:
diff changeset
63 When no decoy hits were found you will get a warning saying something like:
cf0d72c7b482 Update.
galaxyp
parents:
diff changeset
64 "FalseDiscoveryRate: #decoy sequences is zero! Setting all target sequences to q-value/FDR 0!"
cf0d72c7b482 Update.
galaxyp
parents:
diff changeset
65 This should be a serious concern, since the target/decoy annotation in a previous step has probably a misconfigured database (see PeptideIndexer).
cf0d72c7b482 Update.
galaxyp
parents:
diff changeset
66
cf0d72c7b482 Update.
galaxyp
parents:
diff changeset
67 **Citation**
cf0d72c7b482 Update.
galaxyp
parents:
diff changeset
68
cf0d72c7b482 Update.
galaxyp
parents:
diff changeset
69 For the underlying tool, please cite ``Marc Sturm, Andreas Bertsch, Clemens Gröpl, Andreas Hildebrandt, Rene Hussong, Eva Lange, Nico Pfeifer, Ole Schulz-Trieglaff, Alexandra Zerck, Knut Reinert, and Oliver Kohlbacher, 2008. OpenMS – an Open-Source Software Framework for Mass Spectrometry. BMC Bioinformatics 9: 163. doi:10.1186/1471-2105-9-163.``
cf0d72c7b482 Update.
galaxyp
parents:
diff changeset
70
cf0d72c7b482 Update.
galaxyp
parents:
diff changeset
71 If you use this tool in Galaxy, please cite Chilton J, et al. https://bitbucket.org/galaxyp/galaxyp-toolshed-openms
cf0d72c7b482 Update.
galaxyp
parents:
diff changeset
72 </help>
cf0d72c7b482 Update.
galaxyp
parents:
diff changeset
73 </tool>