comparison FeatureLinkerLabeled.xml @ 16:90a5563d9a69 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:30:23 +0000
parents d9ebdc2e55fe
children
comparison
equal deleted inserted replaced
15:d9ebdc2e55fe 16:90a5563d9a69
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: [Feature Linking]-->
4 <tool id="FeatureLinkerLabeled" name="FeatureLinkerLabeled" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="21.05"> 3 <tool id="FeatureLinkerLabeled" name="FeatureLinkerLabeled" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="21.05">
5 <description>Groups corresponding isotope-labeled features in a feature map.</description> 4 <description>Groups corresponding isotope-labeled features in a feature map</description>
6 <macros> 5 <macros>
7 <token name="@EXECUTABLE@">FeatureLinkerLabeled</token> 6 <token name="@EXECUTABLE@">FeatureLinkerLabeled</token>
8 <import>macros.xml</import> 7 <import>macros.xml</import>
9 </macros> 8 </macros>
10 <expand macro="requirements"/> 9 <expand macro="requirements"/>
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="featurexml" optional="false" label="Input file" help=" select featurexml data sets(s)"/> 41 <param argument="-in" type="data" format="featurexml" label="Input file" help=" select featurexml data sets(s)"/>
43 <section name="algorithm" title="Algorithm parameters section" help="" expanded="false"> 42 <section name="algorithm" title="Algorithm parameters section" help="" expanded="false">
44 <param name="rt_estimate" argument="-algorithm:rt_estimate" type="boolean" truevalue="true" falsevalue="false" checked="true" label="If 'true' the optimal RT pair distance and deviation are estimated by fitting a gaussian distribution to the histogram of pair distance" help="Note that this works only datasets with a significant amount of pairs! If 'false' the parameters 'rt_pair_dist', 'rt_dev_low' and 'rt_dev_high' define the optimal distance"/> 43 <param name="rt_estimate" argument="-algorithm:rt_estimate" type="boolean" truevalue="true" falsevalue="false" checked="true" label="If 'true' the optimal RT pair distance and deviation are estimated by fitting a gaussian distribution to the histogram of pair distance" help="Note that this works only datasets with a significant amount of pairs! If 'false' the parameters 'rt_pair_dist', 'rt_dev_low' and 'rt_dev_high' define the optimal distance"/>
45 <param name="rt_pair_dist" argument="-algorithm:rt_pair_dist" type="float" optional="true" value="-20.0" label="optimal pair distance in RT [sec] from light to heavy feature" help=""/> 44 <param name="rt_pair_dist" argument="-algorithm:rt_pair_dist" type="float" value="-20.0" label="optimal pair distance in RT [sec] from light to heavy feature" help=""/>
46 <param name="rt_dev_low" argument="-algorithm:rt_dev_low" type="float" optional="true" min="0.0" value="15.0" label="maximum allowed deviation below optimal retention time distance" help=""/> 45 <param name="rt_dev_low" argument="-algorithm:rt_dev_low" type="float" min="0.0" value="15.0" label="maximum allowed deviation below optimal retention time distance" help=""/>
47 <param name="rt_dev_high" argument="-algorithm:rt_dev_high" type="float" optional="true" min="0.0" value="15.0" label="maximum allowed deviation above optimal retention time distance" help=""/> 46 <param name="rt_dev_high" argument="-algorithm:rt_dev_high" type="float" min="0.0" value="15.0" label="maximum allowed deviation above optimal retention time distance" help=""/>
48 <param name="mz_pair_dists" argument="-algorithm:mz_pair_dists" type="text" optional="true" value="4.0" label="optimal pair distances in m/z [Th] for features with charge +1 (adapted to +2, +3" help="by division through charge) (space separated list, in order to allow for spaces in list items surround them by single quotes)"> 47 <param name="mz_pair_dists" argument="-algorithm:mz_pair_dists" type="text" value="4.0" label="optimal pair distances in m/z [Th] for features with charge +1 (adapted to +2, +3" help="by division through charge) (space separated list, in order to allow for spaces in list items surround them by single quotes)">
49 <expand macro="list_float_valsan" name="mz_pair_dists"/> 48 <expand macro="list_float_valsan" name="mz_pair_dists"/>
50 </param> 49 </param>
51 <param name="mz_dev" argument="-algorithm:mz_dev" type="float" optional="true" min="0.0" value="0.05" label="maximum allowed deviation from optimal m/z distance" help=""/> 50 <param name="mz_dev" argument="-algorithm:mz_dev" type="float" min="0.0" value="0.05" label="maximum allowed deviation from optimal m/z distance" help=""/>
52 <param name="mrm" argument="-algorithm:mrm" type="boolean" truevalue="true" falsevalue="false" checked="false" label="this option should be used if the features correspond mrm chromatograms (additionally the precursor is taken into account)" help=""/> 51 <param name="mrm" argument="-algorithm:mrm" type="boolean" truevalue="true" falsevalue="false" checked="false" label="this option should be used if the features correspond mrm chromatograms (additionally the precursor is taken into account)" help=""/>
53 </section> 52 </section>
54 <expand macro="adv_opts_macro"> 53 <expand macro="adv_opts_macro">
55 <param argument="-force" type="boolean" truevalue="true" falsevalue="false" checked="false" label="Overrides tool-specific checks" help=""/> 54 <param argument="-force" type="boolean" truevalue="true" falsevalue="false" checked="false" label="Overrides tool-specific checks" help=""/>
56 <param argument="-test" type="hidden" optional="true" value="False" label="Enables the test mode (needed for internal use only)" help=""> 55 <param argument="-test" type="hidden" value="False" label="Enables the test mode (needed for internal use only)" help="" optional="true">
57 <expand macro="list_string_san" name="test"/> 56 <expand macro="list_string_san" name="test"/>
58 </param> 57 </param>
59 </expand> 58 </expand>
60 <param name="OPTIONAL_OUTPUTS" type="select" optional="true" multiple="true" label="Optional outputs"> 59 <param name="OPTIONAL_OUTPUTS" type="select" optional="true" multiple="true" label="Optional outputs">
61 <option value="ctd_out_FLAG">Output used ctd (ini) configuration file</option> 60 <option value="ctd_out_FLAG">Output used ctd (ini) configuration file</option>
65 <data name="out" label="${tool.name} on ${on_string}: out" format="consensusxml"/> 64 <data name="out" label="${tool.name} on ${on_string}: out" format="consensusxml"/>
66 <data name="ctd_out" format="xml" label="${tool.name} on ${on_string}: ctd"> 65 <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> 66 <filter>OPTIONAL_OUTPUTS is not None and "ctd_out_FLAG" in OPTIONAL_OUTPUTS</filter>
68 </data> 67 </data>
69 </outputs> 68 </outputs>
70 <tests><!-- TOPP_FeatureLinkerLabeled_1 --> 69 <tests>
70 <!-- TOPP_FeatureLinkerLabeled_1 -->
71 <test expect_num_outputs="2"> 71 <test expect_num_outputs="2">
72 <section name="adv_opts"> 72 <section name="adv_opts">
73 <param name="force" value="false"/> 73 <param name="force" value="false"/>
74 <param name="test" value="true"/> 74 <param name="test" value="true"/>
75 </section> 75 </section>
76 <param name="in" value="FeatureLinkerLabeled_1_input.featureXML"/> 76 <param name="in" value="FeatureLinkerLabeled_1_input.featureXML"/>
77 <output name="out" file="FeatureLinkerLabeled_1_output.consensusXML" compare="sim_size" delta_frac="0.7" ftype="consensusxml"/> 77 <output name="out" value="FeatureLinkerLabeled_1_output.consensusXML" compare="sim_size" delta_frac="0.7" ftype="consensusxml"/>
78 <section name="algorithm"> 78 <section name="algorithm">
79 <param name="rt_estimate" value="false"/> 79 <param name="rt_estimate" value="false"/>
80 <param name="rt_pair_dist" value="-1.0"/> 80 <param name="rt_pair_dist" value="-1.0"/>
81 <param name="rt_dev_low" value="0.4"/> 81 <param name="rt_dev_low" value="0.4"/>
82 <param name="rt_dev_high" value="0.4"/> 82 <param name="rt_dev_high" value="0.4"/>
88 <output name="ctd_out" ftype="xml"> 88 <output name="ctd_out" ftype="xml">
89 <assert_contents> 89 <assert_contents>
90 <is_valid_xml/> 90 <is_valid_xml/>
91 </assert_contents> 91 </assert_contents>
92 </output> 92 </output>
93 <assert_stdout>
94 <has_text_matching expression="@EXECUTABLE@ took .* \(wall\), .* \(CPU\), .* \(system\), .* \(user\)(; Peak Memory Usage: 32 MB)?."/>
95 </assert_stdout>
93 </test> 96 </test>
94 <!-- TOPP_FeatureLinkerLabeled_2 --> 97 <!-- TOPP_FeatureLinkerLabeled_2 -->
95 <test expect_num_outputs="2"> 98 <test expect_num_outputs="2">
96 <section name="adv_opts"> 99 <section name="adv_opts">
97 <param name="force" value="false"/> 100 <param name="force" value="false"/>
98 <param name="test" value="true"/> 101 <param name="test" value="true"/>
99 </section> 102 </section>
100 <param name="in" value="FeatureLinkerLabeled_2_input.featureXML"/> 103 <param name="in" value="FeatureLinkerLabeled_2_input.featureXML"/>
101 <output name="out" file="FeatureLinkerLabeled_2_output.consensusXML" compare="sim_size" delta_frac="0.7" ftype="consensusxml"/> 104 <output name="out" value="FeatureLinkerLabeled_2_output.consensusXML" compare="sim_size" delta_frac="0.7" ftype="consensusxml"/>
102 <section name="algorithm"> 105 <section name="algorithm">
103 <param name="rt_estimate" value="true"/> 106 <param name="rt_estimate" value="true"/>
104 <param name="rt_pair_dist" value="-121.0382"/> 107 <param name="rt_pair_dist" value="-121.0382"/>
105 <param name="rt_dev_low" value="123.3965"/> 108 <param name="rt_dev_low" value="123.3965"/>
106 <param name="rt_dev_high" value="123.3965"/> 109 <param name="rt_dev_high" value="123.3965"/>
112 <output name="ctd_out" ftype="xml"> 115 <output name="ctd_out" ftype="xml">
113 <assert_contents> 116 <assert_contents>
114 <is_valid_xml/> 117 <is_valid_xml/>
115 </assert_contents> 118 </assert_contents>
116 </output> 119 </output>
120 <assert_stdout>
121 <has_text_matching expression="@EXECUTABLE@ took .* \(wall\), .* \(CPU\), .* \(system\), .* \(user\)(; Peak Memory Usage: 32 MB)?."/>
122 </assert_stdout>
117 </test> 123 </test>
118 </tests> 124 </tests>
119 <help><![CDATA[Groups corresponding isotope-labeled features in a feature map. 125 <help><![CDATA[Groups corresponding isotope-labeled features in a feature map.
120 126
121 127
122 For more information, visit http://www.openms.de/doxygen/release/2.8.0/html/TOPP_FeatureLinkerLabeled.html]]></help> 128 For more information, visit https://openms.de/doxygen/release/3.1.0/html/TOPP_FeatureLinkerLabeled.html]]></help>
123 <expand macro="references"/> 129 <expand macro="references"/>
124 </tool> 130 </tool>