comparison ConsensusMapNormalizer.xml @ 18:cb772fb66a49 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:41:05 +0000
parents d9802c463a2f
children
comparison
equal deleted inserted replaced
17:d9802c463a2f 18:cb772fb66a49
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: [Map Alignment]--> 2 <!--Proposed Tool Section: [Quantitation]-->
4 <tool id="ConsensusMapNormalizer" name="ConsensusMapNormalizer" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="21.05"> 3 <tool id="ConsensusMapNormalizer" name="ConsensusMapNormalizer" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="21.05">
5 <description>Normalizes maps of one consensusXML file</description> 4 <description>Normalizes maps of one consensusXML file</description>
6 <macros> 5 <macros>
7 <token name="@EXECUTABLE@">ConsensusMapNormalizer</token> 6 <token name="@EXECUTABLE@">ConsensusMapNormalizer</token>
8 <import>macros.xml</import> 7 <import>macros.xml</import>
13 @EXT_FOO@ 12 @EXT_FOO@
14 #import re 13 #import re
15 14
16 ## Preprocessing 15 ## Preprocessing
17 mkdir in && 16 mkdir in &&
18 ln -s '$in' 'in/${re.sub("[^\w\-_]", "_", $in.element_identifier)}.$gxy2omsext($in.ext)' && 17 cp '$in' 'in/${re.sub("[^\w\-_]", "_", $in.element_identifier)}.$gxy2omsext($in.ext)' &&
19 mkdir out && 18 mkdir out &&
20 19
21 ## Main program call 20 ## Main program call
22 21
23 set -o pipefail && 22 set -o pipefail &&
37 <configfiles> 36 <configfiles>
38 <inputs name="args_json" data_style="paths"/> 37 <inputs name="args_json" data_style="paths"/>
39 <configfile name="hardcoded_json"><![CDATA[{"log": "log.txt", "threads": "\${GALAXY_SLOTS:-1}", "no_progress": true}]]></configfile> 38 <configfile name="hardcoded_json"><![CDATA[{"log": "log.txt", "threads": "\${GALAXY_SLOTS:-1}", "no_progress": true}]]></configfile>
40 </configfiles> 39 </configfiles>
41 <inputs> 40 <inputs>
42 <param argument="-in" type="data" format="consensusxml" optional="false" label="input file" help=" select consensusxml data sets(s)"/> 41 <param argument="-in" type="data" format="consensusxml" label="input file" help=" select consensusxml data sets(s)"/>
43 <param argument="-algorithm_type" type="select" optional="true" label="The normalization algorithm that is applied" help="'robust_regression' scales each map by a fator computed from the ratios of non-differential background features (as determined by the ratio_threshold parameter), 'quantile' performs quantile normalization, 'median' scales all maps to the same median intensity, 'median_shift' shifts the median instead of scaling (WARNING: if you have regular, log-normal MS data, 'median_shift' is probably the wrong choice. Use only if you know what you're doing!)"> 42 <param argument="-algorithm_type" type="select" label="The normalization algorithm that is applied" help="'robust_regression' scales each map by a fator computed from the ratios of non-differential background features (as determined by the ratio_threshold parameter), 'quantile' performs quantile normalization, 'median' scales all maps to the same median intensity, 'median_shift' shifts the median instead of scaling (WARNING: if you have regular, log-normal MS data, 'median_shift' is probably the wrong choice. Use only if you know what you're doing!)">
44 <option value="robust_regression" selected="true">robust_regression</option> 43 <option value="robust_regression" selected="true">robust_regression</option>
45 <option value="median">median</option> 44 <option value="median">median</option>
46 <option value="median_shift">median_shift</option> 45 <option value="median_shift">median_shift</option>
47 <option value="quantile">quantile</option> 46 <option value="quantile">quantile</option>
48 <expand macro="list_string_san" name="algorithm_type"/> 47 <expand macro="list_string_san" name="algorithm_type"/>
49 </param> 48 </param>
50 <param argument="-ratio_threshold" type="float" optional="true" min="0.001" max="1.0" value="0.67" label="Only for 'robust_regression': the parameter is used to distinguish between non-outliers (ratio_threshold &lt; intensity ratio &lt; 1/ratio_threshold) and outliers" help=""/> 49 <param argument="-ratio_threshold" type="float" min="0.001" max="1.0" value="0.67" label="Only for 'robust_regression': the parameter is used to distinguish between non-outliers (ratio_threshold &lt; intensity ratio &lt; 1/ratio_threshold) and outliers" help=""/>
51 <expand macro="adv_opts_macro"> 50 <expand macro="adv_opts_macro">
52 <param argument="-accession_filter" type="text" optional="true" value="" label="Use only features with accessions (partially) matching this regular expression for computing the normalization factors" help="Useful, e.g., if you have known house keeping proteins in your samples. When this parameter is empty or the regular expression matches the empty string, all features are used (even those without an ID). No effect if quantile normalization is used"> 51 <param argument="-accession_filter" type="text" optional="true" value="" label="Use only features with accessions (partially) matching this regular expression for computing the normalization factors" help="Useful, e.g., if you have known house keeping proteins in your samples. When this parameter is empty or the regular expression matches the empty string, all features are used (even those without an ID). No effect if quantile normalization is used">
53 <expand macro="list_string_san" name="accession_filter"/> 52 <expand macro="list_string_san" name="accession_filter"/>
54 </param> 53 </param>
55 <param argument="-description_filter" type="text" optional="true" value="" label="Use only features with description (partially) matching this regular expression for computing the normalization factors" help="Useful, e.g., if you have known house keeping proteins in your samples. When this parameter is empty or the regular expression matches the empty string, all features are used (even those without an ID). No effect if quantile normalization is used"> 54 <param argument="-description_filter" type="text" optional="true" value="" label="Use only features with description (partially) matching this regular expression for computing the normalization factors" help="Useful, e.g., if you have known house keeping proteins in your samples. When this parameter is empty or the regular expression matches the empty string, all features are used (even those without an ID). No effect if quantile normalization is used">
56 <expand macro="list_string_san" name="description_filter"/> 55 <expand macro="list_string_san" name="description_filter"/>
57 </param> 56 </param>
58 <param argument="-force" type="boolean" truevalue="true" falsevalue="false" checked="false" label="Overrides tool-specific checks" help=""/> 57 <param argument="-force" type="boolean" truevalue="true" falsevalue="false" checked="false" label="Overrides tool-specific checks" help=""/>
59 <param argument="-test" type="hidden" optional="true" value="False" label="Enables the test mode (needed for internal use only)" help=""> 58 <param argument="-test" type="hidden" value="False" label="Enables the test mode (needed for internal use only)" help="" optional="true">
60 <expand macro="list_string_san" name="test"/> 59 <expand macro="list_string_san" name="test"/>
61 </param> 60 </param>
62 </expand> 61 </expand>
63 <param name="OPTIONAL_OUTPUTS" type="select" optional="true" multiple="true" label="Optional outputs"> 62 <param name="OPTIONAL_OUTPUTS" type="select" optional="true" multiple="true" label="Optional outputs">
64 <option value="ctd_out_FLAG">Output used ctd (ini) configuration file</option> 63 <option value="ctd_out_FLAG">Output used ctd (ini) configuration file</option>
68 <data name="out" label="${tool.name} on ${on_string}: out" format="consensusxml"/> 67 <data name="out" label="${tool.name} on ${on_string}: out" format="consensusxml"/>
69 <data name="ctd_out" format="xml" label="${tool.name} on ${on_string}: ctd"> 68 <data name="ctd_out" format="xml" label="${tool.name} on ${on_string}: ctd">
70 <filter>OPTIONAL_OUTPUTS is not None and "ctd_out_FLAG" in OPTIONAL_OUTPUTS</filter> 69 <filter>OPTIONAL_OUTPUTS is not None and "ctd_out_FLAG" in OPTIONAL_OUTPUTS</filter>
71 </data> 70 </data>
72 </outputs> 71 </outputs>
73 <tests><!-- TOPP_ConsensusMapNormalizer_1 --> 72 <tests>
73 <!-- TOPP_ConsensusMapNormalizer_1 -->
74 <test expect_num_outputs="2"> 74 <test expect_num_outputs="2">
75 <section name="adv_opts"> 75 <section name="adv_opts">
76 <param name="accession_filter" value=""/> 76 <param name="accession_filter" value=""/>
77 <param name="description_filter" value=""/> 77 <param name="description_filter" value=""/>
78 <param name="force" value="false"/> 78 <param name="force" value="false"/>
79 <param name="test" value="true"/> 79 <param name="test" value="true"/>
80 </section> 80 </section>
81 <param name="in" value="ConsensusMapNormalizer_input.consensusXML"/> 81 <param name="in" value="ConsensusMapNormalizer_input.consensusXML"/>
82 <output name="out" file="ConsensusMapNormalizer_output.consensusXML" compare="sim_size" delta_frac="0.7" ftype="consensusxml"/> 82 <output name="out" value="ConsensusMapNormalizer_output.consensusXML" compare="sim_size" delta_frac="0.7" ftype="consensusxml"/>
83 <param name="algorithm_type" value="robust_regression"/> 83 <param name="algorithm_type" value="robust_regression"/>
84 <param name="ratio_threshold" value="0.67"/> 84 <param name="ratio_threshold" value="0.67"/>
85 <param name="OPTIONAL_OUTPUTS" value="ctd_out_FLAG"/> 85 <param name="OPTIONAL_OUTPUTS" value="ctd_out_FLAG"/>
86 <output name="ctd_out" ftype="xml"> 86 <output name="ctd_out" ftype="xml">
87 <assert_contents> 87 <assert_contents>
88 <is_valid_xml/> 88 <is_valid_xml/>
89 </assert_contents> 89 </assert_contents>
90 </output> 90 </output>
91 <assert_stdout>
92 <has_text_matching expression="@EXECUTABLE@ took .* \(wall\), .* \(CPU\), .* \(system\), .* \(user\)(; Peak Memory Usage: 32 MB)?."/>
93 </assert_stdout>
91 </test> 94 </test>
92 </tests> 95 </tests>
93 <help><![CDATA[Normalizes maps of one consensusXML file 96 <help><![CDATA[Normalizes maps of one consensusXML file
94 97
95 98
96 For more information, visit http://www.openms.de/doxygen/release/2.8.0/html/TOPP_ConsensusMapNormalizer.html]]></help> 99 For more information, visit https://openms.de/doxygen/release/3.1.0/html/TOPP_ConsensusMapNormalizer.html]]></help>
97 <expand macro="references"/> 100 <expand macro="references"/>
98 </tool> 101 </tool>