comparison percolator.xml @ 0:3a49065a05d6 draft

planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/percolator commit b4871f9659a924a68430aed3a93f4f9bad733fd6
author galaxyp
date Wed, 07 Dec 2016 16:43:51 -0500
parents
children 86770eea5b09
comparison
equal deleted inserted replaced
-1:000000000000 0:3a49065a05d6
1 <tool id="percolator" name="Percolator" version="3.0">
2 <description>accurate peptide identification</description>
3 <requirements>
4 <requirement type="package" version="3.0">percolator</requirement>
5 </requirements>
6 <stdio>
7 <exit_code range="1:"/>
8 </stdio>
9 <command>
10 percolator -j '$input'
11 #if $output_type == "xml"
12 -X '$percoout' --decoy-xml-output
13 #else
14 -J '$percoout'
15 #end if
16 #if $cpos
17 -p $cpos
18 #end if
19 #if $cneg
20 -n $cneg
21 #end if
22 #if $testfdr
23 -t $testfdr
24 #end if
25 #if $trainfdr
26 -F $trainfdr
27 #end if
28 #if $maxiter
29 -i $maxiter
30 #end if
31 #if $seed
32 -S $seed
33 #end if
34 #if $default_direction
35 -V $default_direction
36 #end if
37 $quickval $unitnorm $override $onlypsms
38 </command>
39 <inputs>
40 <param name="output_type" label="What filetype to output" type="select" display="radio">
41 <option value="xml" selected="true">percolator XML (for further processing)</option>
42 <option value="tsv">Tab-separated</option>
43 </param>
44 <param name="input" type="data" format="percin" label="Percolator input data" />
45 <param name="cpos" label="Penalty for mistakes on positive examples" type="float" optional="true" />
46 <param name="cneg" label="Penalty for mistakes on negative examples" type="float" optional="true" />
47 <param name="trainfdr" label="FDR threshold to define positive examples" type="float" optional="true" help="Set by cross validation if 0."/>
48 <param name="testfdr" label="FDR threshold for evaluating best cross validation result" type="float" optional="true" />
49 <param name="maxiter" label="Maximal number of iterations" type="integer" optional="true" />
50 <param name="quickval" label="Quicker execution by reduced internal cross-validation" type="boolean" truevalue="-x" falsevalue=""/>
51 <param name="default_direction" label="Most informative feature given as feature number" type="integer" optional="true" />
52 <param name="unitnorm" type="boolean" label="Unit normalization instead of standard deviation" truevalue="-u" falsevalue=""/>
53 <param name="override" label="Override error check?" help="and no fallback on default score vector in case of suspect score vector" type="boolean" truevalue="-O" falsevalue=""/>
54 <param name="seed" label="Seed of random number generator" type="integer" optional="true" />
55 <!--<param name="klammer" label="Retention time features calculated as in Klammer et al?" type="boolean" /> TODO: this param goes together with the doc param which I havent figured out how to use yet. -->
56 <param name="onlypsms" label="Skip all outputs except PSMs" type="boolean" truevalue="-U" falsevalue=""/>
57 </inputs>
58 <outputs>
59 <data format="percout" name="percoout">
60 <change_format>
61 <when input="output_type" value="tsv" format="tsv" />
62 </change_format>
63 </data>
64 </outputs>
65 <tests>
66 <test>
67 <param name="input" value="percolatorTab" />
68 <param name="output_type" value="xml" />
69 <output name="percoout" value="percolatorOut.xml" lines_diff="2" />
70 </test>
71 <test>
72 <param name="input" value="percolatorTab" />
73 <param name="output_type" value="tsv" />
74 <output name="percoout" value="percolatorOut.txt" />
75 </test>
76 </tests>
77 <help>The first step in analyzing an mass spectrometry assay is to match the harvested spectra against a target database using database search engines such as Sequest and Mascot, a process that renders list of peptide-spectrum matches. However, it is not trivial to assess the accuracy of these identifications.
78
79 Percolator uses a semi-supervised machine learning to discriminate correct from incorrect peptide-spectrum matches, and calculates accurate statistics such as q-value (FDR) and posterior error probabilities.
80 </help>
81 <citations>
82 <citation type="doi">10.1038/nmeth1113</citation>
83 <citation type="doi">10.1021/pr700600n</citation>
84 <citation type="doi">10.1093/bioinformatics/btn294</citation>
85 </citations>
86 </tool>