comparison feature_alignment.xml @ 10:23ecd1ee4422 draft default tip

"planemo upload for repository https://github.com/msproteomicstools/msproteomicstools/blob/master/TRIC-README.md commit 75f5dee4cc5cb3dbfac3d1d32d8bceb2a22634d7"
author galaxyp
date Fri, 10 Dec 2021 00:29:34 +0000
parents 9ad7babdbedd
children
comparison
equal deleted inserted replaced
9:9ad7babdbedd 10:23ecd1ee4422
1 <tool id="feature_alignment" name="Feature Alignment" version="0.1"> 1 <tool id="feature_alignment" name="TRIC" version="@TOOL_VERSION@+galaxy@GALAXY_VERSION@">
2 <description>of peakgroups below a FDR</description> 2 <description>integrates information from all available runs via a graph-based alignment strategy</description>
3 <macros>
4 <token name="@TOOL_VERSION@">0.11.0</token>
5 <token name="@GALAXY_VERSION@">0</token>
6 <import>macros.xml</import>
7 </macros>
3 <requirements> 8 <requirements>
4 <requirement type="package" version="2.7">python</requirement> 9 <requirement type="package" version="@TOOL_VERSION@">msproteomicstools</requirement>
5 <requirement type="package" version="0.3.2">msproteomicstools</requirement> 10 <requirement type="package" version="2.8.6">rpy2</requirement>
6 </requirements> 11 </requirements>
7 <stdio>
8 <!-- Anything other than zero is an error -->
9 <exit_code range="1:" />
10 <exit_code range=":-1" />
11 <!-- In case the return code has not been set propery check stderr too -->
12 <regex match="Error:" />
13 <regex match="Exception:" />
14 </stdio>
15 <version_command>feature_alignment.py --version</version_command> 12 <version_command>feature_alignment.py --version</version_command>
16 <command> 13 <command detect_errors="exit_code"><![CDATA[
17 <![CDATA[
18 feature_alignment.py 14 feature_alignment.py
19 --in #echo '" "'.join([ str($file) for $file in $inputs ]) # 15 --in #echo '' ''.join([ str($file) for $file in $inputs ])
20 --file_format $iformat 16 --out out.tsv
21 ##if str($iformat) == "openswath":
22 --out $out
23 ##end if
24 --out_matrix out_matrix.tsv 17 --out_matrix out_matrix.tsv
25 --out_ids $out_ids 18 --out_ids out_ids.tsv
26 --fdr_cutoff $fdr_cutoff 19 --file_format '$iformat'
27 #if $max_fdr_quality: 20 --method '$method_sel.method'
28 --max_fdr_quality $max_fdr_quality 21 --matrix_output_method '$matrix_output_method'
29 #end if 22 --realign_method '$realign_method'
30 #if $max_rt_diff: 23 #if $max_rt_diff_cond.max_rt_diff_sel == 'opt_max_rt_diff_enabled':
31 --max_rt_diff $max_rt_diff 24 --max_rt_diff '$max_rt_diff_cond.max_rt_diff'
32 #end if 25 #end if
33 #if $iso_max_rt_diff: 26 #if $iso_max_rt_diff_cond.iso_max_rt_diff_sel == 'opt_iso_max_rt_diff_enabled':
34 --iso_max_rt_diff $iso_max_rt_diff 27 --iso_max_rt_diff '$iso_max_rt_diff_cond.iso_max_rt_diff'
35 #end if 28 #end if
36 #if $frac_selected: 29 #if $frac_selected_cond.frac_selected_sel == 'opt_frac_selected_enabled':
37 --frac_selected $frac_selected 30 --frac_selected '$frac_selected_cond.frac_selected'
38 #end if 31 #end if
39 --method $method 32 #if $fdr_cond.fdr_sel == 'opt_target_fdr':
40 --matrix_output_method $matrix_output_method 33 --target_fdr '$fdr_cond.target_fdr'
41 --realign_method $realign_method 34 #elif $fdr_cond.fdr_sel == 'opt_fdr_cutoff':
42 && 35 --fdr_cutoff '$fdr_cond.fdr_cutoff'
43 mv out_matrix.tsv $out_matrix 36 #else:
44 37 --target_fdr '0'
45 ]]></command> 38 #end if
39 --max_fdr_quality '$max_fdr_quality'
40 #if $method_sel.method == 'LocalMST' or $method_sel.method == 'LocalMSTAllCluster':
41 --mst:useRTCorrection '$method_sel.mst_useRTCorrection'
42 --mst:Stdev_multiplier '$method_sel.mst_Stdev_multiplier'
43 --mst:useLocalStdev '$method_sel.mst_useLocalStdev'
44 --mst:useReference '$method_sel.mst_useReference'
45 #end if
46 #if $further_params.disable_isotopic_grouping:
47 --disable_isotopic_grouping
48 #end if
49 #if $further_params.dscore_cond.dscore_sel == 'opt_dscore_enabled':
50 --use_dscore_filter
51 --dscore_cutoff '$further_params.dscore_cond.dscore_cutoff'
52 #end if
53 #if $further_params.nr_high_conf_exp_cond.nr_high_conf_exp_sel == 'opt_nr_high_conf_exp_enabled':
54 --nr_high_conf_exp '$further_params.nr_high_conf_exp_cond.nr_high_conf_exp'
55 #end if
56 #if $further_params.readmethod != 'disabled':
57 --readmethod '$further_params.readmethod'
58 #end if
59 #if $further_params.alignment_score_cond.alignment_score_sel == 'opt_alignment_score_enabled':
60 --alignment_score '$further_params.alignment_score_cond.alignment_score'
61 #end if
62
63 #if $iformat == 'openswath':
64 && cat out.tsv > '$out'
65 #end if
66 && cat out_matrix.tsv > '$out_matrix'
67 && cat out_ids.tsv > '$out_ids'
68 ]]></command>
46 <inputs> 69 <inputs>
47 70 <param name="inputs" type="data" multiple="True" format="txt" label="Output files containing all peakgroups from OpenSWATH (using either mProphet or pyProphet) or Peakview." help="(--in)"/>
48 <param name="inputs" type="data" multiple="True" format="txt"
49 label="A list of mProphet output files containing all peakgroups" help="(--in)"/>
50 <param name="iformat" type="select" label="Which input file format is used" help="(--file_format)"> 71 <param name="iformat" type="select" label="Which input file format is used" help="(--file_format)">
51 <option value="openswath" selected="True">OpenSwath</option> 72 <option value="openswath" selected="True">OpenSwath</option>
52 <option value="peakview">Peakview</option> 73 <option value="mprophet">mProphet (mQuest)</option>
74 <option value="peakview">PeakView</option>
53 </param> 75 </param>
54 76 <conditional name="method_sel">
55 <param name="fdr_cutoff" type="float" value="0.01" label="Seeding score cutoff" help="(--fdr_cutoff)" /> 77 <param name="method" type="select" label="Which method to use for the clustering"
56 <param name="max_fdr_quality" type="float" value="-1.0" default="-1.0" optional="True" 78 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)" >
57 label="Extension score cutoff" 79 <option value="best_overall" selected="True">best overall</option>
58 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)"/> 80 <option value="best_cluster_score">best cluster score</option>
59 <param name="max_rt_diff" type="integer" value="30" default="30" optional="True" 81 <option value="global_best_cluster_score">global best cluster score</option>
60 label="Maximal difference in RT for two aligned features" help="(--max_rt_diff)"/> 82 <option value="global_best_overall">global best overall</option>
61 <param name="iso_max_rt_diff" type="integer" value="10" default="10" optional="True" 83 <option value="LocalMST">LocalMST</option>
62 label="Maximal difference in RT for two isotopic channels in the same run" help="(--iso_max_rt_diff)" /> 84 <option value="LocalMSTAllCluster">LocalMSTAllCluster</option>
63 <param name="frac_selected" type="float" value="0.0" min="0" max="1" optional="True" 85 </param>
64 label="Do not write peakgroup if selected in less than this fraction of runs" help="(--frac_selected)"/> 86 <when value="best_overall"/>
65 <param name="method" type="select" 87 <when value="best_cluster_score"/>
66 label="Which method to use for the clustering" 88 <when value="global_best_cluster_score"/>
67 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)" > 89 <when value="global_best_overall"/>
68 <option value='best_overall' selected="True">best_overall</option> 90 <when value="LocalMST">
69 <option value='best_cluster_score'>best_cluster_score</option> 91 <expand macro="mst_params"/>
70 <option value='global_best_cluster_score'>global_best_cluster_score</option> 92 </when>
71 <option value='global_best_overall'>global_best_overall</option> 93 <when value="LocalMSTAllCluster">
72 <option value='LocalMST'>LocalMST</option> 94 <expand macro="mst_params"/>
73 <option value='LocalMSTAllCluster'>LocalMSTAllCluster</option> 95 </when>
74 </param> 96 </conditional>
75
76 <param name="matrix_output_method" type="select" 97 <param name="matrix_output_method" type="select"
77 label="Which columns are written besides Intensity" help="(--matrix_output_method)"> 98 label="Which columns are written besides Intensity" help="(--matrix_output_method)">
78 <option value='none' selected="True">None</option> 99 <option value="none" selected="True">None</option>
79 <option value='RT'>RT</option> 100 <option value="RT">RT</option>
80 <option value='score'>Score</option> 101 <option value="score">Score</option>
81 <option value='source'>Source</option> 102 <option value="source">Source</option>
82 <option value='full'>Full</option> 103 <option value="full">Full</option>
83 </param> 104 </param>
84 <param name="realign_method" type="select" label="How to re-align runs in retention time" help="(--realign_method)"> 105 <param name="realign_method" type="select" label="How to re-align runs in retention time" help="(--realign_method)">
85 <option value='diRT' selected="True">Use only deltaiRT from the input file</option> 106 <option value="diRT" selected="True">Use only deltaiRT (diRT) from the input file</option>
86 <option value='linear'>Perform a linear regression using best peakgroups</option> 107 <option value="linear">Perform a linear regression using best peakgroups</option>
87 <!--option value='splineR'>Perform a spline fit using R</option--> 108 <option value="lowess">Use Robust locally weighted regression (lowess smoother)</option>
88 <!--option value='splineR_external'>Perform a spline fit using R</option--> 109 <option value="splinePy">Use Python native spline from scikits.datasmooth (slow!)</option>
89 <option value='splinePy'>Use Python native spline from scikits.datasmooth (slow!)</option> 110 <option value="CVSpline">Splines with cross-validation</option>
90 <option value='lowess'>Use Robust locally weighted regression (lowess smoother)</option> 111 <option value="nonCVSpline">Splines without cross-validation</option>
91 <option value='CVSpline'>Splines with cross-validation</option> 112 <option value="WeightedNearestNeighbour">WeightedNearestNeighbour</option>
92 <option value='nonCVSpline'>Splines without cross-validation</option> 113 <option value="SmoothLLDMedian">SmoothLLDMedian</option>
93 <option value='earth' >Use Multivariate Adaptive Regression Splines using py-earth</option> 114 <option value="splineR">Perform a spline fit using R</option>
115 <option value="splineR_external">Perform a spline fit using R (external)</option>
116 <option value="Earth">Use Multivariate Adaptive Regression Splines using py-earth</option>
117 <option value="lowess_cython">lowess_cython</option>
94 </param> 118 </param>
119 <conditional name="max_rt_diff_cond">
120 <param name="max_rt_diff_sel" type="select" label="Enable difference in RT for two aligned features" help="Maximal difference in RT for two aligned features">
121 <option value="opt_max_rt_diff_disabled" selected="True">disabled</option>
122 <option value="opt_max_rt_diff_enabled">set difference in RT</option>
123 </param>
124 <when value="opt_max_rt_diff_disabled"/>
125 <when value="opt_max_rt_diff_enabled">
126 <param name="max_rt_diff" type="integer" value="30" label="Difference in RT (in seconds) for two aligned features" help="(--max_rt_diff)"/>
127 </when>
128 </conditional>
129 <conditional name="iso_max_rt_diff_cond">
130 <param name="iso_max_rt_diff_sel" type="select" label="Enable difference in RT for two isotopic channels" help="Maximal difference in RT (in seconds) for two isotopic channels in the same run">
131 <option value="opt_iso_max_rt_diff_disabled" selected="True">disabled</option>
132 <option value="opt_iso_max_rt_diff_enabled">set difference in RT</option>
133 </param>
134 <when value="opt_iso_max_rt_diff_disabled"/>
135 <when value="opt_iso_max_rt_diff_enabled">
136 <param name="iso_max_rt_diff" type="integer" value="30" label="Difference in RT (in seconds) for two isotopic channels." help="(--iso_max_rt_diff)" />
137 </when>
138 </conditional>
139 <conditional name="frac_selected_cond">
140 <param name="frac_selected_sel" type="select" label="Enable fraction of runs" help="Do not write peakgroup if selected in less than this fraction of runs">
141 <option value="opt_frac_selected_disabled" selected="True">disabled</option>
142 <option value="opt_frac_selected_enabled">set fraction of runs</option>
143 </param>
144 <when value="opt_frac_selected_disabled"/>
145 <when value="opt_frac_selected_enabled">
146 <param name="frac_selected" type="float" value="0.0" min="0" max="1" label="Fraction of runs" help="(--frac_selected)"/>
147 </when>
148 </conditional>
149 <conditional name="fdr_cond">
150 <param name="fdr_sel" type="select" label="Choose FDR method" help="">
151 <option value="opt_fdr_disabled">disabled</option>
152 <option value="opt_target_fdr" selected="True">Target FDR</option>
153 <option value="opt_fdr_cutoff">FDR cutoff</option>
154 </param>
155 <when value="opt_fdr_disabled"/>
156 <when value="opt_target_fdr">
157 <param name="target_fdr" type="float" value="0.01" label="Target FDR" help="Refers to the desired FDR on assay level. (--target_fdr)"/>
158 </when>
159 <when value="opt_fdr_cutoff">
160 <param name="fdr_cutoff" type="float" value="0.01" label="Seeding score cutoff" help="A fixed m-score cutoff which does not take into account the number of runs (use target_fdr instead). (--fdr_cutoff)" />
161 </when>
162 </conditional>
163 <param name="max_fdr_quality" type="float" value="0.05" min="0" label="Extension score cutoff"
164 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)"/>
165 <section name="further_params" title="Further parameters" expanded="False">
166 <param name="disable_isotopic_grouping" type="boolean" truevalue="True" falsevalue="False" checked="false" label="Disable grouping of isotopic variants"
167 help="Disable grouping of isotopic variants by peptide_group_label, thus disabling matching of isotopic variants of the same peptide across channels. If turned off, each isotopic channel will be matched independently of the other. If enabled, the more certain identification will be used to infer the location of the peak in the other channel. (--disable_isotopic_grouping)"/>
168 <conditional name="dscore_cond">
169 <param name="dscore_sel" type="select" label="Enable the filter by d score (this is mainly for speedup)" help="">
170 <option value="opt_dscore_disabled" selected="True">disabled</option>
171 <option value="opt_dscore_enabled">Use d score filter</option>
172 </param>
173 <when value="opt_dscore_disabled"/>
174 <when value="opt_dscore_enabled">
175 <param name="dscore_cutoff" type="float" value="1.96" label="d score cut-off"
176 help="Quality cutoff to still consider a feature for alignment using the d_score: everything below this d-score is discarded (this is mainly for speedup). (--dscore_cutoff)"/>
177 </when>
178 </conditional>
179 <conditional name="nr_high_conf_exp_cond">
180 <param name="nr_high_conf_exp_sel" type="select" label="Enable the filter by d score (this is mainly for speedup)" help="">
181 <option value="opt_nr_high_conf_exp_disabled" selected="True">disabled</option>
182 <option value="opt_nr_high_conf_exp_enabled">Use number of experiments</option>
183 </param>
184 <when value="opt_nr_high_conf_exp_disabled"/>
185 <when value="opt_nr_high_conf_exp_enabled">
186 <param name="nr_high_conf_exp" type="integer" value="1" optional="True" label="Number of experiments with high confidence"
187 help="Number of experiments in which the peptide needs to be identified with high confidence (e.g. above fdr_curoff). (--nr_high_conf_exp)"/>
188 </when>
189 </conditional>
190 <param name="readmethod" type="select" label="Read full or minimal transition groups" optional="True" help="(--readmethod)">
191 <option value="disabled" selected="True">disabled</option>
192 <option value="minimal">minimal</option>
193 <option value="full">full</option>
194 </param>
195 <conditional name="alignment_score_cond">
196 <param name="alignment_score_sel" type="select" label="Enable the filter by d score (this is mainly for speedup)" help="">
197 <option value="opt_alignment_score_disabled" selected="True">disabled</option>
198 <option value="opt_alignment_score_enabled">Use number of experiments</option>
199 </param>
200 <when value="opt_alignment_score_disabled"/>
201 <when value="opt_alignment_score_enabled">
202 <param name="alignment_score" type="float" value="0.0001" optional="True" label="Alignment score"
203 help="Minimal score needed for a feature to be considered for alignment between runs (e.g. score needed to be considered an 'anchor point' for pairwise alignment). (--alignment_score)"/>
204 </when>
205 </conditional>
206 </section>
95 </inputs> 207 </inputs>
96 <outputs> 208 <outputs>
97 <!-- Matrix containing one peak group per row --> 209 <!-- Matrix containing one peak group per row -->
98 <data format="tabular" name="out_matrix"/> 210 <data format="tabular" name="out_matrix"/>
99 <!-- Id file only containing the ids --> 211 <!-- Id file only containing the ids -->
100 <data format="tabular" name="out_ids"/> 212 <data format="tabular" name="out_ids"/>
101 <!-- Output file with filtered peakgroups for quantification (only works for OpenSWATH) --> 213 <!-- Output file with filtered peakgroups for quantification -->
102 <data format="tabular" name="out"> 214 <data format="tabular" name="out">
103 <!-- according to the documentation this output only works for SWATH, 215 <filter>iformat == 'openswath'</filter>
104 but it is a requirement argument in python argparse.
105 So we need to output it. -->
106 <!--filter>iformat == 'openswath'</filter-->
107 </data> 216 </data>
108 </outputs> 217 </outputs>
109 <tests> 218 <tests>
110 <test> 219 <test>
111 <param name="inputs" value="feature_alignment_openswath_input_1.csv" ftype="txt" /> 220 <param name="inputs" value="feature_alignment_openswath_input_1.csv" ftype="txt" />
112 <param name="iformat" value="openswath" /> 221 <param name="iformat" value="openswath" />
113 <param name="method" value="best_cluster_score" /> 222 <param name="method" value="best_cluster_score" />
114 <param name="max_fdr_quality" value="0.4" /> 223 <param name="fdr_sel" value="opt_fdr_disabled" />
115 <param name="matrix_output_method" value="RT" /> 224 <param name="max_fdr_quality" value="0.4" />
116 <output name="out_matrix" file="feature_alignment_1_openswath_output_matrix.csv" ftype="tabular" /> 225 <param name="matrix_output_method" value="RT" />
226 <output name="out_matrix" file="feature_alignment_1_openswath_output_matrix.csv" lines_diff="2" ftype="tabular" />
117 <output name="out_ids" file="feature_alignment_1_openswath_output_cluster_ids.csv" ftype="tabular" /> 227 <output name="out_ids" file="feature_alignment_1_openswath_output_cluster_ids.csv" ftype="tabular" />
118 </test> 228 </test>
119 <test> 229 <test>
120 <param name="inputs" value="feature_alignment_openswath_input_1.csv" ftype="txt" /> 230 <param name="inputs" value="feature_alignment_openswath_input_1.csv" ftype="txt" />
121 <param name="iformat" value="openswath" /> 231 <param name="iformat" value="openswath" />
122 <param name="method" value="best_overall" /> 232 <param name="method" value="best_overall" />
123 <param name="max_fdr_quality" value="0.4" /> 233 <param name="fdr_sel" value="opt_fdr_disabled" />
124 <param name="matrix_output_method" value="RT" /> 234 <param name="max_fdr_quality" value="0.4" />
125 <output name="out_matrix" file="feature_alignment_2_output_2_matrix.csv" ftype="tabular" /> 235 <param name="matrix_output_method" value="RT" />
236 <output name="out_matrix" file="feature_alignment_2_output_2_matrix.csv" lines_diff="2" ftype="tabular" />
126 <output name="out_ids" file="feature_alignment_2_output_1_ids.csv" ftype="tabular" /> 237 <output name="out_ids" file="feature_alignment_2_output_1_ids.csv" ftype="tabular" />
127 </test> 238 </test>
128 <!-- needs R dependency; The python equivalent should be enough I guess.
129 <test> 239 <test>
130 <param name="inputs" value="feature_alignment_3_openswath_input.csv" ftype="txt" /> 240 <param name="inputs" value="feature_alignment_3_openswath_input.csv" ftype="txt" />
131 <param name="iformat" value="openswath" /> 241 <param name="iformat" value="openswath" />
132 <param name="realign_method" value="splineR" /> 242 <param name="realign_method" value="splineR" />
133 <param name="method" value="best_cluster_score" /> 243 <param name="method" value="best_cluster_score" />
134 <param name="max_fdr_quality" value="0.4" /> 244 <param name="fdr_sel" value="opt_fdr_disabled" />
135 <param name="maxtrix_output_method" value="RT" /> 245 <param name="max_fdr_quality" value="0.4" />
136 <output name="out_ids" file="feature_alignment_3_openswath_output_cluster_ids.csv" ftype="tabular" /> 246 <param name="matrix_output_method" value="RT" />
137 </test> 247 <output name="out_ids" file="feature_alignment_3_openswath_output_splineR_cluster_ids.csv" ftype="tabular" />
138 --> 248 </test>
139 <test> 249 <test>
140 <param name="inputs" value="feature_alignment_3_openswath_input.csv" ftype="txt" /> 250 <param name="inputs" value="feature_alignment_3_openswath_input.csv" ftype="txt" />
141 <param name="iformat" value="openswath" /> 251 <param name="iformat" value="openswath" />
142 <param name="realign_method" value="splinePy" /> 252 <param name="realign_method" value="splinePy" />
143 <param name="method" value="best_cluster_score" /> 253 <param name="method" value="best_cluster_score" />
144 <param name="max_fdr_quality" value="0.4" /> 254 <param name="fdr_sel" value="opt_fdr_disabled" />
145 <param name="matrix_output_method" value="RT" /> 255 <param name="max_fdr_quality" value="0.4" />
146 <output name="out_ids" file="feature_alignment_3_openswath_output_cluster_ids.csv" ftype="tabular" /> 256 <param name="matrix_output_method" value="RT" />
257 <output name="out_ids" file="feature_alignment_3_openswath_output_splinePy_cluster_ids.csv" ftype="tabular" />
147 </test> 258 </test>
148 <test> 259 <test>
149 <param name="inputs" value="feature_alignment_peakview_input_2.csv" ftype="txt" /> 260 <param name="inputs" value="feature_alignment_peakview_input_2.csv" ftype="txt" />
150 <param name="iformat" value="peakview" /> 261 <param name="iformat" value="peakview" />
151 <param name="method" value="best_cluster_score" /> 262 <param name="method" value="best_cluster_score" />
263 <param name="max_rt_diff_sel" value="opt_max_rt_diff_enabled" />
264 <param name="iso_max_rt_diff_sel" value="opt_iso_max_rt_diff_enabled" />
265 <param name="frac_selected_sel" value="opt_frac_selected_enabled" />
266 <param name="disable_isotopic_grouping" value="True" />
267 <param name="nr_high_conf_exp_sel" value="opt_nr_high_conf_exp_enabled" />
268 <param name="alignment_score_sel" value="opt_alignment_score_enabled" />
152 <param name="max_fdr_quality" value="0.0001" /> 269 <param name="max_fdr_quality" value="0.0001" />
270 <param name="fdr_sel" value="opt_fdr_cutoff" />
153 <param name="fdr_cutoff" value="0.000000001" /> 271 <param name="fdr_cutoff" value="0.000000001" />
154 <param name="matrix_output_method" value="RT" /> 272 <param name="matrix_output_method" value="RT" />
155 <output name="out_matrix" file="feature_alignment_5_peakview_output_matrix.csv" ftype="tabular" /> 273 <output name="out_matrix" file="feature_alignment_5_peakview_output_matrix.csv" lines_diff="2" ftype="tabular" />
156 </test> 274 </test>
157
158 </tests> 275 </tests>
159 <help> 276 <help>
160 <![CDATA[ 277 <![CDATA[
161 278
162 **What it does** 279 **What it does**
163 280
164 This program will select all peakgroups below the FDR cutoff in all files and try to align them to each other. 281 TRIC uses a graph-based alignment strategy based on non-linear retention time correction to integrate information from all available runs. The input consists of a set of csv files derived from a targeted proteomics experiment generated by OpenSWATH (using either mProphet or pyProphet) or generated by Peakview.
165 If only one file is given, it will act as peakgroup selector (best by m_score) 282
166 and will apply the provided FDR cutoff. 283 There are two basic running modes available. The first one uses a reference-based alignment where a single run is chosen as a reference and all other runs are aligned to it. This is a useful choice for a small number of runs that are chromatographically similar. The second mode generates a guidance tree based on chromatographic similarity of the input runs and uses this tree to align the targeted proteomics runs (the nodes in the tree are runs and the edges are pairwise alignments). Generally this mode is better for a large number of runs or for chromatographically dissimilar samples.
284
285 TRIC is part of msproteomicstools. For additional help please visit the `TRIC documentation <https://github.com/msproteomicstools/msproteomicstools/blob/master/TRIC-README.md>`_
286
167 ]]> 287 ]]>
168 </help> 288 </help>
169 <citations> 289 <citations>
170 </citations> 290 </citations>
171 </tool> 291 </tool>