comparison DeMeanderize.xml @ 13:37caa89b3ab1 draft

"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
author galaxyp
date Wed, 09 Sep 2020 20:08:35 +0000
parents d9f0079e7116
children c64f929ec2bf
comparison
equal deleted inserted replaced
12:d7a9eb7768c3 13:37caa89b3ab1
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: [Utilities]--> 3 <!--Proposed Tool Section: [Utilities]-->
4 <tool id="DeMeanderize" name="DeMeanderize" version="2.3.0"> 4 <tool id="DeMeanderize" name="DeMeanderize" version="@TOOL_VERSION@+galaxy@GALAXY_VERSION@" profile="20.05">
5 <description>Orders the spectra of MALDI spotting plates correctly.</description> 5 <description>Orders the spectra of MALDI spotting plates correctly.</description>
6 <macros> 6 <macros>
7 <token name="@EXECUTABLE@">DeMeanderize</token> 7 <token name="@EXECUTABLE@">DeMeanderize</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[DeMeanderize 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_out: 21 mkdir out &&
19 -out $param_out 22
20 #end if 23 ## Main program call
21 #if $param_num_spots_per_row: 24
22 -num_spots_per_row $param_num_spots_per_row 25 set -o pipefail &&
23 #end if 26 @EXECUTABLE@ -write_ctd ./ &&
24 #if $adv_opts.adv_opts_selector=='advanced': 27 python3 '$__tool_directory__/fill_ctd.py' '@EXECUTABLE@.ctd' '$args_json' '$hardcoded_json' &&
25 #if $adv_opts.param_RT_distance: 28 @EXECUTABLE@ -ini @EXECUTABLE@.ctd
26 -RT_distance $adv_opts.param_RT_distance 29 -in
27 #end if 30 'in/${re.sub("[^\w\-_]", "_", $in.element_identifier)}.$gxy2omsext($in.ext)'
28 #if $adv_opts.param_force: 31 -out
29 -force 32 'out/output.${gxy2omsext("mzml")}'
30 #end if 33
31 #end if 34 ## Postprocessing
32 ]]></command> 35 && mv 'out/output.${gxy2omsext("mzml")}' '$out'
36 #if "ctd_out_FLAG" in $OPTIONAL_OUTPUTS
37 && mv '@EXECUTABLE@.ctd' '$ctd_out'
38 #end if]]></command>
39 <configfiles>
40 <inputs name="args_json" data_style="paths"/>
41 <configfile name="hardcoded_json"><![CDATA[{"log": "log.txt", "threads": "\${GALAXY_SLOTS:-1}", "no_progress": true}]]></configfile>
42 </configfiles>
33 <inputs> 43 <inputs>
34 <param name="param_in" type="data" format="mzml" optional="False" label="Input experiment file, containing the wrongly sorted spectra" help="(-in) "/> 44 <param name="in" argument="-in" type="data" format="mzml" optional="false" label="Input experiment file, containing the wrongly sorted spectra" help=" select mzml data sets(s)"/>
35 <param name="param_num_spots_per_row" type="integer" min="1" optional="True" value="48" label="Number of spots in one column, until next row is spotted" help="(-num_spots_per_row) "/> 45 <param name="num_spots_per_row" argument="-num_spots_per_row" type="integer" optional="true" min="1" value="48" label="Number of spots in one column, until next row is spotted" help=""/>
36 <expand macro="advanced_options"> 46 <expand macro="adv_opts_macro">
37 <param name="param_RT_distance" type="float" min="0.0" optional="True" value="1.0" label="RT distance between two spots which is used to calculated pseudo RT" help="(-RT_distance) "/> 47 <param name="RT_distance" argument="-RT_distance" type="float" optional="true" min="0.0" value="1.0" label="RT distance between two spots which is used to calculated pseudo RT" help=""/>
38 <param name="param_force" display="radio" type="boolean" truevalue="-force" falsevalue="" checked="false" optional="True" label="Overwrite tool specific checks" help="(-force) "/> 48 <param name="force" argument="-force" type="boolean" truevalue="true" falsevalue="false" checked="false" label="Overwrite tool specific checks" help=""/>
49 <param name="test" argument="-test" type="hidden" optional="true" value="False" label="Enables the test mode (needed for internal use only)" help="">
50 <expand macro="list_string_san"/>
51 </param>
39 </expand> 52 </expand>
53 <param name="OPTIONAL_OUTPUTS" type="select" multiple="true" label="Optional outputs" optional="true">
54 <option value="ctd_out_FLAG">Output used ctd (ini) configuration file</option>
55 </param>
40 </inputs> 56 </inputs>
41 <outputs> 57 <outputs>
42 <data name="param_out" format="mzml"/> 58 <data name="out" label="${tool.name} on ${on_string}: out" format="mzml"/>
59 <data name="ctd_out" format="xml" label="${tool.name} on ${on_string}: ctd">
60 <filter>OPTIONAL_OUTPUTS is not None and "ctd_out_FLAG" in OPTIONAL_OUTPUTS</filter>
61 </data>
43 </outputs> 62 </outputs>
44 <help>Orders the spectra of MALDI spotting plates correctly. 63 <tests>
64 <expand macro="autotest_DeMeanderize"/>
65 <expand macro="manutest_DeMeanderize"/>
66 </tests>
67 <help><![CDATA[Orders the spectra of MALDI spotting plates correctly.
45 68
46 69
47 For more information, visit https://abibuilder.informatik.uni-tuebingen.de/archive/openms/Documentation/release/2.3.0/html/UTILS_DeMeanderize.html</help> 70 For more information, visit http://www.openms.de/documentation/UTILS_DeMeanderize.html]]></help>
71 <expand macro="references"/>
48 </tool> 72 </tool>