comparison ClusterMassTracesByPrecursor.xml @ 5:f0c018228cec 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:42:26 +0000
parents 75480fff2586
children
comparison
equal deleted inserted replaced
4:75480fff2586 5:f0c018228cec
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: [Utilities]--> 2 <!--Proposed Tool Section: [Targeted Experiments and OpenSWATH]-->
4 <tool id="ClusterMassTracesByPrecursor" name="ClusterMassTracesByPrecursor" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="21.05"> 3 <tool id="ClusterMassTracesByPrecursor" name="ClusterMassTracesByPrecursor" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="21.05">
5 <description>Correlate precursor masstraces with fragment ion masstraces in SWATH maps based on their elution profile.</description> 4 <description>Correlate precursor masstraces with fragment ion masstraces in SWATH maps based on their elution profile</description>
6 <macros> 5 <macros>
7 <token name="@EXECUTABLE@">ClusterMassTracesByPrecursor</token> 6 <token name="@EXECUTABLE@">ClusterMassTracesByPrecursor</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_ms1 && 16 mkdir in_ms1 &&
18 ln -s '$in_ms1' 'in_ms1/${re.sub("[^\w\-_]", "_", $in_ms1.element_identifier)}.$gxy2omsext($in_ms1.ext)' && 17 cp '$in_ms1' 'in_ms1/${re.sub("[^\w\-_]", "_", $in_ms1.element_identifier)}.$gxy2omsext($in_ms1.ext)' &&
19 mkdir in_swath && 18 mkdir in_swath &&
20 ln -s '$in_swath' 'in_swath/${re.sub("[^\w\-_]", "_", $in_swath.element_identifier)}.$gxy2omsext($in_swath.ext)' && 19 cp '$in_swath' 'in_swath/${re.sub("[^\w\-_]", "_", $in_swath.element_identifier)}.$gxy2omsext($in_swath.ext)' &&
21 mkdir out && 20 mkdir out &&
22 21
23 ## Main program call 22 ## Main program call
24 23
25 set -o pipefail && 24 set -o pipefail &&
41 <configfiles> 40 <configfiles>
42 <inputs name="args_json" data_style="paths"/> 41 <inputs name="args_json" data_style="paths"/>
43 <configfile name="hardcoded_json"><![CDATA[{"log": "log.txt", "threads": "\${GALAXY_SLOTS:-1}", "no_progress": true}]]></configfile> 42 <configfile name="hardcoded_json"><![CDATA[{"log": "log.txt", "threads": "\${GALAXY_SLOTS:-1}", "no_progress": true}]]></configfile>
44 </configfiles> 43 </configfiles>
45 <inputs> 44 <inputs>
46 <param argument="-in_ms1" type="data" format="consensusxml" optional="false" label="MS1 mass traces" help=" select consensusxml data sets(s)"/> 45 <param argument="-in_ms1" type="data" format="consensusxml" label="MS1 mass traces" help=" select consensusxml data sets(s)"/>
47 <param argument="-in_swath" type="data" format="consensusxml" optional="false" label="MS2 / SWATH mass traces" help=" select consensusxml data sets(s)"/> 46 <param argument="-in_swath" type="data" format="consensusxml" label="MS2 / SWATH mass traces" help=" select consensusxml data sets(s)"/>
48 <param argument="-assign_unassigned_to_all" type="boolean" truevalue="true" falsevalue="false" checked="false" label="Assign unassigned MS2 fragments to all precursors (only for ms1_centrif)" help=""/> 47 <param argument="-assign_unassigned_to_all" type="boolean" truevalue="true" falsevalue="false" checked="false" label="Assign unassigned MS2 fragments to all precursors (only for ms1_centrif)" help=""/>
49 <param argument="-min_pearson_correlation" type="float" optional="true" value="0.7" label="Minimal pearson correlation score to match elution profiles to each othe" help=""/> 48 <param argument="-min_pearson_correlation" type="float" value="0.7" label="Minimal pearson correlation score to match elution profiles to each othe" help=""/>
50 <param argument="-max_lag" type="integer" optional="true" value="1" label="Maximal lag" help="(e.g. by how many spectra the peak may be shifted at most). This parameter will depend on your chromatographic setup but a number between 1 and 3 is usually sensible"/> 49 <param argument="-max_lag" type="integer" value="1" label="Maximal lag" help="(e.g. by how many spectra the peak may be shifted at most). This parameter will depend on your chromatographic setup but a number between 1 and 3 is usually sensible"/>
51 <param argument="-min_nr_ions" type="integer" optional="true" value="3" label="Minimal number of ions to report a spectrum" help=""/> 50 <param argument="-min_nr_ions" type="integer" value="3" label="Minimal number of ions to report a spectrum" help=""/>
52 <param argument="-max_rt_apex_difference" type="float" optional="true" value="5.0" label="Maximal difference of the apex in retention time (in seconds)" help="This is a hard parameter, all profiles further away will not be considered at all"/> 51 <param argument="-max_rt_apex_difference" type="float" value="5.0" label="Maximal difference of the apex in retention time (in seconds)" help="This is a hard parameter, all profiles further away will not be considered at all"/>
53 <param argument="-swath_lower" type="float" optional="true" value="0.0" label="Swath lower isolation window" help=""/> 52 <param argument="-swath_lower" type="float" value="0.0" label="Swath lower isolation window" help=""/>
54 <param argument="-swath_upper" type="float" optional="true" value="0.0" label="Swath upper isolation window" help=""/> 53 <param argument="-swath_upper" type="float" value="0.0" label="Swath upper isolation window" help=""/>
55 <expand macro="adv_opts_macro"> 54 <expand macro="adv_opts_macro">
56 <param argument="-force" type="boolean" truevalue="true" falsevalue="false" checked="false" label="Overrides tool-specific checks" help=""/> 55 <param argument="-force" type="boolean" truevalue="true" falsevalue="false" checked="false" label="Overrides tool-specific checks" help=""/>
57 <param argument="-test" type="hidden" optional="true" value="False" label="Enables the test mode (needed for internal use only)" help=""> 56 <param argument="-test" type="hidden" value="False" label="Enables the test mode (needed for internal use only)" help="" optional="true">
58 <expand macro="list_string_san" name="test"/> 57 <expand macro="list_string_san" name="test"/>
59 </param> 58 </param>
60 </expand> 59 </expand>
61 <param name="OPTIONAL_OUTPUTS" type="select" optional="true" multiple="true" label="Optional outputs"> 60 <param name="OPTIONAL_OUTPUTS" type="select" optional="true" multiple="true" label="Optional outputs">
62 <option value="ctd_out_FLAG">Output used ctd (ini) configuration file</option> 61 <option value="ctd_out_FLAG">Output used ctd (ini) configuration file</option>
66 <data name="out" label="${tool.name} on ${on_string}: out" format="mzml"/> 65 <data name="out" label="${tool.name} on ${on_string}: out" format="mzml"/>
67 <data name="ctd_out" format="xml" label="${tool.name} on ${on_string}: ctd"> 66 <data name="ctd_out" format="xml" label="${tool.name} on ${on_string}: ctd">
68 <filter>OPTIONAL_OUTPUTS is not None and "ctd_out_FLAG" in OPTIONAL_OUTPUTS</filter> 67 <filter>OPTIONAL_OUTPUTS is not None and "ctd_out_FLAG" in OPTIONAL_OUTPUTS</filter>
69 </data> 68 </data>
70 </outputs> 69 </outputs>
71 <tests><test expect_num_outputs="1"><!-- test with arbitarily chosen consensusXML --> 70 <tests>
72 <param name="adv_opts|test" value="true"/> 71 <test expect_num_outputs="1">
73 <param name="in_ms1" ftype="consensusxml" value="ConsensusMapNormalizer_input.consensusXML"/> 72 <!-- test with arbitarily chosen consensusXML -->
74 <param name="in_swath" ftype="consensusxml" value="ConsensusMapNormalizer_input.consensusXML"/> 73 <param name="adv_opts|test" value="true"/>
75 <output name="out" ftype="mzml" value="ClusterMassTracesByPrecursor.mzml"/> 74 <param name="in_ms1" ftype="consensusxml" value="ConsensusMapNormalizer_input.consensusXML"/>
76 </test> 75 <param name="in_swath" ftype="consensusxml" value="ConsensusMapNormalizer_input.consensusXML"/>
77 </tests> 76 <output name="out" ftype="mzml" value="ClusterMassTracesByPrecursor.mzml"/>
77 </test>
78 </tests>
78 <help><![CDATA[Correlate precursor masstraces with fragment ion masstraces in SWATH maps based on their elution profile. 79 <help><![CDATA[Correlate precursor masstraces with fragment ion masstraces in SWATH maps based on their elution profile.
79 80
80 81
81 For more information, visit http://www.openms.de/doxygen/release/2.8.0/html/UTILS_ClusterMassTracesByPrecursor.html]]></help> 82 For more information, visit https://openms.de/doxygen/release/3.1.0/html/TOPP_ClusterMassTracesByPrecursor.html]]></help>
82 <expand macro="references"/> 83 <expand macro="references"/>
83 </tool> 84 </tool>