comparison XFDR.xml @ 8:87dda030bc92 draft

planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 3d1e5f37fd16524a415f707772eeb7ead848c5e3
author galaxyp
date Thu, 01 Dec 2022 18:59:41 +0000
parents 9a6e3bb0f358
children cf9b51c0b15e
comparison
equal deleted inserted replaced
7:4fdeb75928ea 8:87dda030bc92
1 <?xml version='1.0' encoding='UTF-8'?> 1 <?xml version='1.0' encoding='UTF-8'?>
2 <!--This is a configuration file for the integration of a tools into Galaxy (https://galaxyproject.org/). This file was automatically generated using CTDConverter.--> 2 <!--This is a configuration file for the integration of a tools into Galaxy (https://galaxyproject.org/). This file was automatically generated using CTDConverter.-->
3 <!--Proposed Tool Section: [ID Processing]--> 3 <!--Proposed Tool Section: [ID Processing]-->
4 <tool id="XFDR" name="XFDR" version="@TOOL_VERSION@+galaxy@GALAXY_VERSION@" profile="20.05"> 4 <tool id="XFDR" name="XFDR" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="21.05">
5 <description>Calculates false discovery rate estimates on crosslink identifications</description> 5 <description>Calculates false discovery rate estimates on crosslink identifications</description>
6 <macros> 6 <macros>
7 <token name="@EXECUTABLE@">XFDR</token> 7 <token name="@EXECUTABLE@">XFDR</token>
8 <import>macros.xml</import> 8 <import>macros.xml</import>
9 <import>macros_autotest.xml</import>
10 <import>macros_test.xml</import>
11 </macros> 9 </macros>
12 <expand macro="requirements"/> 10 <expand macro="requirements"/>
13 <expand macro="stdio"/> 11 <expand macro="stdio"/>
14 <command detect_errors="exit_code"><![CDATA[@QUOTE_FOO@ 12 <command detect_errors="exit_code"><![CDATA[@QUOTE_FOO@
15 @EXT_FOO@ 13 @EXT_FOO@
72 <configfiles> 70 <configfiles>
73 <inputs name="args_json" data_style="paths"/> 71 <inputs name="args_json" data_style="paths"/>
74 <configfile name="hardcoded_json"><![CDATA[{"log": "log.txt", "threads": "\${GALAXY_SLOTS:-1}", "no_progress": true}]]></configfile> 72 <configfile name="hardcoded_json"><![CDATA[{"log": "log.txt", "threads": "\${GALAXY_SLOTS:-1}", "no_progress": true}]]></configfile>
75 </configfiles> 73 </configfiles>
76 <inputs> 74 <inputs>
77 <param name="in" argument="-in" type="data" format="idxml,mzid,xquest.xml" optional="true" label="Crosslink Identifications in either xquest.xml, idXML, or mzIdentML format (as produced by OpenPepXL)" help=" select idxml,mzid,xquest.xml data sets(s)"/> 75 <param argument="-in" type="data" format="idxml,mzid,xquest.xml" optional="true" label="Crosslink Identifications in either xquest.xml, idXML, or mzIdentML format (as produced by OpenPepXL)" help=" select idxml,mzid,xquest.xml data sets(s)"/>
78 <param name="decoy_string" argument="-decoy_string" type="text" optional="true" value="DECOY_" label="Prefix of decoy protein ids" help="The correspondig target protein id should be retrievable by deleting this prefix"> 76 <param argument="-decoy_string" type="text" optional="true" value="DECOY_" label="Prefix of decoy protein ids" help="The correspondig target protein id should be retrievable by deleting this prefix">
79 <expand macro="list_string_san"/> 77 <expand macro="list_string_san" name="decoy_string"/>
80 </param> 78 </param>
81 <param name="minborder" argument="-minborder" type="float" optional="true" value="-50.0" label="Filter for minimum precursor mass error (ppm) before FDR estimation" help="Values outside of the tolerance window of the original search will effectively disable this filter"/> 79 <param argument="-minborder" type="float" optional="true" value="-50.0" label="Filter for minimum precursor mass error (ppm) before FDR estimation" help="Values outside of the tolerance window of the original search will effectively disable this filter"/>
82 <param name="maxborder" argument="-maxborder" type="float" optional="true" value="50.0" label="Filter for maximum precursor mass error (ppm) before FDR estimation" help="Values outside of the tolerance window of the original search will effectively disable this filter"/> 80 <param argument="-maxborder" type="float" optional="true" value="50.0" label="Filter for maximum precursor mass error (ppm) before FDR estimation" help="Values outside of the tolerance window of the original search will effectively disable this filter"/>
83 <param name="mindeltas" argument="-mindeltas" type="float" optional="true" min="0.0" max="1.0" value="0.0" label="Filter for delta score, 0 disables the filte" help="Minimum delta score required, hits are rejected if larger or equal. The delta score is a ratio of the score of a hit and the score of the next best hit to the same spectrum, so the value range is between 0 and 1 with 1.0 meaning the scores are equal and 0.5 meaning the next best score is half as high as the current one"/> 81 <param argument="-mindeltas" type="float" optional="true" min="0.0" max="1.0" value="0.0" label="Filter for delta score, 0 disables the filte" help="Minimum delta score required, hits are rejected if larger or equal. The delta score is a ratio of the score of a hit and the score of the next best hit to the same spectrum, so the value range is between 0 and 1 with 1.0 meaning the scores are equal and 0.5 meaning the next best score is half as high as the current one"/>
84 <param name="minionsmatched" argument="-minionsmatched" type="integer" optional="true" min="0" value="0" label="Filter for minimum matched ions per peptide" help=""/> 82 <param argument="-minionsmatched" type="integer" optional="true" min="0" value="0" label="Filter for minimum matched ions per peptide" help=""/>
85 <param name="uniquexl" argument="-uniquexl" type="boolean" truevalue="true" falsevalue="false" checked="false" label="Calculate statistics based only on unique IDs" help="For a set of IDs from equal candidates (same pair of peptides, modifications and cross-linked positions), only the highest scoring hit will be considered. By default the score distribution will be estimated using all 1st ranked candidates"/> 83 <param argument="-uniquexl" type="boolean" truevalue="true" falsevalue="false" checked="false" label="Calculate statistics based only on unique IDs" help="For a set of IDs from equal candidates (same pair of peptides, modifications and cross-linked positions), only the highest scoring hit will be considered. By default the score distribution will be estimated using all 1st ranked candidates"/>
86 <param name="no_qvalues" argument="-no_qvalues" type="boolean" truevalue="true" falsevalue="false" checked="false" label="Do not transform simple FDR to q-values" help=""/> 84 <param argument="-no_qvalues" type="boolean" truevalue="true" falsevalue="false" checked="false" label="Do not transform simple FDR to q-values" help=""/>
87 <param name="minscore" argument="-minscore" type="float" optional="true" value="-10.0" label="Minimum score to be considered for FDR calculation" help="A number lower than the lowest score will effectively disable this filter"/> 85 <param argument="-minscore" type="float" optional="true" value="-10.0" label="Minimum score to be considered for FDR calculation" help="A number lower than the lowest score will effectively disable this filter"/>
88 <param name="binsize" argument="-binsize" type="float" optional="true" min="1e-15" value="0.0001" label="Bin size for the cumulative histograms for score distributions" help="Should be about the same size as the smallest expected difference between scores. Smaller numbers will make XFDR more robust, but much slower. Negative numbers are not allowed. Should only be changed if the range of the main score changes or another score than the OpenPepXL score is used"/> 86 <param argument="-binsize" type="float" optional="true" min="0.0" value="0.0001" label="Bin size for the cumulative histograms for score distributions" help="Should be about the same size as the smallest expected difference between scores. Smaller numbers will make XFDR more robust, but much slower. Negative numbers are not allowed. Should only be changed if the range of the main score changes or another score than the OpenPepXL score is used"/>
89 <expand macro="adv_opts_macro"> 87 <expand macro="adv_opts_macro">
90 <param name="force" argument="-force" type="boolean" truevalue="true" falsevalue="false" checked="false" label="Overrides tool-specific checks" help=""/> 88 <param argument="-force" type="boolean" truevalue="true" falsevalue="false" checked="false" label="Overrides tool-specific checks" help=""/>
91 <param name="test" argument="-test" type="hidden" optional="true" value="False" label="Enables the test mode (needed for internal use only)" help=""> 89 <param argument="-test" type="hidden" optional="true" value="False" label="Enables the test mode (needed for internal use only)" help="">
92 <expand macro="list_string_san"/> 90 <expand macro="list_string_san" name="test"/>
93 </param> 91 </param>
94 </expand> 92 </expand>
95 <param name="OPTIONAL_OUTPUTS" type="select" optional="true" multiple="true" label="Optional outputs"> 93 <param name="OPTIONAL_OUTPUTS" type="select" optional="true" multiple="true" label="Optional outputs">
96 <option value="out_idXML_FLAG">out_idXML (Output as idXML file)</option> 94 <option value="out_idXML_FLAG">out_idXML (Output as idXML file)</option>
97 <option value="out_mzIdentML_FLAG">out_mzIdentML (Output as mzIdentML file)</option> 95 <option value="out_mzIdentML_FLAG">out_mzIdentML (Output as mzIdentML file)</option>
114 </data> 112 </data>
115 <data name="ctd_out" format="xml" label="${tool.name} on ${on_string}: ctd"> 113 <data name="ctd_out" format="xml" label="${tool.name} on ${on_string}: ctd">
116 <filter>OPTIONAL_OUTPUTS is not None and "ctd_out_FLAG" in OPTIONAL_OUTPUTS</filter> 114 <filter>OPTIONAL_OUTPUTS is not None and "ctd_out_FLAG" in OPTIONAL_OUTPUTS</filter>
117 </data> 115 </data>
118 </outputs> 116 </outputs>
119 <tests> 117 <tests><!-- TOPP_XFDR_1 -->
120 <expand macro="autotest_XFDR"/> 118 <test expect_num_outputs="4">
121 <expand macro="manutest_XFDR"/> 119 <section name="adv_opts">
120 <param name="force" value="false"/>
121 <param name="test" value="true"/>
122 </section>
123 <param name="in" value="XFDR_test_in1.idXML"/>
124 <output name="out_idXML" file="XFDR_test_out1_temp.idXML" compare="sim_size" delta_frac="0.7" ftype="idxml"/>
125 <output name="out_mzIdentML" file="XFDR_test_out1_temp.mzid" compare="sim_size" delta_frac="0.7" ftype="mzid"/>
126 <output name="out_xquest" file="XFDR_test_out1_temp.xquest.xml" compare="sim_size" delta_frac="0.7" ftype="xquest.xml"/>
127 <param name="decoy_string" value="DECOY_"/>
128 <param name="minborder" value="-50.0"/>
129 <param name="maxborder" value="50.0"/>
130 <param name="mindeltas" value="0.0"/>
131 <param name="minionsmatched" value="0"/>
132 <param name="uniquexl" value="false"/>
133 <param name="no_qvalues" value="false"/>
134 <param name="minscore" value="-10.0"/>
135 <param name="binsize" value="0.1"/>
136 <param name="OPTIONAL_OUTPUTS" value="ctd_out_FLAG,out_idXML_FLAG,out_mzIdentML_FLAG,out_xquest_FLAG"/>
137 <output name="ctd_out" ftype="xml">
138 <assert_contents>
139 <is_valid_xml/>
140 </assert_contents>
141 </output>
142 </test>
143 <!-- TOPP_XFDR_2 -->
144 <test expect_num_outputs="4">
145 <section name="adv_opts">
146 <param name="force" value="false"/>
147 <param name="test" value="true"/>
148 </section>
149 <param name="in" value="XFDR_test_in1.idXML"/>
150 <output name="out_idXML" file="XFDR_test_out2_temp.idXML" compare="sim_size" delta_frac="0.7" ftype="idxml"/>
151 <output name="out_mzIdentML" file="XFDR_test_out2_temp.mzid" compare="sim_size" delta_frac="0.7" ftype="mzid"/>
152 <output name="out_xquest" file="XFDR_test_out2_temp.xquest.xml" compare="sim_size" delta_frac="0.7" ftype="xquest.xml"/>
153 <param name="decoy_string" value="DECOY_"/>
154 <param name="minborder" value="-50.0"/>
155 <param name="maxborder" value="50.0"/>
156 <param name="mindeltas" value="0.0"/>
157 <param name="minionsmatched" value="0"/>
158 <param name="uniquexl" value="true"/>
159 <param name="no_qvalues" value="true"/>
160 <param name="minscore" value="-10.0"/>
161 <param name="binsize" value="0.1"/>
162 <param name="OPTIONAL_OUTPUTS" value="ctd_out_FLAG,out_idXML_FLAG,out_mzIdentML_FLAG,out_xquest_FLAG"/>
163 <output name="ctd_out" ftype="xml">
164 <assert_contents>
165 <is_valid_xml/>
166 </assert_contents>
167 </output>
168 </test>
169 <!-- TOPP_XFDR_3 -->
170 <test expect_num_outputs="4">
171 <section name="adv_opts">
172 <param name="force" value="false"/>
173 <param name="test" value="true"/>
174 </section>
175 <param name="in" value="XFDR_test_in2.xquest.xml"/>
176 <output name="out_idXML" file="XFDR_test_out3_temp.idXML" compare="sim_size" delta_frac="0.7" ftype="idxml"/>
177 <output name="out_mzIdentML" file="XFDR_test_out3_temp.mzid" compare="sim_size" delta_frac="0.7" ftype="mzid"/>
178 <output name="out_xquest" file="XFDR_test_out3_temp.xquest.xml" compare="sim_size" delta_frac="0.7" ftype="xquest.xml"/>
179 <param name="decoy_string" value="DECOY_"/>
180 <param name="minborder" value="-50.0"/>
181 <param name="maxborder" value="50.0"/>
182 <param name="mindeltas" value="0.0"/>
183 <param name="minionsmatched" value="0"/>
184 <param name="uniquexl" value="false"/>
185 <param name="no_qvalues" value="false"/>
186 <param name="minscore" value="0.0"/>
187 <param name="binsize" value="0.1"/>
188 <param name="OPTIONAL_OUTPUTS" value="ctd_out_FLAG,out_idXML_FLAG,out_mzIdentML_FLAG,out_xquest_FLAG"/>
189 <output name="ctd_out" ftype="xml">
190 <assert_contents>
191 <is_valid_xml/>
192 </assert_contents>
193 </output>
194 </test>
195 <!-- TOPP_XFDR_4 -->
196 <test expect_num_outputs="4">
197 <section name="adv_opts">
198 <param name="force" value="false"/>
199 <param name="test" value="true"/>
200 </section>
201 <param name="in" value="XFDR_test_in2.xquest.xml"/>
202 <output name="out_idXML" file="XFDR_test_out4_temp.idXML" compare="sim_size" delta_frac="0.7" ftype="idxml"/>
203 <output name="out_mzIdentML" file="XFDR_test_out4_temp.mzid" compare="sim_size" delta_frac="0.7" ftype="mzid"/>
204 <output name="out_xquest" file="XFDR_test_out4_temp.xquest.xml" compare="sim_size" delta_frac="0.7" ftype="xquest.xml"/>
205 <param name="decoy_string" value="DECOY_"/>
206 <param name="minborder" value="-3.0"/>
207 <param name="maxborder" value="3.0"/>
208 <param name="mindeltas" value="0.0"/>
209 <param name="minionsmatched" value="0"/>
210 <param name="uniquexl" value="false"/>
211 <param name="no_qvalues" value="false"/>
212 <param name="minscore" value="-10.0"/>
213 <param name="binsize" value="0.1"/>
214 <param name="OPTIONAL_OUTPUTS" value="ctd_out_FLAG,out_idXML_FLAG,out_mzIdentML_FLAG,out_xquest_FLAG"/>
215 <output name="ctd_out" ftype="xml">
216 <assert_contents>
217 <is_valid_xml/>
218 </assert_contents>
219 </output>
220 </test>
221 <!-- TOPP_XFDR_5 -->
222 <test expect_num_outputs="4">
223 <section name="adv_opts">
224 <param name="force" value="false"/>
225 <param name="test" value="true"/>
226 </section>
227 <param name="in" value="XFDR_test_in3.xquest.xml"/>
228 <output name="out_idXML" file="XFDR_test_out5_temp.idXML" compare="sim_size" delta_frac="0.7" ftype="idxml"/>
229 <output name="out_mzIdentML" file="XFDR_test_out5_temp.mzid" compare="sim_size" delta_frac="0.7" ftype="mzid"/>
230 <output name="out_xquest" file="XFDR_test_out5_temp.xquest.xml" compare="sim_size" delta_frac="0.7" ftype="xquest.xml"/>
231 <param name="decoy_string" value="DECOY_"/>
232 <param name="minborder" value="-3.0"/>
233 <param name="maxborder" value="3.0"/>
234 <param name="mindeltas" value="0.0"/>
235 <param name="minionsmatched" value="0"/>
236 <param name="uniquexl" value="false"/>
237 <param name="no_qvalues" value="false"/>
238 <param name="minscore" value="-10.0"/>
239 <param name="binsize" value="0.1"/>
240 <param name="OPTIONAL_OUTPUTS" value="ctd_out_FLAG,out_idXML_FLAG,out_mzIdentML_FLAG,out_xquest_FLAG"/>
241 <output name="ctd_out" ftype="xml">
242 <assert_contents>
243 <is_valid_xml/>
244 </assert_contents>
245 </output>
246 </test>
247 <!-- TOPP_XFDR_6 -->
248 <test expect_num_outputs="2">
249 <section name="adv_opts">
250 <param name="force" value="false"/>
251 <param name="test" value="true"/>
252 </section>
253 <param name="in" value="XFDR_test_in4.idXML"/>
254 <output name="out_idXML" file="XFDR_test_out6_temp.idXML" compare="sim_size" delta_frac="0.7" ftype="idxml"/>
255 <param name="decoy_string" value="DECOY_"/>
256 <param name="minborder" value="-50.0"/>
257 <param name="maxborder" value="50.0"/>
258 <param name="mindeltas" value="0.0"/>
259 <param name="minionsmatched" value="0"/>
260 <param name="uniquexl" value="false"/>
261 <param name="no_qvalues" value="false"/>
262 <param name="minscore" value="-10.0"/>
263 <param name="binsize" value="0.1"/>
264 <param name="OPTIONAL_OUTPUTS" value="ctd_out_FLAG,out_idXML_FLAG"/>
265 <output name="ctd_out" ftype="xml">
266 <assert_contents>
267 <is_valid_xml/>
268 </assert_contents>
269 </output>
270 </test>
271 <!-- TOPP_XFDR_7 -->
272 <test expect_num_outputs="4">
273 <section name="adv_opts">
274 <param name="force" value="false"/>
275 <param name="test" value="true"/>
276 </section>
277 <param name="in" value="XFDR_test_in2.xquest.xml"/>
278 <output name="out_idXML" file="XFDR_test_out7_temp.idXML" compare="sim_size" delta_frac="0.7" ftype="idxml"/>
279 <output name="out_mzIdentML" file="XFDR_test_out7_temp.mzid" compare="sim_size" delta_frac="0.7" ftype="mzid"/>
280 <output name="out_xquest" file="XFDR_test_out7_temp.xquest.xml" compare="sim_size" delta_frac="0.7" ftype="xquest.xml"/>
281 <param name="decoy_string" value="DECOY_"/>
282 <param name="minborder" value="-50.0"/>
283 <param name="maxborder" value="50.0"/>
284 <param name="mindeltas" value="0.0"/>
285 <param name="minionsmatched" value="0"/>
286 <param name="uniquexl" value="true"/>
287 <param name="no_qvalues" value="false"/>
288 <param name="minscore" value="0.0"/>
289 <param name="binsize" value="0.1"/>
290 <param name="OPTIONAL_OUTPUTS" value="ctd_out_FLAG,out_idXML_FLAG,out_mzIdentML_FLAG,out_xquest_FLAG"/>
291 <output name="ctd_out" ftype="xml">
292 <assert_contents>
293 <is_valid_xml/>
294 </assert_contents>
295 </output>
296 </test>
122 </tests> 297 </tests>
123 <help><![CDATA[Calculates false discovery rate estimates on crosslink identifications 298 <help><![CDATA[Calculates false discovery rate estimates on crosslink identifications
124 299
125 300
126 For more information, visit http://www.openms.de/doxygen/release/2.6.0/html/TOPP_XFDR.html]]></help> 301 For more information, visit http://www.openms.de/doxygen/release/2.8.0/html/TOPP_XFDR.html]]></help>
127 <expand macro="references"/> 302 <expand macro="references"/>
128 </tool> 303 </tool>