comparison MascotAdapter.xml @ 11:57fb2083a8cb draft

"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 55a2aeba8bfd8a6910630721de9857dcdfe05d3c"
author galaxyp
date Tue, 13 Oct 2020 20:36:02 +0000
parents fb751f9c050b
children 27e308170367
comparison
equal deleted inserted replaced
10:6ff54b799207 11:57fb2083a8cb
27 python3 '$__tool_directory__/fill_ctd.py' '@EXECUTABLE@.ctd' '$args_json' '$hardcoded_json' && 27 python3 '$__tool_directory__/fill_ctd.py' '@EXECUTABLE@.ctd' '$args_json' '$hardcoded_json' &&
28 @EXECUTABLE@ -ini @EXECUTABLE@.ctd 28 @EXECUTABLE@ -ini @EXECUTABLE@.ctd
29 -in 29 -in
30 'in/${re.sub("[^\w\-_]", "_", $in.element_identifier)}.$gxy2omsext($in.ext)' 30 'in/${re.sub("[^\w\-_]", "_", $in.element_identifier)}.$gxy2omsext($in.ext)'
31 -out 31 -out
32 'out/output.${gxy2omsext("idxml")}' 32 'out/output.${out_type}'
33 33
34 ## Postprocessing 34 ## Postprocessing
35 && mv 'out/output.${gxy2omsext("idxml")}' '$out' 35 && mv 'out/output.${out_type}' '$out'
36 #if "ctd_out_FLAG" in $OPTIONAL_OUTPUTS 36 #if "ctd_out_FLAG" in $OPTIONAL_OUTPUTS
37 && mv '@EXECUTABLE@.ctd' '$ctd_out' 37 && mv '@EXECUTABLE@.ctd' '$ctd_out'
38 #end if]]></command> 38 #end if]]></command>
39 <configfiles> 39 <configfiles>
40 <inputs name="args_json" data_style="paths"/> 40 <inputs name="args_json" data_style="paths"/>
41 <configfile name="hardcoded_json"><![CDATA[{"mascot_directory": "TODO", "temp_data_directory": "\$TMP_DIR", "log": "log.txt", "threads": "\${GALAXY_SLOTS:-1}", "no_progress": true}]]></configfile> 41 <configfile name="hardcoded_json"><![CDATA[{"mascot_directory": "TODO", "temp_data_directory": "\$TMP_DIR", "log": "log.txt", "threads": "\${GALAXY_SLOTS:-1}", "no_progress": true}]]></configfile>
42 </configfiles> 42 </configfiles>
43 <inputs> 43 <inputs>
44 <param name="in" argument="-in" type="data" format="txt" optional="false" label="input file in mzData format" help="Note: In mode 'mascot_out' a Mascot results file (.mascotXML) is read select txt data sets(s)"/> 44 <param name="in" argument="-in" type="data" format="mascotxml,mzdata" optional="false" label="input file in mzData format" help="Note: In mode 'mascot_out' a Mascot results file (.mascotXML) is read select mascotxml,mzdata data sets(s)"/>
45 <param name="mascot_in" argument="-mascot_in" type="boolean" truevalue="true" falsevalue="false" checked="false" label="if this flag is set the MascotAdapter will read in mzData and write Mascot generic format" help=""/> 45 <param name="out_type" argument="-out_type" display="radio" type="select" optional="false" label="output file type (for TOPPAS)" help="">
46 <param name="mascot_out" argument="-mascot_out" type="boolean" truevalue="true" falsevalue="false" checked="false" label="if this flag is set the MascotAdapter will read in a Mascot results file (.mascotXML) and write idXML" help=""/> 46 <option value="idXML">idxml</option>
47 <option value="mgf">mgf</option>
48 <expand macro="list_string_san"/>
49 </param>
47 <param name="instrument" argument="-instrument" type="text" optional="true" value="Default" label="the instrument that was used to measure the spectra" help=""> 50 <param name="instrument" argument="-instrument" type="text" optional="true" value="Default" label="the instrument that was used to measure the spectra" help="">
48 <expand macro="list_string_san"/> 51 <expand macro="list_string_san"/>
49 </param> 52 </param>
50 <param name="precursor_mass_tolerance" argument="-precursor_mass_tolerance" type="float" optional="true" value="2.0" label="the precursor mass tolerance" help=""/> 53 <param name="precursor_mass_tolerance" argument="-precursor_mass_tolerance" type="float" optional="true" value="2.0" label="the precursor mass tolerance" help=""/>
51 <param name="peak_mass_tolerance" argument="-peak_mass_tolerance" type="float" optional="true" value="1.0" label="the peak mass tolerance" help=""/> 54 <param name="peak_mass_tolerance" argument="-peak_mass_tolerance" type="float" optional="true" value="1.0" label="the peak mass tolerance" help=""/>
174 <option value="Monoisotopic" selected="true">Monoisotopic</option> 177 <option value="Monoisotopic" selected="true">Monoisotopic</option>
175 <option value="Average">Average</option> 178 <option value="Average">Average</option>
176 <expand macro="list_string_san"/> 179 <expand macro="list_string_san"/>
177 </param> 180 </param>
178 <expand macro="adv_opts_macro"> 181 <expand macro="adv_opts_macro">
179 <param name="force" argument="-force" type="boolean" truevalue="true" falsevalue="false" checked="false" label="Overwrite tool specific checks" help=""/> 182 <param name="force" argument="-force" type="boolean" truevalue="true" falsevalue="false" checked="false" label="Overrides tool-specific checks" help=""/>
180 <param name="test" argument="-test" type="hidden" optional="true" value="False" label="Enables the test mode (needed for internal use only)" help=""> 183 <param name="test" argument="-test" type="hidden" optional="true" value="False" label="Enables the test mode (needed for internal use only)" help="">
181 <expand macro="list_string_san"/> 184 <expand macro="list_string_san"/>
182 </param> 185 </param>
183 </expand> 186 </expand>
184 <param name="OPTIONAL_OUTPUTS" type="select" multiple="true" label="Optional outputs" optional="true"> 187 <param name="OPTIONAL_OUTPUTS" type="select" optional="true" multiple="true" label="Optional outputs">
185 <option value="ctd_out_FLAG">Output used ctd (ini) configuration file</option> 188 <option value="ctd_out_FLAG">Output used ctd (ini) configuration file</option>
186 </param> 189 </param>
187 </inputs> 190 </inputs>
188 <outputs> 191 <outputs>
189 <data name="out" label="${tool.name} on ${on_string}: out" format="idxml"/> 192 <data name="out" label="${tool.name} on ${on_string}: out">
193 <change_format>
194 <when input="out_type" value="idXML" format="idxml"/>
195 <when input="out_type" value="mgf" format="mgf"/>
196 </change_format>
197 </data>
190 <data name="ctd_out" format="xml" label="${tool.name} on ${on_string}: ctd"> 198 <data name="ctd_out" format="xml" label="${tool.name} on ${on_string}: ctd">
191 <filter>OPTIONAL_OUTPUTS is not None and "ctd_out_FLAG" in OPTIONAL_OUTPUTS</filter> 199 <filter>OPTIONAL_OUTPUTS is not None and "ctd_out_FLAG" in OPTIONAL_OUTPUTS</filter>
192 </data> 200 </data>
193 </outputs> 201 </outputs>
194 <tests> 202 <tests>
196 <expand macro="manutest_MascotAdapter"/> 204 <expand macro="manutest_MascotAdapter"/>
197 </tests> 205 </tests>
198 <help><![CDATA[Annotates MS/MS spectra using Mascot. 206 <help><![CDATA[Annotates MS/MS spectra using Mascot.
199 207
200 208
201 For more information, visit http://www.openms.de/documentation/TOPP_MascotAdapter.html]]></help> 209 For more information, visit http://www.openms.de/doxygen/release/2.6.0/html/TOPP_MascotAdapter.html]]></help>
202 <expand macro="references"/> 210 <expand macro="references"/>
203 </tool> 211 </tool>