comparison ProteinInference.xml @ 14:e278a1abeebe draft default tip

planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 5c080b1e2b99f1c88f4557e9fec8c45c9d23b906
author galaxyp
date Fri, 14 Jun 2024 21:29:31 +0000
parents 98adda3af74a
children
comparison
equal deleted inserted replaced
13:98adda3af74a 14:e278a1abeebe
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.--> 1 <!--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: [Identification]--> 2 <!--Proposed Tool Section: [Identification Processing]-->
4 <tool id="ProteinInference" name="ProteinInference" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="21.05"> 3 <tool id="ProteinInference" name="ProteinInference" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="21.05">
5 <description>Protein inference based on an aggregation of the scores of the identified peptides.</description> 4 <description>Protein inference based on an aggregation of the scores of the identified peptides</description>
6 <macros> 5 <macros>
7 <token name="@EXECUTABLE@">ProteinInference</token> 6 <token name="@EXECUTABLE@">ProteinInference</token>
8 <import>macros.xml</import> 7 <import>macros.xml</import>
9 </macros> 8 </macros>
10 <expand macro="requirements"/> 9 <expand macro="requirements"/>
15 14
16 ## Preprocessing 15 ## Preprocessing
17 mkdir in_cond.in && 16 mkdir in_cond.in &&
18 #if $in_cond.in_select == "no" 17 #if $in_cond.in_select == "no"
19 mkdir ${' '.join(["'in_cond.in/%s'" % (i) for i, f in enumerate($in_cond.in) if f])} && 18 mkdir ${' '.join(["'in_cond.in/%s'" % (i) for i, f in enumerate($in_cond.in) if f])} &&
20 ${' '.join(["ln -s '%s' 'in_cond.in/%s/%s.%s' && " % (f, i, re.sub('[^\w\-_]', '_', f.element_identifier), $gxy2omsext(f.ext)) for i, f in enumerate($in_cond.in) if f])} 19 ${' '.join(["cp '%s' 'in_cond.in/%s/%s.%s' && " % (f, i, re.sub('[^\w\-_]', '_', f.element_identifier), $gxy2omsext(f.ext)) for i, f in enumerate($in_cond.in) if f])}
21 #else 20 #else
22 ln -s '$in_cond.in' 'in_cond.in/${re.sub("[^\w\-_]", "_", $in_cond.in.element_identifier)}.$gxy2omsext($in_cond.in.ext)' && 21 cp '$in_cond.in' 'in_cond.in/${re.sub("[^\w\-_]", "_", $in_cond.in.element_identifier)}.$gxy2omsext($in_cond.in.ext)' &&
23 #end if 22 #end if
24 mkdir out && 23 mkdir out &&
25 24
26 ## Main program call 25 ## Main program call
27 26
52 <param name="in_select" type="select" label="Run tool in batch mode for -in"> 51 <param name="in_select" type="select" label="Run tool in batch mode for -in">
53 <option value="no">No: process all datasets jointly</option> 52 <option value="no">No: process all datasets jointly</option>
54 <option value="yes">Yes: process each dataset in an independent job</option> 53 <option value="yes">Yes: process each dataset in an independent job</option>
55 </param> 54 </param>
56 <when value="no"> 55 <when value="no">
57 <param argument="-in" type="data" format="consensusxml,idxml" multiple="true" optional="false" label="input file(s)" help=" select consensusxml,idxml data sets(s)"/> 56 <param argument="-in" type="data" format="consensusxml,idxml" multiple="true" label="input file(s)" help=" select consensusxml,idxml data sets(s)"/>
58 </when> 57 </when>
59 <when value="yes"> 58 <when value="yes">
60 <param argument="-in" type="data" format="consensusxml,idxml" multiple="false" optional="false" label="input file(s)" help=" select consensusxml,idxml data sets(s)"/> 59 <param argument="-in" type="data" format="consensusxml,idxml" label="input file(s)" help=" select consensusxml,idxml data sets(s)"/>
61 </when> 60 </when>
62 </conditional> 61 </conditional>
63 <param argument="-out_type" display="radio" type="select" optional="false" label="output file type" help=""> 62 <param argument="-out_type" type="select" label="output file type" help="">
64 <option value="consensusXML">consensusxml</option> 63 <option value="consensusXML">consensusxml</option>
65 <option value="idXML">idxml</option> 64 <option value="idXML">idxml</option>
65 <validator type="expression" message="A value needs to be selected">value != "select a value"</validator>
66 <expand macro="list_string_san" name="out_type"/> 66 <expand macro="list_string_san" name="out_type"/>
67 </param> 67 </param>
68 <param argument="-merge_runs" type="select" optional="true" label="If your idXML contains multiple runs, merge them beforehand" help="Otherwise performs inference separately per run"> 68 <param argument="-merge_runs" type="select" label="If your idXML contains multiple runs, merge them beforehand" help="Otherwise performs inference separately per run">
69 <option value="no">no</option> 69 <option value="no">no</option>
70 <option value="all" selected="true">all</option> 70 <option value="all" selected="true">all</option>
71 <expand macro="list_string_san" name="merge_runs"/> 71 <expand macro="list_string_san" name="merge_runs"/>
72 </param> 72 </param>
73 <param argument="-protein_fdr" type="boolean" truevalue="true" falsevalue="false" checked="false" label="Additionally calculate the target-decoy FDR on protein-level after inference" help=""/> 73 <param argument="-protein_fdr" type="boolean" truevalue="true" falsevalue="false" checked="false" label="Additionally calculate the target-decoy FDR on protein-level after inference" help=""/>
74 <section name="Merging" title="" help="" expanded="false"> 74 <section name="Merging" title="" help="" expanded="false">
75 <param name="annotate_origin" argument="-Merging:annotate_origin" type="boolean" truevalue="true" falsevalue="false" checked="true" label="If true, adds a map_index MetaValue to the PeptideIDs to annotate the IDRun they came from" help=""/> 75 <param name="annotate_origin" argument="-Merging:annotate_origin" type="boolean" truevalue="true" falsevalue="false" checked="true" label="If true, adds a map_index MetaValue to the PeptideIDs to annotate the IDRun they came from" help=""/>
76 <param name="allow_disagreeing_settings" argument="-Merging:allow_disagreeing_settings" type="boolean" truevalue="true" falsevalue="false" checked="false" label="Force merging of disagreeing runs" help="Use at your own risk"/> 76 <param name="allow_disagreeing_settings" argument="-Merging:allow_disagreeing_settings" type="boolean" truevalue="true" falsevalue="false" checked="false" label="Force merging of disagreeing runs" help="Use at your own risk"/>
77 </section> 77 </section>
78 <section name="Algorithm" title="" help="" expanded="false"> 78 <section name="Algorithm" title="" help="" expanded="false">
79 <param name="min_peptides_per_protein" argument="-Algorithm:min_peptides_per_protein" type="integer" optional="true" min="0" value="1" label="Minimal number of peptides needed for a protein identification" help="If set to zero, unmatched proteins get a score of -Infinity. If bigger than zero, proteins with less peptides are filtered and evidences removed from the PSMs. PSMs that do not reference any proteins anymore are removed but the spectrum info is kept"/> 79 <param name="min_peptides_per_protein" argument="-Algorithm:min_peptides_per_protein" type="integer" min="0" value="1" label="Minimal number of peptides needed for a protein identification" help="If set to zero, unmatched proteins get a score of -Infinity. If bigger than zero, proteins with less peptides are filtered and evidences removed from the PSMs. PSMs that do not reference any proteins anymore are removed but the spectrum info is kept"/>
80 <param name="score_aggregation_method" argument="-Algorithm:score_aggregation_method" type="select" optional="true" label="How to aggregate scores of peptides matching to the same protein?" help=""> 80 <param name="score_aggregation_method" argument="-Algorithm:score_aggregation_method" type="select" label="How to aggregate scores of peptides matching to the same protein?" help="">
81 <option value="best" selected="true">best</option> 81 <option value="best" selected="true">best</option>
82 <option value="product">product</option> 82 <option value="product">product</option>
83 <option value="sum">sum</option> 83 <option value="sum">sum</option>
84 <option value="maximum">maximum</option> 84 <option value="maximum">maximum</option>
85 <expand macro="list_string_san" name="score_aggregation_method"/> 85 <expand macro="list_string_san" name="score_aggregation_method"/>
95 <param argument="-conservative_fdr" type="boolean" truevalue="true" falsevalue="false" checked="true" label="Use (D+1)/(T) instead of (D+1)/(T+D) for reporting protein FDRs" help=""/> 95 <param argument="-conservative_fdr" type="boolean" truevalue="true" falsevalue="false" checked="true" label="Use (D+1)/(T) instead of (D+1)/(T+D) for reporting protein FDRs" help=""/>
96 <param argument="-picked_fdr" type="boolean" truevalue="true" falsevalue="false" checked="true" label="Use picked protein FDRs" help=""/> 96 <param argument="-picked_fdr" type="boolean" truevalue="true" falsevalue="false" checked="true" label="Use picked protein FDRs" help=""/>
97 <param argument="-picked_decoy_string" type="text" optional="true" value="" label="If using picked protein FDRs, which decoy string was used" help="Leave blank for auto-detection"> 97 <param argument="-picked_decoy_string" type="text" optional="true" value="" label="If using picked protein FDRs, which decoy string was used" help="Leave blank for auto-detection">
98 <expand macro="list_string_san" name="picked_decoy_string"/> 98 <expand macro="list_string_san" name="picked_decoy_string"/>
99 </param> 99 </param>
100 <param argument="-picked_decoy_prefix" type="select" optional="true" label="If using picked protein FDRs, was the decoy string a prefix or suffix" help="Ignored during auto-detection"> 100 <param argument="-picked_decoy_prefix" type="select" label="If using picked protein FDRs, was the decoy string a prefix or suffix" help="Ignored during auto-detection">
101 <option value="prefix" selected="true">prefix</option> 101 <option value="prefix" selected="true">prefix</option>
102 <option value="suffix">suffix</option> 102 <option value="suffix">suffix</option>
103 <expand macro="list_string_san" name="picked_decoy_prefix"/> 103 <expand macro="list_string_san" name="picked_decoy_prefix"/>
104 </param> 104 </param>
105 <param argument="-force" type="boolean" truevalue="true" falsevalue="false" checked="false" label="Overrides tool-specific checks" help=""/> 105 <param argument="-force" type="boolean" truevalue="true" falsevalue="false" checked="false" label="Overrides tool-specific checks" help=""/>
106 <param argument="-test" type="hidden" optional="true" value="False" label="Enables the test mode (needed for internal use only)" help=""> 106 <param argument="-test" type="hidden" value="False" label="Enables the test mode (needed for internal use only)" help="" optional="true">
107 <expand macro="list_string_san" name="test"/> 107 <expand macro="list_string_san" name="test"/>
108 </param> 108 </param>
109 </expand> 109 </expand>
110 <param name="OPTIONAL_OUTPUTS" type="select" optional="true" multiple="true" label="Optional outputs"> 110 <param name="OPTIONAL_OUTPUTS" type="select" optional="true" multiple="true" label="Optional outputs">
111 <option value="ctd_out_FLAG">Output used ctd (ini) configuration file</option> 111 <option value="ctd_out_FLAG">Output used ctd (ini) configuration file</option>
119 </data> 119 </data>
120 <data name="ctd_out" format="xml" label="${tool.name} on ${on_string}: ctd"> 120 <data name="ctd_out" format="xml" label="${tool.name} on ${on_string}: ctd">
121 <filter>OPTIONAL_OUTPUTS is not None and "ctd_out_FLAG" in OPTIONAL_OUTPUTS</filter> 121 <filter>OPTIONAL_OUTPUTS is not None and "ctd_out_FLAG" in OPTIONAL_OUTPUTS</filter>
122 </data> 122 </data>
123 </outputs> 123 </outputs>
124 <tests><!-- TOPP_ProteinInference_1 --> 124 <tests>
125 <!-- TOPP_ProteinInference_1 -->
125 <test expect_num_outputs="2"> 126 <test expect_num_outputs="2">
126 <section name="adv_opts"> 127 <section name="adv_opts">
127 <param name="conservative_fdr" value="true"/> 128 <param name="conservative_fdr" value="true"/>
128 <param name="picked_fdr" value="true"/> 129 <param name="picked_fdr" value="true"/>
129 <param name="picked_decoy_string" value=""/> 130 <param name="picked_decoy_string" value=""/>
132 <param name="test" value="true"/> 133 <param name="test" value="true"/>
133 </section> 134 </section>
134 <conditional name="in_cond"> 135 <conditional name="in_cond">
135 <param name="in" value="ProteinInference_1_input.idXML"/> 136 <param name="in" value="ProteinInference_1_input.idXML"/>
136 </conditional> 137 </conditional>
137 <output name="out" file="ProteinInference_1_output.idXML" compare="sim_size" delta_frac="0.7" ftype="idxml"/> 138 <output name="out" value="ProteinInference_1_output.idXML" compare="sim_size" delta_frac="0.7" ftype="idxml"/>
138 <param name="out_type" value="idXML"/> 139 <param name="out_type" value="idXML"/>
139 <param name="merge_runs" value="all"/> 140 <param name="merge_runs" value="all"/>
140 <param name="protein_fdr" value="false"/> 141 <param name="protein_fdr" value="false"/>
141 <section name="Merging"> 142 <section name="Merging">
142 <param name="annotate_origin" value="false"/> 143 <param name="annotate_origin" value="false"/>
156 <output name="ctd_out" ftype="xml"> 157 <output name="ctd_out" ftype="xml">
157 <assert_contents> 158 <assert_contents>
158 <is_valid_xml/> 159 <is_valid_xml/>
159 </assert_contents> 160 </assert_contents>
160 </output> 161 </output>
162 <assert_stdout>
163 <has_text_matching expression="@EXECUTABLE@ took .* \(wall\), .* \(CPU\), .* \(system\), .* \(user\)(; Peak Memory Usage: 32 MB)?."/>
164 </assert_stdout>
161 </test> 165 </test>
162 <!-- TOPP_ProteinInference_2 --> 166 <!-- TOPP_ProteinInference_2 -->
163 <test expect_num_outputs="2"> 167 <test expect_num_outputs="2">
164 <section name="adv_opts"> 168 <section name="adv_opts">
165 <param name="conservative_fdr" value="true"/> 169 <param name="conservative_fdr" value="true"/>
170 <param name="test" value="true"/> 174 <param name="test" value="true"/>
171 </section> 175 </section>
172 <conditional name="in_cond"> 176 <conditional name="in_cond">
173 <param name="in" value="Epifany_2_input.consensusXML"/> 177 <param name="in" value="Epifany_2_input.consensusXML"/>
174 </conditional> 178 </conditional>
175 <output name="out" file="ProteinInference_2_output.consensusXML" compare="sim_size" delta_frac="0.7" ftype="consensusxml"/> 179 <output name="out" value="ProteinInference_2_output.consensusXML" compare="sim_size" delta_frac="0.7" ftype="consensusxml"/>
176 <param name="out_type" value="consensusXML"/> 180 <param name="out_type" value="consensusXML"/>
177 <param name="merge_runs" value="all"/> 181 <param name="merge_runs" value="all"/>
178 <param name="protein_fdr" value="false"/> 182 <param name="protein_fdr" value="false"/>
179 <section name="Merging"> 183 <section name="Merging">
180 <param name="annotate_origin" value="true"/> 184 <param name="annotate_origin" value="true"/>
194 <output name="ctd_out" ftype="xml"> 198 <output name="ctd_out" ftype="xml">
195 <assert_contents> 199 <assert_contents>
196 <is_valid_xml/> 200 <is_valid_xml/>
197 </assert_contents> 201 </assert_contents>
198 </output> 202 </output>
203 <assert_stdout>
204 <has_text_matching expression="@EXECUTABLE@ took .* \(wall\), .* \(CPU\), .* \(system\), .* \(user\)(; Peak Memory Usage: 32 MB)?."/>
205 </assert_stdout>
199 </test> 206 </test>
200 <!-- TOPP_ProteinInference_3 --> 207 <!-- TOPP_ProteinInference_3 -->
201 <test expect_num_outputs="2"> 208 <test expect_num_outputs="2">
202 <section name="adv_opts"> 209 <section name="adv_opts">
203 <param name="conservative_fdr" value="true"/> 210 <param name="conservative_fdr" value="true"/>
208 <param name="test" value="true"/> 215 <param name="test" value="true"/>
209 </section> 216 </section>
210 <conditional name="in_cond"> 217 <conditional name="in_cond">
211 <param name="in" value="MSstatsConverter_3_in.consensusXML"/> 218 <param name="in" value="MSstatsConverter_3_in.consensusXML"/>
212 </conditional> 219 </conditional>
213 <output name="out" file="ProteinInference_3_output.consensusXML" compare="sim_size" delta_frac="0.7" ftype="consensusxml"/> 220 <output name="out" value="ProteinInference_3_output.consensusXML" compare="sim_size" delta_frac="0.7" ftype="consensusxml"/>
214 <param name="out_type" value="consensusXML"/> 221 <param name="out_type" value="consensusXML"/>
215 <param name="merge_runs" value="all"/> 222 <param name="merge_runs" value="all"/>
216 <param name="protein_fdr" value="true"/> 223 <param name="protein_fdr" value="true"/>
217 <section name="Merging"> 224 <section name="Merging">
218 <param name="annotate_origin" value="true"/> 225 <param name="annotate_origin" value="true"/>
232 <output name="ctd_out" ftype="xml"> 239 <output name="ctd_out" ftype="xml">
233 <assert_contents> 240 <assert_contents>
234 <is_valid_xml/> 241 <is_valid_xml/>
235 </assert_contents> 242 </assert_contents>
236 </output> 243 </output>
244 <assert_stdout>
245 <has_text_matching expression="@EXECUTABLE@ took .* \(wall\), .* \(CPU\), .* \(system\), .* \(user\)(; Peak Memory Usage: 32 MB)?."/>
246 </assert_stdout>
237 </test> 247 </test>
238 </tests> 248 </tests>
239 <help><![CDATA[Protein inference based on an aggregation of the scores of the identified peptides. 249 <help><![CDATA[Protein inference based on an aggregation of the scores of the identified peptides.
240 250
241 251
242 For more information, visit http://www.openms.de/doxygen/release/2.8.0/html/TOPP_ProteinInference.html]]></help> 252 For more information, visit https://openms.de/doxygen/release/3.1.0/html/TOPP_ProteinInference.html]]></help>
243 <expand macro="references"/> 253 <expand macro="references"/>
244 </tool> 254 </tool>