Mercurial > repos > galaxyp > feature_alignment
comparison feature_alignment.xml @ 0:7b4d70c9a139 draft
Uploaded
author | galaxyp |
---|---|
date | Mon, 11 May 2015 12:20:44 -0400 |
parents | |
children | 25f43048bff3 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:7b4d70c9a139 |
---|---|
1 <tool id="feature_alignment" name="Feature Alignment" version="0.1"> | |
2 <description>of peakgroups below a FDR</description> | |
3 <stdio> | |
4 <exit_code level="fatal" range="1:"/> | |
5 </stdio> | |
6 <version_command>feature_alignment.py --version</version_command> | |
7 <command interpreter="python"> | |
8 <![CDATA[ | |
9 feature_alignment.py | |
10 --in #'" "'.join([ $file for $file in $inputs ])# | |
11 --file_format $oformat | |
12 #if str($out) == "openswath": | |
13 --out $out | |
14 #end if | |
15 --out_matrix out_matrix.tsv | |
16 --out_ids $out_ids | |
17 --fdr_cutoff $fdr_cutoff | |
18 #if $max_fdr_quality and $max_fdr_quality is not None: | |
19 --max_fdr_quality "$max_fdr_quality" | |
20 #end if | |
21 --max_rt_diff $max_rt_diff | |
22 --iso_max_rt_diff $iso_max_rt_diff | |
23 --frac_selected $frac_selected | |
24 --method $method | |
25 --matrix_output_method $matrix_output_method | |
26 --realign_method $realign_method | |
27 | |
28 && | |
29 mv out_matrix.tsv $out_matrix | |
30 | |
31 ]]></command> | |
32 <inputs> | |
33 | |
34 <param name="inputs" type="data" multiple="True" | |
35 label="A list of mProphet output files containing all peakgroups" help="(--in)"/> | |
36 <param name="oformat" type="select" label="Which input file format is used" help="(--file_format)"> | |
37 <option value="openswath">OpenSwath</option> | |
38 <option value="peakview" selected="True">Peakview</option> | |
39 </param> | |
40 | |
41 <param name="fdr_cutoff" type="float" value="0.01" label="Seeding score cutoff" help="(--fdr_cutoff)" /> | |
42 <param name="max_fdr_quality" type="text" default="-1.0" | |
43 label="Extension score cutoff" | |
44 help="During the extension phase of the algorithm, peakgroups of this quality will still be considered for alignment (in FDR) - it is possible to give a range in the format lower,higher+stepsize,stepsize - e.g. 0,0.31,0.01 (-1 will set it to fdr_cutoff) (--max_fdr_quality)"/> | |
45 <param name="max_rt_diff" type="integer" default="30" | |
46 label="Maximal difference in RT for two aligned features" help="(--max_rt_diff)"/> | |
47 <param name="iso_max_rt_diff" type="text" default="10" | |
48 label="Maximal difference in RT for two isotopic channels in the same run" help="(--iso_max_rt_diff)" /> | |
49 <param name="frac_selected" type="float" value="0.0" min="0" max="1" | |
50 label="Do not write peakgroup if selected in less than this fraction of runs" help="(--frac_selected)"/> | |
51 | |
52 <param name="method" type="select" | |
53 label="Which method to use for the clustering" | |
54 help="Note that the MST options will perform a local, MST guided alignment while the other options will use a reference-guided alignment. The global option will also move peaks which are below the selected FDR threshold. (--method)" /> | |
55 <option value='best_overall' selected="True">best_overall</option> | |
56 <option value='best_cluster_score'>best_cluster_score</option> | |
57 <option value='global_best_cluster_score'>global_best_cluster_score</option> | |
58 <option value='global_best_overall'>global_best_overall</option> | |
59 <option value='LocalMST'>LocalMST</option> | |
60 <option value='LocalMSTAllCluster'>LocalMSTAllCluster</option> | |
61 </param> | |
62 | |
63 <param name="matrix_output_method" type="select" | |
64 label="Which columns are written besides Intensity" help="(--matrix_output_method)"> | |
65 <option value='none' selected="True">None</option> | |
66 <option value='RT'>RT</option> | |
67 <option value='score'>Score</option> | |
68 <option value='source'>Source</option> | |
69 <option value='full'>Full</option> | |
70 </param> | |
71 <param name="realign_method" type="select" label="How to re-align runs in retention time" help="(--realign_method)"> | |
72 <option value='diRT' selected="True">Use only deltaiRT from the input file</option> | |
73 <option value='linear'>Perform a linear regression using best peakgroups</option> | |
74 <!--option value='splineR'>Perform a spline fit using R</option--> | |
75 <!--option value='splineR_external'>Perform a spline fit using R</option--> | |
76 <option value='splinePy'>Use Python native spline from scikits.datasmooth (slow!)</option> | |
77 <option value='lowess'>Use Robust locally weighted regression (lowess smoother)</option> | |
78 <option value='CVSpline'>Splines with cross-validation</option> | |
79 <option value='nonCVSpline'>Splines without cross-validation</option> | |
80 <option value='earth' >Use Multivariate Adaptive Regression Splines using py-earth</option> | |
81 </param> | |
82 </inputs> | |
83 <outputs> | |
84 <!-- Matrix containing one peak group per row --> | |
85 <data format="tabular" name="out_matrix"/> | |
86 <!-- Id file only containing the ids --> | |
87 <data format="tabular" name="out_ids"/> | |
88 <!-- Output file with filtered peakgroups for quantification (only works for OpenSWATH) --> | |
89 <data format="text" name="out"> | |
90 <filter>oformat == 'openswath'</filter> | |
91 </data> | |
92 </outputs> | |
93 <help> | |
94 <![CDATA[ | |
95 | |
96 **What it does** | |
97 | |
98 This program will select all peakgroups below the FDR cutoff in all files and try to align them to each other. | |
99 If only one file is given, it will act as peakgroup selector (best by m_score) | |
100 and will apply the provided FDR cutoff. | |
101 ]]> | |
102 </help> | |
103 <citations> | |
104 <citation type="doi"></citation> | |
105 </citations> | |
106 </tool> | |
107 |