comparison MetaProSIP.xml @ 14:5f72a8fa935d 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:38:48 +0000
parents 819ed5aae76f
children
comparison
equal deleted inserted replaced
13:819ed5aae76f 14:5f72a8fa935d
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: [Quantitation]-->
4 <tool id="MetaProSIP" name="MetaProSIP" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="21.05"> 3 <tool id="MetaProSIP" name="MetaProSIP" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="21.05">
5 <description>Performs proteinSIP on peptide features for elemental flux analysis.</description> 4 <description>Performs proteinSIP on peptide features for elemental flux analysis</description>
6 <macros> 5 <macros>
7 <token name="@EXECUTABLE@">MetaProSIP</token> 6 <token name="@EXECUTABLE@">MetaProSIP</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_mzML && 16 mkdir in_mzML &&
18 ln -s '$in_mzML' 'in_mzML/${re.sub("[^\w\-_]", "_", $in_mzML.element_identifier)}.$gxy2omsext($in_mzML.ext)' && 17 cp '$in_mzML' 'in_mzML/${re.sub("[^\w\-_]", "_", $in_mzML.element_identifier)}.$gxy2omsext($in_mzML.ext)' &&
19 mkdir in_fasta && 18 mkdir in_fasta &&
20 ln -s '$in_fasta' 'in_fasta/${re.sub("[^\w\-_]", "_", $in_fasta.element_identifier)}.$gxy2omsext($in_fasta.ext)' && 19 cp '$in_fasta' 'in_fasta/${re.sub("[^\w\-_]", "_", $in_fasta.element_identifier)}.$gxy2omsext($in_fasta.ext)' &&
21 mkdir out_csv && 20 mkdir out_csv &&
22 mkdir out_peptide_centric_csv && 21 mkdir out_peptide_centric_csv &&
23 mkdir in_featureXML && 22 mkdir in_featureXML &&
24 ln -s '$in_featureXML' 'in_featureXML/${re.sub("[^\w\-_]", "_", $in_featureXML.element_identifier)}.$gxy2omsext($in_featureXML.ext)' && 23 cp '$in_featureXML' 'in_featureXML/${re.sub("[^\w\-_]", "_", $in_featureXML.element_identifier)}.$gxy2omsext($in_featureXML.ext)' &&
25 24
26 ## Main program call 25 ## Main program call
27 26
28 set -o pipefail && 27 set -o pipefail &&
29 @EXECUTABLE@ -write_ctd ./ && 28 @EXECUTABLE@ -write_ctd ./ &&
49 <configfiles> 48 <configfiles>
50 <inputs name="args_json" data_style="paths"/> 49 <inputs name="args_json" data_style="paths"/>
51 <configfile name="hardcoded_json"><![CDATA[{"r_executable": "R", "log": "log.txt", "threads": "\${GALAXY_SLOTS:-1}", "no_progress": true}]]></configfile> 50 <configfile name="hardcoded_json"><![CDATA[{"r_executable": "R", "log": "log.txt", "threads": "\${GALAXY_SLOTS:-1}", "no_progress": true}]]></configfile>
52 </configfiles> 51 </configfiles>
53 <inputs> 52 <inputs>
54 <param argument="-in_mzML" type="data" format="mzml" optional="false" label="Centroided MS1 data" help=" select mzml data sets(s)"/> 53 <param argument="-in_mzML" type="data" format="mzml" label="Centroided MS1 data" help=" select mzml data sets(s)"/>
55 <param argument="-in_fasta" type="data" format="fasta" optional="false" label="Protein sequence database" help=" select fasta data sets(s)"/> 54 <param argument="-in_fasta" type="data" format="fasta" label="Protein sequence database" help=" select fasta data sets(s)"/>
56 <param argument="-in_featureXML" type="data" format="featurexml" optional="false" label="Feature data annotated with identifications (IDMapper)" help=" select featurexml data sets(s)"/> 55 <param argument="-in_featureXML" type="data" format="featurexml" label="Feature data annotated with identifications (IDMapper)" help=" select featurexml data sets(s)"/>
57 <param argument="-mz_tolerance_ppm" type="float" optional="true" value="10.0" label="Tolerance in ppm" help=""/> 56 <param argument="-mz_tolerance_ppm" type="float" value="10.0" label="Tolerance in ppm" help=""/>
58 <param argument="-rt_tolerance_s" type="float" optional="true" value="30.0" label="Rolerance window around feature rt for XIC extraction" help=""/> 57 <param argument="-rt_tolerance_s" type="float" value="30.0" label="Tolerance window around feature rt for XIC extraction" help=""/>
59 <param argument="-intensity_threshold" type="float" optional="true" value="10.0" label="Intensity threshold to collect peaks in the MS1 spectrum" help=""/> 58 <param argument="-intensity_threshold" type="float" value="10.0" label="Intensity threshold to collect peaks in the MS1 spectrum" help=""/>
60 <param argument="-correlation_threshold" type="float" optional="true" value="0.7" label="Correlation threshold for reporting a RIA" help=""/> 59 <param argument="-correlation_threshold" type="float" value="0.7" label="Correlation threshold for reporting a RIA" help=""/>
61 <param argument="-xic_threshold" type="float" optional="true" value="0.7" label="Minimum correlation to mono-isotopic peak for retaining a higher isotopic peak" help="If featureXML from reference file is used it should be disabled (set to -1) as no mono-isotopic peak is expected to be present"/> 60 <param argument="-xic_threshold" type="float" value="0.7" label="Minimum correlation to mono-isotopic peak for retaining a higher isotopic peak" help="If featureXML from reference file is used it should be disabled (set to -1) as no mono-isotopic peak is expected to be present"/>
62 <param argument="-decomposition_threshold" type="float" optional="true" value="0.7" label="Minimum R-squared of decomposition that must be achieved for a peptide to be reported" help=""/> 61 <param argument="-decomposition_threshold" type="float" value="0.7" label="Minimum R-squared of decomposition that must be achieved for a peptide to be reported" help=""/>
63 <param argument="-weight_merge_window" type="float" optional="true" value="5.0" label="Decomposition coefficients within +- this rate window will be combined" help=""/> 62 <param argument="-weight_merge_window" type="float" value="5.0" label="Decomposition coefficients within +- this rate window will be combined" help=""/>
64 <param argument="-plot_extension" type="select" optional="true" label="Extension used for plots (png|svg|pdf)" help=""> 63 <param argument="-plot_extension" type="select" label="Extension used for plots (png|svg|pdf)" help="">
65 <option value="png" selected="true">png</option> 64 <option value="png" selected="true">png</option>
66 <option value="svg">svg</option> 65 <option value="svg">svg</option>
67 <option value="pdf">pdf</option> 66 <option value="pdf">pdf</option>
68 <expand macro="list_string_san" name="plot_extension"/> 67 <expand macro="list_string_san" name="plot_extension"/>
69 </param> 68 </param>
70 <param argument="-qc_output_directory" type="text" optional="true" value="" label="Output directory for the quality report" help=""> 69 <param argument="-qc_output_directory" type="text" optional="true" value="" label="Output directory for the quality report" help="">
71 <expand macro="list_string_san" name="qc_output_directory"/> 70 <expand macro="list_string_san" name="qc_output_directory"/>
72 </param> 71 </param>
73 <param argument="-labeling_element" type="select" optional="true" label="Which element (single letter code) is labeled" help=""> 72 <param argument="-labeling_element" type="select" label="Which element (single letter code) is labeled" help="">
74 <option value="C" selected="true">C</option> 73 <option value="C" selected="true">C</option>
75 <option value="N">N</option> 74 <option value="N">N</option>
76 <option value="H">H</option> 75 <option value="H">H</option>
77 <option value="O">O</option> 76 <option value="O">O</option>
78 <expand macro="list_string_san" name="labeling_element"/> 77 <expand macro="list_string_san" name="labeling_element"/>
81 <param argument="-use_averagine_ids" type="boolean" truevalue="true" falsevalue="false" checked="false" label="Use averagine peptides as model to perform pattern detection on unidentified peptides" help=""/> 80 <param argument="-use_averagine_ids" type="boolean" truevalue="true" falsevalue="false" checked="false" label="Use averagine peptides as model to perform pattern detection on unidentified peptides" help=""/>
82 <param argument="-report_natural_peptides" type="boolean" truevalue="true" falsevalue="false" checked="false" label="Whether purely natural peptides are reported in the quality report" help=""/> 81 <param argument="-report_natural_peptides" type="boolean" truevalue="true" falsevalue="false" checked="false" label="Whether purely natural peptides are reported in the quality report" help=""/>
83 <param argument="-filter_monoisotopic" type="boolean" truevalue="true" falsevalue="false" checked="false" label="Try to filter out mono-isotopic patterns to improve detection of low RIA patterns" help=""/> 82 <param argument="-filter_monoisotopic" type="boolean" truevalue="true" falsevalue="false" checked="false" label="Try to filter out mono-isotopic patterns to improve detection of low RIA patterns" help=""/>
84 <param argument="-cluster" type="boolean" truevalue="true" falsevalue="false" checked="false" label="Perform grouping" help=""/> 83 <param argument="-cluster" type="boolean" truevalue="true" falsevalue="false" checked="false" label="Perform grouping" help=""/>
85 <expand macro="adv_opts_macro"> 84 <expand macro="adv_opts_macro">
86 <param argument="-min_correlation_distance_to_averagine" type="float" optional="true" value="-1.0" label="Minimum difference in correlation between incorporation pattern and averagine pattern" help="Positive values filter all RIAs passing the correlation threshold but that also show a better correlation to an averagine peptide. Disabled for values &lt;= -1"/> 85 <param argument="-min_correlation_distance_to_averagine" type="float" value="-1.0" label="Minimum difference in correlation between incorporation pattern and averagine pattern" help="Positive values filter all RIAs passing the correlation threshold but that also show a better correlation to an averagine peptide. Disabled for values &lt;= -1"/>
87 <param argument="-pattern_15N_TIC_threshold" type="float" optional="true" value="0.95" label="The most intense peaks of the theoretical pattern contributing to at least this TIC fraction are taken into account" help=""/> 86 <param argument="-pattern_15N_TIC_threshold" type="float" value="0.95" label="The most intense peaks of the theoretical pattern contributing to at least this TIC fraction are taken into account" help=""/>
88 <param argument="-pattern_13C_TIC_threshold" type="float" optional="true" value="0.95" label="The most intense peaks of the theoretical pattern contributing to at least this TIC fraction are taken into account" help=""/> 87 <param argument="-pattern_13C_TIC_threshold" type="float" value="0.95" label="The most intense peaks of the theoretical pattern contributing to at least this TIC fraction are taken into account" help=""/>
89 <param argument="-pattern_2H_TIC_threshold" type="float" optional="true" value="0.95" label="The most intense peaks of the theoretical pattern contributing to at least this TIC fraction are taken into account" help=""/> 88 <param argument="-pattern_2H_TIC_threshold" type="float" value="0.95" label="The most intense peaks of the theoretical pattern contributing to at least this TIC fraction are taken into account" help=""/>
90 <param argument="-pattern_18O_TIC_threshold" type="float" optional="true" value="0.95" label="The most intense peaks of the theoretical pattern contributing to at least this TIC fraction are taken into account" help=""/> 89 <param argument="-pattern_18O_TIC_threshold" type="float" value="0.95" label="The most intense peaks of the theoretical pattern contributing to at least this TIC fraction are taken into account" help=""/>
91 <param argument="-heatmap_bins" type="integer" optional="true" value="20" label="Number of RIA bins for heat map generation" help=""/> 90 <param argument="-heatmap_bins" type="integer" value="20" label="Number of RIA bins for heat map generation" help=""/>
92 <param argument="-observed_peak_fraction" type="float" optional="true" value="0.5" label="Fraction of observed/expected peaks" help=""/> 91 <param argument="-observed_peak_fraction" type="float" value="0.5" label="Fraction of observed/expected peaks" help=""/>
93 <param argument="-min_consecutive_isotopes" type="integer" optional="true" value="2" label="Minimum number of consecutive isotopic intensities needed" help=""/> 92 <param argument="-min_consecutive_isotopes" type="integer" value="2" label="Minimum number of consecutive isotopic intensities needed" help=""/>
94 <param argument="-score_plot_yaxis_min" type="float" optional="true" value="0.0" label="The minimum value of the score axis" help="Values smaller than zero usually only make sense if the observed peak fraction is set to 0"/> 93 <param argument="-score_plot_yaxis_min" type="float" value="0.0" label="The minimum value of the score axis" help="Values smaller than zero usually only make sense if the observed peak fraction is set to 0"/>
95 <param argument="-collect_method" type="select" optional="true" label="How RIAs are collected" help=""> 94 <param argument="-collect_method" type="select" label="How RIAs are collected" help="">
96 <option value="correlation_maximum" selected="true">correlation_maximum</option> 95 <option value="correlation_maximum" selected="true">correlation_maximum</option>
97 <option value="decomposition_maximum">decomposition_maximum</option> 96 <option value="decomposition_maximum">decomposition_maximum</option>
98 <expand macro="list_string_san" name="collect_method"/> 97 <expand macro="list_string_san" name="collect_method"/>
99 </param> 98 </param>
100 <param argument="-lowRIA_correlation_threshold" type="float" optional="true" value="-1.0" label="Correlation threshold for reporting low RIA patterns" help="Disable and take correlation_threshold value for negative values"/> 99 <param argument="-lowRIA_correlation_threshold" type="float" value="-1.0" label="Correlation threshold for reporting low RIA patterns" help="Disable and take correlation_threshold value for negative values"/>
101 <param argument="-force" type="boolean" truevalue="true" falsevalue="false" checked="false" label="Overrides tool-specific checks" help=""/> 100 <param argument="-force" type="boolean" truevalue="true" falsevalue="false" checked="false" label="Overrides tool-specific checks" help=""/>
102 <param argument="-test" type="hidden" optional="true" value="False" label="Enables the test mode (needed for internal use only)" help=""> 101 <param argument="-test" type="hidden" value="False" label="Enables the test mode (needed for internal use only)" help="" optional="true">
103 <expand macro="list_string_san" name="test"/> 102 <expand macro="list_string_san" name="test"/>
104 </param> 103 </param>
105 </expand> 104 </expand>
106 <param name="OPTIONAL_OUTPUTS" type="select" optional="true" multiple="true" label="Optional outputs"> 105 <param name="OPTIONAL_OUTPUTS" type="select" optional="true" multiple="true" label="Optional outputs">
107 <option value="ctd_out_FLAG">Output used ctd (ini) configuration file</option> 106 <option value="ctd_out_FLAG">Output used ctd (ini) configuration file</option>
112 <data name="out_peptide_centric_csv" label="${tool.name} on ${on_string}: out_peptide_centric_csv" format="csv"/> 111 <data name="out_peptide_centric_csv" label="${tool.name} on ${on_string}: out_peptide_centric_csv" format="csv"/>
113 <data name="ctd_out" format="xml" label="${tool.name} on ${on_string}: ctd"> 112 <data name="ctd_out" format="xml" label="${tool.name} on ${on_string}: ctd">
114 <filter>OPTIONAL_OUTPUTS is not None and "ctd_out_FLAG" in OPTIONAL_OUTPUTS</filter> 113 <filter>OPTIONAL_OUTPUTS is not None and "ctd_out_FLAG" in OPTIONAL_OUTPUTS</filter>
115 </data> 114 </data>
116 </outputs> 115 </outputs>
117 <tests><!-- TOPP_MetaProSIP_1 --> 116 <tests>
117 <!-- TOPP_MetaProSIP_1 -->
118 <test expect_num_outputs="3"> 118 <test expect_num_outputs="3">
119 <section name="adv_opts"> 119 <section name="adv_opts">
120 <param name="min_correlation_distance_to_averagine" value="-1.0"/> 120 <param name="min_correlation_distance_to_averagine" value="-1.0"/>
121 <param name="pattern_15N_TIC_threshold" value="0.95"/> 121 <param name="pattern_15N_TIC_threshold" value="0.95"/>
122 <param name="pattern_13C_TIC_threshold" value="0.95"/> 122 <param name="pattern_13C_TIC_threshold" value="0.95"/>
131 <param name="force" value="false"/> 131 <param name="force" value="false"/>
132 <param name="test" value="true"/> 132 <param name="test" value="true"/>
133 </section> 133 </section>
134 <param name="in_mzML" value="MetaProSIP_1_input.mzML"/> 134 <param name="in_mzML" value="MetaProSIP_1_input.mzML"/>
135 <param name="in_fasta" value="MetaProSIP_1_input.fasta"/> 135 <param name="in_fasta" value="MetaProSIP_1_input.fasta"/>
136 <output name="out_csv" file="MetaProSIP_1_output_1.csv" compare="sim_size" delta_frac="0.7" ftype="csv"/> 136 <output name="out_csv" value="MetaProSIP_1_output_1.csv" compare="sim_size" delta_frac="0.7" ftype="csv"/>
137 <output name="out_peptide_centric_csv" file="MetaProSIP_1_output_2.csv" compare="sim_size" delta_frac="0.7" ftype="csv"/> 137 <output name="out_peptide_centric_csv" value="MetaProSIP_1_output_2.csv" compare="sim_size" delta_frac="0.7" ftype="csv"/>
138 <param name="in_featureXML" value="MetaProSIP_1_input.featureXML"/> 138 <param name="in_featureXML" value="MetaProSIP_1_input.featureXML"/>
139 <param name="mz_tolerance_ppm" value="10.0"/> 139 <param name="mz_tolerance_ppm" value="10.0"/>
140 <param name="rt_tolerance_s" value="30.0"/> 140 <param name="rt_tolerance_s" value="30.0"/>
141 <param name="intensity_threshold" value="10.0"/> 141 <param name="intensity_threshold" value="10.0"/>
142 <param name="correlation_threshold" value="0.7"/> 142 <param name="correlation_threshold" value="0.7"/>
155 <output name="ctd_out" ftype="xml"> 155 <output name="ctd_out" ftype="xml">
156 <assert_contents> 156 <assert_contents>
157 <is_valid_xml/> 157 <is_valid_xml/>
158 </assert_contents> 158 </assert_contents>
159 </output> 159 </output>
160 <assert_stdout>
161 <has_text_matching expression="@EXECUTABLE@ took .* \(wall\), .* \(CPU\), .* \(system\), .* \(user\)(; Peak Memory Usage: 32 MB)?."/>
162 </assert_stdout>
160 </test> 163 </test>
161 </tests> 164 </tests>
162 <help><![CDATA[Performs proteinSIP on peptide features for elemental flux analysis. 165 <help><![CDATA[Performs proteinSIP on peptide features for elemental flux analysis.
163 166
164 167
165 For more information, visit http://www.openms.de/doxygen/release/2.8.0/html/UTILS_MetaProSIP.html]]></help> 168 For more information, visit https://openms.de/doxygen/release/3.1.0/html/TOPP_MetaProSIP.html]]></help>
166 <expand macro="references"/> 169 <expand macro="references"/>
167 </tool> 170 </tool>