comparison MzTabExporter.xml @ 9:e270a5689e12 draft

"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
author galaxyp
date Wed, 09 Sep 2020 19:57:11 +0000
parents 37179f857279
children 9bf4fbcf20c8
comparison
equal deleted inserted replaced
8:8098330f6d91 9:e270a5689e12
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: [File Handling]--> 3 <!--Proposed Tool Section: [File Handling]-->
4 <tool id="MzTabExporter" name="MzTabExporter" version="2.3.0"> 4 <tool id="MzTabExporter" name="MzTabExporter" version="@TOOL_VERSION@+galaxy@GALAXY_VERSION@" profile="20.05">
5 <description>Exports various XML formats to an mzTab file.</description> 5 <description>Exports various XML formats to an mzTab file.</description>
6 <macros> 6 <macros>
7 <token name="@EXECUTABLE@">MzTabExporter</token> 7 <token name="@EXECUTABLE@">MzTabExporter</token>
8 <import>macros.xml</import> 8 <import>macros.xml</import>
9 <import>macros_autotest.xml</import>
10 <import>macros_test.xml</import>
9 </macros> 11 </macros>
10 <expand macro="references"/> 12 <expand macro="requirements"/>
11 <expand macro="stdio"/> 13 <expand macro="stdio"/>
12 <expand macro="requirements"/> 14 <command detect_errors="exit_code"><![CDATA[@QUOTE_FOO@
13 <command detect_errors="aggressive"><![CDATA[MzTabExporter 15 @EXT_FOO@
16 #import re
14 17
15 #if $param_in: 18 ## Preprocessing
16 -in $param_in 19 #if $in:
20 mkdir in &&
21 ln -s '$in' 'in/${re.sub("[^\w\-_]", "_", $in.element_identifier)}.$gxy2omsext($in.ext)' &&
17 #end if 22 #end if
18 #if $param_out: 23 mkdir out &&
19 -out $param_out 24
25 ## Main program call
26
27 set -o pipefail &&
28 @EXECUTABLE@ -write_ctd ./ &&
29 python3 '$__tool_directory__/fill_ctd.py' '@EXECUTABLE@.ctd' '$args_json' '$hardcoded_json' &&
30 @EXECUTABLE@ -ini @EXECUTABLE@.ctd
31 #if $in:
32 -in
33 'in/${re.sub("[^\w\-_]", "_", $in.element_identifier)}.$gxy2omsext($in.ext)'
20 #end if 34 #end if
21 #if $adv_opts.adv_opts_selector=='advanced': 35 -out
22 #if $adv_opts.param_force: 36 'out/output.${gxy2omsext("mztab")}'
23 -force 37
24 #end if 38 ## Postprocessing
25 #end if 39 && mv 'out/output.${gxy2omsext("mztab")}' '$out'
26 ]]></command> 40 #if "ctd_out_FLAG" in $OPTIONAL_OUTPUTS
41 && mv '@EXECUTABLE@.ctd' '$ctd_out'
42 #end if]]></command>
43 <configfiles>
44 <inputs name="args_json" data_style="paths"/>
45 <configfile name="hardcoded_json"><![CDATA[{"log": "log.txt", "threads": "\${GALAXY_SLOTS:-1}", "no_progress": true}]]></configfile>
46 </configfiles>
27 <inputs> 47 <inputs>
28 <param name="param_in" type="data" format="featurexml,consensusxml,idxml,mzid" optional="True" label="Input files used to generate the mzTab file" help="(-in) "/> 48 <param name="in" argument="-in" type="data" format="consensusxml,featurexml,idxml,mzid" optional="true" label="Input files used to generate the mzTab file" help=" select consensusxml,featurexml,idxml,mzid data sets(s)"/>
29 <expand macro="advanced_options"> 49 <param name="opt_columns" argument="-opt_columns" multiple="true" type="select" optional="true" label="Add optional columns which are not part of the mzTab standard" help="">
30 <param name="param_force" display="radio" type="boolean" truevalue="-force" falsevalue="" checked="false" optional="True" label="Overwrite tool specific checks" help="(-force) "/> 50 <option value="subfeatures" selected="true">subfeatures</option>
51 <expand macro="list_string_san"/>
52 </param>
53 <expand macro="adv_opts_macro">
54 <param name="first_run_inference_only" argument="-first_run_inference_only" type="boolean" truevalue="true" falsevalue="false" checked="false" label="Does the first IdentificationRun in the file only represent (protein) inference results" help="If so, read peptide information only from second to last runs"/>
55 <param name="force" argument="-force" type="boolean" truevalue="true" falsevalue="false" checked="false" label="Overwrite tool specific checks" help=""/>
56 <param name="test" argument="-test" type="hidden" optional="true" value="False" label="Enables the test mode (needed for internal use only)" help="">
57 <expand macro="list_string_san"/>
58 </param>
31 </expand> 59 </expand>
60 <param name="OPTIONAL_OUTPUTS" type="select" multiple="true" label="Optional outputs" optional="true">
61 <option value="ctd_out_FLAG">Output used ctd (ini) configuration file</option>
62 </param>
32 </inputs> 63 </inputs>
33 <outputs> 64 <outputs>
34 <data name="param_out" format="tabular"/> 65 <data name="out" label="${tool.name} on ${on_string}: out" format="mztab"/>
66 <data name="ctd_out" format="xml" label="${tool.name} on ${on_string}: ctd">
67 <filter>OPTIONAL_OUTPUTS is not None and "ctd_out_FLAG" in OPTIONAL_OUTPUTS</filter>
68 </data>
35 </outputs> 69 </outputs>
36 <help>Exports various XML formats to an mzTab file. 70 <tests>
71 <expand macro="autotest_MzTabExporter"/>
72 <expand macro="manutest_MzTabExporter"/>
73 </tests>
74 <help><![CDATA[Exports various XML formats to an mzTab file.
37 75
38 76
39 For more information, visit https://abibuilder.informatik.uni-tuebingen.de/archive/openms/Documentation/release/2.3.0/html/TOPP_MzTabExporter.html</help> 77 For more information, visit http://www.openms.de/documentation/TOPP_MzTabExporter.html]]></help>
78 <expand macro="references"/>
40 </tool> 79 </tool>