comparison Decharger.xml @ 17:566029692c59 draft default tip

planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 3d1e5f37fd16524a415f707772eeb7ead848c5e3
author galaxyp
date Thu, 01 Dec 2022 19:12:29 +0000
parents 62cce3757d5b
children
comparison
equal deleted inserted replaced
16:78d26ee0fdf7 17:566029692c59
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: [Quantitation]--> 3 <!--Proposed Tool Section: [Quantitation]-->
4 <tool id="Decharger" name="Decharger" version="@TOOL_VERSION@+galaxy@GALAXY_VERSION@" profile="20.05"> 4 <tool id="Decharger" name="Decharger" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="21.05">
5 <description>Decharges and merges different feature charge variants of the same peptide.</description> 5 <description>Decharges and merges different feature charge variants of the same peptide.</description>
6 <macros> 6 <macros>
7 <token name="@EXECUTABLE@">Decharger</token> 7 <token name="@EXECUTABLE@">Decharger</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@
62 <configfiles> 60 <configfiles>
63 <inputs name="args_json" data_style="paths"/> 61 <inputs name="args_json" data_style="paths"/>
64 <configfile name="hardcoded_json"><![CDATA[{"log": "log.txt", "threads": "\${GALAXY_SLOTS:-1}", "no_progress": true}]]></configfile> 62 <configfile name="hardcoded_json"><![CDATA[{"log": "log.txt", "threads": "\${GALAXY_SLOTS:-1}", "no_progress": true}]]></configfile>
65 </configfiles> 63 </configfiles>
66 <inputs> 64 <inputs>
67 <param name="in" argument="-in" type="data" format="featurexml" optional="false" label="input file" help=" select featurexml data sets(s)"/> 65 <param argument="-in" type="data" format="featurexml" optional="false" label="input file" help=" select featurexml data sets(s)"/>
68 <section name="algorithm" title="Feature decharging algorithm section" help="" expanded="false"> 66 <section name="algorithm" title="Feature decharging algorithm section" help="" expanded="false">
69 <section name="FeatureDeconvolution" title="" help="" expanded="false"> 67 <section name="FeatureDeconvolution" title="" help="" expanded="false">
70 <param name="charge_min" argument="-algorithm:FeatureDeconvolution:charge_min" type="integer" optional="true" value="1" label="Minimal possible charge" help=""/> 68 <param name="charge_min" argument="-algorithm:FeatureDeconvolution:charge_min" type="integer" optional="true" value="1" label="Minimal possible charge" help=""/>
71 <param name="charge_max" argument="-algorithm:FeatureDeconvolution:charge_max" type="integer" optional="true" value="10" label="Maximal possible charge" help=""/> 69 <param name="charge_max" argument="-algorithm:FeatureDeconvolution:charge_max" type="integer" optional="true" value="10" label="Maximal possible charge" help=""/>
72 <param name="charge_span_max" argument="-algorithm:FeatureDeconvolution:charge_span_max" type="integer" optional="true" min="1" value="4" label="Maximal range of charges for a single analyte" help="i.e. observing q1=[5,6,7] implies span=3. Setting this to 1 will only find adduct variants of the same charge"/> 70 <param name="charge_span_max" argument="-algorithm:FeatureDeconvolution:charge_span_max" type="integer" optional="true" min="1" value="4" label="Maximal range of charges for a single analyte" help="i.e. observing q1=[5,6,7] implies span=3. Setting this to 1 will only find adduct variants of the same charge"/>
73 <param name="q_try" argument="-algorithm:FeatureDeconvolution:q_try" display="radio" type="select" optional="false" label="Try different values of charge for each feature according to the above settings ('heuristic' [does not test all charges, just the likely ones] or 'all' ), or leave feature charge untouched ('feature')" help=""> 71 <param name="q_try" argument="-algorithm:FeatureDeconvolution:q_try" type="select" optional="true" label="Try different values of charge for each feature according to the above settings ('heuristic' [does not test all charges, just the likely ones] or 'all' ), or leave feature charge untouched ('feature')" help="">
74 <option value="feature" selected="true">feature</option> 72 <option value="feature" selected="true">feature</option>
75 <option value="heuristic">heuristic</option> 73 <option value="heuristic">heuristic</option>
76 <option value="all">all</option> 74 <option value="all">all</option>
77 <expand macro="list_string_san"/> 75 <expand macro="list_string_san" name="q_try"/>
78 </param> 76 </param>
79 <param name="retention_max_diff" argument="-algorithm:FeatureDeconvolution:retention_max_diff" type="float" optional="true" value="1.0" label="Maximum allowed RT difference between any two features if their relation shall be determined" help=""/> 77 <param name="retention_max_diff" argument="-algorithm:FeatureDeconvolution:retention_max_diff" type="float" optional="true" value="1.0" label="Maximum allowed RT difference between any two features if their relation shall be determined" help=""/>
80 <param name="retention_max_diff_local" argument="-algorithm:FeatureDeconvolution:retention_max_diff_local" type="float" optional="true" value="1.0" label="Maximum allowed RT difference between between two co-features, after adduct shifts have been accounted for (if you do not have any adduct shifts, this value should be equal to 'retention_max_diff', otherwise it should be smaller!)" help=""/> 78 <param name="retention_max_diff_local" argument="-algorithm:FeatureDeconvolution:retention_max_diff_local" type="float" optional="true" value="1.0" label="Maximum allowed RT difference between between two co-features, after adduct shifts have been accounted for (if you do not have any adduct shifts, this value should be equal to 'retention_max_diff', otherwise it should be smaller!)" help=""/>
81 <param name="mass_max_diff" argument="-algorithm:FeatureDeconvolution:mass_max_diff" type="float" optional="true" value="0.5" label="Maximum allowed mass difference [in Th] for a single feature" help=""/> 79 <param name="mass_max_diff" argument="-algorithm:FeatureDeconvolution:mass_max_diff" type="float" optional="true" value="0.5" label="Maximum allowed mass difference [in Th] for a single feature" help=""/>
82 <param name="potential_adducts" argument="-algorithm:FeatureDeconvolution:potential_adducts" type="text" optional="true" value="K:+:0.1" label="Adducts used to explain mass differences in format: 'Element:Charge(+/-):Probability[:RTShift[:Label]]'" help="i.e. the number of '+' or '-' indicate the charge, e.g. 'Ca:++:0.5' indicates +2. Probabilites have to be in (0,1]. RTShift param is optional and indicates the expected RT shift caused by this adduct, e.g. '(2)H4H-4:0:1:-3' indicates a 4 deuterium label, which causes early elution by 3 seconds. As a fifth parameter you can add a label which is tagged on every feature which has this adduct. This also determines the map number in the consensus file (space separated list, in order to allow for spaces in list items surround them by single quotes)"> 80 <param name="potential_adducts" argument="-algorithm:FeatureDeconvolution:potential_adducts" type="text" optional="true" value="K:+:0.1" label="Adducts used to explain mass differences in format: 'Element:Charge(+/-):Probability[:RTShift[:Label]]'" help="i.e. the number of '+' or '-' indicate the charge, e.g. 'Ca:++:0.5' indicates +2. Probabilites have to be in (0,1]. RTShift param is optional and indicates the expected RT shift caused by this adduct, e.g. '(2)H4H-4:0:1:-3' indicates a 4 deuterium label, which causes early elution by 3 seconds. As a fifth parameter you can add a label which is tagged on every feature which has this adduct. This also determines the map number in the consensus file (space separated list, in order to allow for spaces in list items surround them by single quotes)">
83 <expand macro="list_string_val"/> 81 <expand macro="list_string_val" name="potential_adducts"/>
84 <expand macro="list_string_san"/> 82 <expand macro="list_string_san" name="potential_adducts"/>
85 </param> 83 </param>
86 <param name="max_neutrals" argument="-algorithm:FeatureDeconvolution:max_neutrals" type="integer" optional="true" value="0" label="Maximal number of neutral adducts(q=0) allowed" help="Add them in the 'potential_adducts' section!"/> 84 <param name="max_neutrals" argument="-algorithm:FeatureDeconvolution:max_neutrals" type="integer" optional="true" value="0" label="Maximal number of neutral adducts(q=0) allowed" help="Add them in the 'potential_adducts' section!"/>
87 <param name="max_minority_bound" argument="-algorithm:FeatureDeconvolution:max_minority_bound" type="integer" optional="true" min="0" value="2" label="Maximum count of the least probable adduct (according to 'potential_adducts' param) within a charge variant" help="E.g. setting this to 2 will not allow an adduct composition of '1(H+),3(Na+)' if Na+ is the least probable adduct"/> 85 <param name="max_minority_bound" argument="-algorithm:FeatureDeconvolution:max_minority_bound" type="integer" optional="true" min="0" value="2" label="Maximum count of the least probable adduct (according to 'potential_adducts' param) within a charge variant" help="E.g. setting this to 2 will not allow an adduct composition of '1(H+),3(Na+)' if Na+ is the least probable adduct"/>
88 <param name="min_rt_overlap" argument="-algorithm:FeatureDeconvolution:min_rt_overlap" type="float" optional="true" min="0.0" max="1.0" value="0.66" label="Minimum overlap of the convex hull' RT intersection measured against the union from two features (if CHs are given)" help=""/> 86 <param name="min_rt_overlap" argument="-algorithm:FeatureDeconvolution:min_rt_overlap" type="float" optional="true" min="0.0" max="1.0" value="0.66" label="Minimum overlap of the convex hull' RT intersection measured against the union from two features (if CHs are given)" help=""/>
89 <param name="intensity_filter" argument="-algorithm:FeatureDeconvolution:intensity_filter" type="boolean" truevalue="true" falsevalue="false" checked="false" label="Enable the intensity filter, which will only allow edges between two equally charged features if the intensity of the feature with less likely adducts is smaller than that of the other feature" help="It is not used for features of different charge"/> 87 <param name="intensity_filter" argument="-algorithm:FeatureDeconvolution:intensity_filter" type="boolean" truevalue="true" falsevalue="false" checked="false" label="Enable the intensity filter, which will only allow edges between two equally charged features if the intensity of the feature with less likely adducts is smaller than that of the other feature" help="It is not used for features of different charge"/>
90 <param name="negative_mode" argument="-algorithm:FeatureDeconvolution:negative_mode" type="text" optional="true" value="false" label="Enable negative ionization mode" help=""> 88 <param name="negative_mode" argument="-algorithm:FeatureDeconvolution:negative_mode" type="boolean" truevalue="true" falsevalue="false" checked="false" label="Enable negative ionization mode" help=""/>
91 <expand macro="list_string_san"/>
92 </param>
93 <param name="default_map_label" argument="-algorithm:FeatureDeconvolution:default_map_label" type="text" optional="true" value="decharged features" label="Label of map in output consensus file where all features are put by default" help=""> 89 <param name="default_map_label" argument="-algorithm:FeatureDeconvolution:default_map_label" type="text" optional="true" value="decharged features" label="Label of map in output consensus file where all features are put by default" help="">
94 <expand macro="list_string_san"/> 90 <expand macro="list_string_san" name="default_map_label"/>
95 </param> 91 </param>
96 <param name="verbose_level" argument="-algorithm:FeatureDeconvolution:verbose_level" type="integer" optional="true" min="0" max="3" value="0" label="Amount of debug information given during processing" help=""/> 92 <param name="verbose_level" argument="-algorithm:FeatureDeconvolution:verbose_level" type="integer" optional="true" min="0" max="3" value="0" label="Amount of debug information given during processing" help=""/>
97 </section> 93 </section>
98 </section> 94 </section>
99 <expand macro="adv_opts_macro"> 95 <expand macro="adv_opts_macro">
100 <param name="force" argument="-force" type="boolean" truevalue="true" falsevalue="false" checked="false" label="Overrides tool-specific checks" help=""/> 96 <param argument="-force" type="boolean" truevalue="true" falsevalue="false" checked="false" label="Overrides tool-specific checks" help=""/>
101 <param name="test" argument="-test" type="hidden" optional="true" value="False" label="Enables the test mode (needed for internal use only)" help=""> 97 <param argument="-test" type="hidden" optional="true" value="False" label="Enables the test mode (needed for internal use only)" help="">
102 <expand macro="list_string_san"/> 98 <expand macro="list_string_san" name="test"/>
103 </param> 99 </param>
104 </expand> 100 </expand>
105 <param name="OPTIONAL_OUTPUTS" type="select" optional="true" multiple="true" label="Optional outputs"> 101 <param name="OPTIONAL_OUTPUTS" type="select" optional="true" multiple="true" label="Optional outputs">
106 <option value="out_fm_FLAG">out_fm (output feature map)</option> 102 <option value="out_fm_FLAG">out_fm (output feature map)</option>
107 <option value="outpairs_FLAG">outpairs (output file)</option> 103 <option value="outpairs_FLAG">outpairs (output file)</option>
118 </data> 114 </data>
119 <data name="ctd_out" format="xml" label="${tool.name} on ${on_string}: ctd"> 115 <data name="ctd_out" format="xml" label="${tool.name} on ${on_string}: ctd">
120 <filter>OPTIONAL_OUTPUTS is not None and "ctd_out_FLAG" in OPTIONAL_OUTPUTS</filter> 116 <filter>OPTIONAL_OUTPUTS is not None and "ctd_out_FLAG" in OPTIONAL_OUTPUTS</filter>
121 </data> 117 </data>
122 </outputs> 118 </outputs>
123 <tests> 119 <tests><!-- TOPP_Decharger_1 -->
124 <expand macro="autotest_Decharger"/> 120 <test expect_num_outputs="4">
125 <expand macro="manutest_Decharger"/> 121 <section name="adv_opts">
122 <param name="force" value="false"/>
123 <param name="test" value="true"/>
124 </section>
125 <param name="in" value="Decharger_input.featureXML"/>
126 <output name="out_cm" file="Decharger_output.consensusXML" compare="sim_size" delta_frac="0.7" ftype="consensusxml"/>
127 <output name="out_fm" file="Decharger_output_fm.tmp.featureXML" compare="sim_size" delta_frac="0.7" ftype="featurexml"/>
128 <output name="outpairs" file="Decharger_output_pairs.consensusXML" compare="sim_size" delta_frac="0.7" ftype="consensusxml"/>
129 <section name="algorithm">
130 <section name="FeatureDeconvolution">
131 <param name="charge_min" value="1"/>
132 <param name="charge_max" value="10"/>
133 <param name="charge_span_max" value="4"/>
134 <param name="q_try" value="feature"/>
135 <param name="retention_max_diff" value="1.0"/>
136 <param name="retention_max_diff_local" value="1.0"/>
137 <param name="mass_max_diff" value="0.1"/>
138 <param name="potential_adducts" value="&quot;H:+:0.7&quot; &quot;Na:+:0.1&quot; &quot;(2)H4H-4:0:0.1:-2:heavy&quot;"/>
139 <param name="max_neutrals" value="0"/>
140 <param name="max_minority_bound" value="2"/>
141 <param name="min_rt_overlap" value="0.66"/>
142 <param name="intensity_filter" value="false"/>
143 <param name="negative_mode" value="false"/>
144 <param name="default_map_label" value="decharged features"/>
145 <param name="verbose_level" value="0"/>
146 </section>
147 </section>
148 <param name="OPTIONAL_OUTPUTS" value="ctd_out_FLAG,out_fm_FLAG,outpairs_FLAG"/>
149 <output name="ctd_out" ftype="xml">
150 <assert_contents>
151 <is_valid_xml/>
152 </assert_contents>
153 </output>
154 </test>
126 </tests> 155 </tests>
127 <help><![CDATA[Decharges and merges different feature charge variants of the same peptide. 156 <help><![CDATA[Decharges and merges different feature charge variants of the same peptide.
128 157
129 158
130 For more information, visit http://www.openms.de/doxygen/release/2.6.0/html/TOPP_Decharger.html]]></help> 159 For more information, visit http://www.openms.de/doxygen/release/2.8.0/html/TOPP_Decharger.html]]></help>
131 <expand macro="references"/> 160 <expand macro="references"/>
132 </tool> 161 </tool>