Mercurial > repos > galaxyp > openms_mrmmapper
comparison MRMMapper.xml @ 9:9a62bfe7661d draft
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
author | galaxyp |
---|---|
date | Wed, 09 Sep 2020 19:54:03 +0000 |
parents | 305bf5edf3ce |
children | bc8e70bada0e |
comparison
equal
deleted
inserted
replaced
8:c9a309adda65 | 9:9a62bfe7661d |
---|---|
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: [Targeted Experiments]--> | 3 <!--Proposed Tool Section: [Targeted Experiments]--> |
4 <tool id="MRMMapper" name="MRMMapper" version="2.3.0"> | 4 <tool id="MRMMapper" name="MRMMapper" version="@TOOL_VERSION@+galaxy@GALAXY_VERSION@" profile="20.05"> |
5 <description>MRMMapper maps measured chromatograms (mzML) and the transitions used (TraML)</description> | 5 <description>MRMMapper maps measured chromatograms (mzML) and the transitions used (TraML)</description> |
6 <macros> | 6 <macros> |
7 <token name="@EXECUTABLE@">MRMMapper</token> | 7 <token name="@EXECUTABLE@">MRMMapper</token> |
8 <import>macros.xml</import> | 8 <import>macros.xml</import> |
9 <import>macros_autotest.xml</import> | |
10 <import>macros_test.xml</import> | |
9 </macros> | 11 </macros> |
10 <expand macro="references"/> | 12 <expand macro="requirements"/> |
11 <expand macro="stdio"/> | 13 <expand macro="stdio"/> |
12 <expand macro="requirements"/> | 14 <command detect_errors="exit_code"><![CDATA[@QUOTE_FOO@ |
13 <command detect_errors="aggressive"><![CDATA[MRMMapper | 15 @EXT_FOO@ |
16 #import re | |
14 | 17 |
15 #if $param_in: | 18 ## Preprocessing |
16 -in $param_in | 19 mkdir in && |
17 #end if | 20 ln -s '$in' 'in/${re.sub("[^\w\-_]", "_", $in.element_identifier)}.$gxy2omsext($in.ext)' && |
18 #if $param_tr: | 21 mkdir tr && |
19 -tr $param_tr | 22 ln -s '$tr' 'tr/${re.sub("[^\w\-_]", "_", $tr.element_identifier)}.$gxy2omsext($tr.ext)' && |
20 #end if | 23 mkdir out && |
21 #if $param_out: | 24 |
22 -out $param_out | 25 ## Main program call |
23 #end if | 26 |
24 #if $param_precursor_tolerance: | 27 set -o pipefail && |
25 -precursor_tolerance $param_precursor_tolerance | 28 @EXECUTABLE@ -write_ctd ./ && |
26 #end if | 29 python3 '$__tool_directory__/fill_ctd.py' '@EXECUTABLE@.ctd' '$args_json' '$hardcoded_json' && |
27 #if $param_product_tolerance: | 30 @EXECUTABLE@ -ini @EXECUTABLE@.ctd |
28 -product_tolerance $param_product_tolerance | 31 -in |
29 #end if | 32 'in/${re.sub("[^\w\-_]", "_", $in.element_identifier)}.$gxy2omsext($in.ext)' |
30 #if $param_no_strict: | 33 -tr |
31 -no-strict | 34 'tr/${re.sub("[^\w\-_]", "_", $tr.element_identifier)}.$gxy2omsext($tr.ext)' |
32 #end if | 35 -out |
33 #if $param_allow_multiple_mappings: | 36 'out/output.${gxy2omsext("mzml")}' |
34 -allow_multiple_mappings | 37 |
35 #end if | 38 ## Postprocessing |
36 #if $adv_opts.adv_opts_selector=='advanced': | 39 && mv 'out/output.${gxy2omsext("mzml")}' '$out' |
37 #if $adv_opts.param_force: | 40 #if "ctd_out_FLAG" in $OPTIONAL_OUTPUTS |
38 -force | 41 && mv '@EXECUTABLE@.ctd' '$ctd_out' |
39 #end if | 42 #end if]]></command> |
40 #end if | 43 <configfiles> |
41 ]]></command> | 44 <inputs name="args_json" data_style="paths"/> |
45 <configfile name="hardcoded_json"><![CDATA[{"log": "log.txt", "threads": "\${GALAXY_SLOTS:-1}", "no_progress": true}]]></configfile> | |
46 </configfiles> | |
42 <inputs> | 47 <inputs> |
43 <param name="param_in" type="data" format="mzml" optional="False" label="Input file containing chromatograms (converted mzXML file)" help="(-in) "/> | 48 <param name="in" argument="-in" type="data" format="mzml" optional="false" label="Input file containing chromatograms (converted mzXML file)" help=" select mzml data sets(s)"/> |
44 <param name="param_tr" type="data" format="traml" optional="False" label="transition file" help="(-tr) "/> | 49 <param name="tr" argument="-tr" type="data" format="traml" optional="false" label="transition file" help=" select traml data sets(s)"/> |
45 <param name="param_precursor_tolerance" type="float" value="0.1" label="Precursor tolerance when mapping (in Th)" help="(-precursor_tolerance) "/> | 50 <section name="algorithm" title="Algorithm parameters section" help="" expanded="false"> |
46 <param name="param_product_tolerance" type="float" value="0.1" label="Product tolerance when mapping (in Th)" help="(-product_tolerance) "/> | 51 <param name="precursor_tolerance" argument="-algorithm:precursor_tolerance" type="float" optional="true" value="0.1" label="Precursor tolerance when mapping (in Th)" help=""/> |
47 <param name="param_no_strict" display="radio" type="boolean" truevalue="-no-strict" falsevalue="" checked="false" optional="True" label="run in non-strict mode and allow some chromatograms to not be mapped" help="(-no-strict) "/> | 52 <param name="product_tolerance" argument="-algorithm:product_tolerance" type="float" optional="true" value="0.1" label="Product tolerance when mapping (in Th)" help=""/> |
48 <param name="param_allow_multiple_mappings" display="radio" type="boolean" truevalue="-allow_multiple_mappings" falsevalue="" checked="false" optional="True" label="Allow multiple mappings (will take the last matching from the TraML)" help="(-allow_multiple_mappings) "/> | 53 <param name="map_multiple_assays" argument="-algorithm:map_multiple_assays" type="boolean" truevalue="true" falsevalue="false" checked="false" label="Allow to map multiple assays to chromatograms and duplicate these chromatograms in the output" help=""/> |
49 <expand macro="advanced_options"> | 54 <param name="error_on_unmapped" argument="-algorithm:error_on_unmapped" type="boolean" truevalue="true" falsevalue="false" checked="false" label="Treat remaining, unmapped chromatograms as an erro" help=""/> |
50 <param name="param_force" display="radio" type="boolean" truevalue="-force" falsevalue="" checked="false" optional="True" label="Overwrite tool specific checks" help="(-force) "/> | 55 </section> |
56 <expand macro="adv_opts_macro"> | |
57 <param name="force" argument="-force" type="boolean" truevalue="true" falsevalue="false" checked="false" label="Overwrite tool specific checks" help=""/> | |
58 <param name="test" argument="-test" type="hidden" optional="true" value="False" label="Enables the test mode (needed for internal use only)" help=""> | |
59 <expand macro="list_string_san"/> | |
60 </param> | |
51 </expand> | 61 </expand> |
62 <param name="OPTIONAL_OUTPUTS" type="select" multiple="true" label="Optional outputs" optional="true"> | |
63 <option value="ctd_out_FLAG">Output used ctd (ini) configuration file</option> | |
64 </param> | |
52 </inputs> | 65 </inputs> |
53 <outputs> | 66 <outputs> |
54 <data name="param_out" format="mzml"/> | 67 <data name="out" label="${tool.name} on ${on_string}: out" format="mzml"/> |
68 <data name="ctd_out" format="xml" label="${tool.name} on ${on_string}: ctd"> | |
69 <filter>OPTIONAL_OUTPUTS is not None and "ctd_out_FLAG" in OPTIONAL_OUTPUTS</filter> | |
70 </data> | |
55 </outputs> | 71 </outputs> |
56 <help>MRMMapper maps measured chromatograms (mzML) and the transitions used (TraML) | 72 <tests> |
73 <expand macro="autotest_MRMMapper"/> | |
74 <expand macro="manutest_MRMMapper"/> | |
75 </tests> | |
76 <help><![CDATA[MRMMapper maps measured chromatograms (mzML) and the transitions used (TraML) | |
57 | 77 |
58 | 78 |
59 For more information, visit https://abibuilder.informatik.uni-tuebingen.de/archive/openms/Documentation/release/2.3.0/html/TOPP_MRMMapper.html</help> | 79 For more information, visit http://www.openms.de/documentation/TOPP_MRMMapper.html]]></help> |
80 <expand macro="references"/> | |
60 </tool> | 81 </tool> |