Mercurial > repos > galaxyp > openms_demeanderize
annotate DeMeanderize.xml @ 16:d2852a9e5550 draft
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 2adf8edc3de4e1cd3b299b26abb14544d17d0636"
author | galaxyp |
---|---|
date | Fri, 06 Nov 2020 19:55:39 +0000 |
parents | c64f929ec2bf |
children | 2425a98560f5 |
rev | line source |
---|---|
0
5864c1a6e408
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit fb85d488133bb2b5f483b52b2db0ac66038fafb8
galaxyp
parents:
diff
changeset
|
1 <?xml version='1.0' encoding='UTF-8'?> |
9
ba3414c435cc
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 58476cadaaf10b494317a604ad81d41c2d15f29b
galaxyp
parents:
3
diff
changeset
|
2 <!--This is a configuration file for the integration of a tools into Galaxy (https://galaxyproject.org/). This file was automatically generated using CTDConverter.--> |
0
5864c1a6e408
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit fb85d488133bb2b5f483b52b2db0ac66038fafb8
galaxyp
parents:
diff
changeset
|
3 <!--Proposed Tool Section: [Utilities]--> |
13
37caa89b3ab1
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
11
diff
changeset
|
4 <tool id="DeMeanderize" name="DeMeanderize" version="@TOOL_VERSION@+galaxy@GALAXY_VERSION@" profile="20.05"> |
0
5864c1a6e408
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit fb85d488133bb2b5f483b52b2db0ac66038fafb8
galaxyp
parents:
diff
changeset
|
5 <description>Orders the spectra of MALDI spotting plates correctly.</description> |
5864c1a6e408
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit fb85d488133bb2b5f483b52b2db0ac66038fafb8
galaxyp
parents:
diff
changeset
|
6 <macros> |
5864c1a6e408
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit fb85d488133bb2b5f483b52b2db0ac66038fafb8
galaxyp
parents:
diff
changeset
|
7 <token name="@EXECUTABLE@">DeMeanderize</token> |
5864c1a6e408
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit fb85d488133bb2b5f483b52b2db0ac66038fafb8
galaxyp
parents:
diff
changeset
|
8 <import>macros.xml</import> |
13
37caa89b3ab1
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
11
diff
changeset
|
9 <import>macros_autotest.xml</import> |
37caa89b3ab1
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
11
diff
changeset
|
10 <import>macros_test.xml</import> |
0
5864c1a6e408
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit fb85d488133bb2b5f483b52b2db0ac66038fafb8
galaxyp
parents:
diff
changeset
|
11 </macros> |
13
37caa89b3ab1
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
11
diff
changeset
|
12 <expand macro="requirements"/> |
0
5864c1a6e408
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit fb85d488133bb2b5f483b52b2db0ac66038fafb8
galaxyp
parents:
diff
changeset
|
13 <expand macro="stdio"/> |
13
37caa89b3ab1
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
11
diff
changeset
|
14 <command detect_errors="exit_code"><![CDATA[@QUOTE_FOO@ |
37caa89b3ab1
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
11
diff
changeset
|
15 @EXT_FOO@ |
37caa89b3ab1
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
11
diff
changeset
|
16 #import re |
37caa89b3ab1
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
11
diff
changeset
|
17 |
37caa89b3ab1
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
11
diff
changeset
|
18 ## Preprocessing |
37caa89b3ab1
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
11
diff
changeset
|
19 mkdir in && |
37caa89b3ab1
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
11
diff
changeset
|
20 ln -s '$in' 'in/${re.sub("[^\w\-_]", "_", $in.element_identifier)}.$gxy2omsext($in.ext)' && |
37caa89b3ab1
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
11
diff
changeset
|
21 mkdir out && |
37caa89b3ab1
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
11
diff
changeset
|
22 |
37caa89b3ab1
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
11
diff
changeset
|
23 ## Main program call |
0
5864c1a6e408
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit fb85d488133bb2b5f483b52b2db0ac66038fafb8
galaxyp
parents:
diff
changeset
|
24 |
13
37caa89b3ab1
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
11
diff
changeset
|
25 set -o pipefail && |
37caa89b3ab1
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
11
diff
changeset
|
26 @EXECUTABLE@ -write_ctd ./ && |
37caa89b3ab1
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
11
diff
changeset
|
27 python3 '$__tool_directory__/fill_ctd.py' '@EXECUTABLE@.ctd' '$args_json' '$hardcoded_json' && |
37caa89b3ab1
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
11
diff
changeset
|
28 @EXECUTABLE@ -ini @EXECUTABLE@.ctd |
37caa89b3ab1
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
11
diff
changeset
|
29 -in |
37caa89b3ab1
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
11
diff
changeset
|
30 'in/${re.sub("[^\w\-_]", "_", $in.element_identifier)}.$gxy2omsext($in.ext)' |
37caa89b3ab1
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
11
diff
changeset
|
31 -out |
37caa89b3ab1
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
11
diff
changeset
|
32 'out/output.${gxy2omsext("mzml")}' |
37caa89b3ab1
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
11
diff
changeset
|
33 |
37caa89b3ab1
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
11
diff
changeset
|
34 ## Postprocessing |
37caa89b3ab1
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
11
diff
changeset
|
35 && mv 'out/output.${gxy2omsext("mzml")}' '$out' |
37caa89b3ab1
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
11
diff
changeset
|
36 #if "ctd_out_FLAG" in $OPTIONAL_OUTPUTS |
37caa89b3ab1
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
11
diff
changeset
|
37 && mv '@EXECUTABLE@.ctd' '$ctd_out' |
37caa89b3ab1
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
11
diff
changeset
|
38 #end if]]></command> |
37caa89b3ab1
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
11
diff
changeset
|
39 <configfiles> |
37caa89b3ab1
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
11
diff
changeset
|
40 <inputs name="args_json" data_style="paths"/> |
37caa89b3ab1
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
11
diff
changeset
|
41 <configfile name="hardcoded_json"><![CDATA[{"log": "log.txt", "threads": "\${GALAXY_SLOTS:-1}", "no_progress": true}]]></configfile> |
37caa89b3ab1
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
11
diff
changeset
|
42 </configfiles> |
0
5864c1a6e408
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit fb85d488133bb2b5f483b52b2db0ac66038fafb8
galaxyp
parents:
diff
changeset
|
43 <inputs> |
13
37caa89b3ab1
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
11
diff
changeset
|
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)"/> |
37caa89b3ab1
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
11
diff
changeset
|
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=""/> |
37caa89b3ab1
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
11
diff
changeset
|
46 <expand macro="adv_opts_macro"> |
37caa89b3ab1
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
11
diff
changeset
|
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=""/> |
15
c64f929ec2bf
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 55a2aeba8bfd8a6910630721de9857dcdfe05d3c"
galaxyp
parents:
13
diff
changeset
|
48 <param name="force" argument="-force" type="boolean" truevalue="true" falsevalue="false" checked="false" label="Overrides tool-specific checks" help=""/> |
13
37caa89b3ab1
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
11
diff
changeset
|
49 <param name="test" argument="-test" type="hidden" optional="true" value="False" label="Enables the test mode (needed for internal use only)" help=""> |
37caa89b3ab1
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
11
diff
changeset
|
50 <expand macro="list_string_san"/> |
37caa89b3ab1
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
11
diff
changeset
|
51 </param> |
0
5864c1a6e408
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit fb85d488133bb2b5f483b52b2db0ac66038fafb8
galaxyp
parents:
diff
changeset
|
52 </expand> |
15
c64f929ec2bf
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 55a2aeba8bfd8a6910630721de9857dcdfe05d3c"
galaxyp
parents:
13
diff
changeset
|
53 <param name="OPTIONAL_OUTPUTS" type="select" optional="true" multiple="true" label="Optional outputs"> |
13
37caa89b3ab1
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
11
diff
changeset
|
54 <option value="ctd_out_FLAG">Output used ctd (ini) configuration file</option> |
37caa89b3ab1
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
11
diff
changeset
|
55 </param> |
0
5864c1a6e408
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit fb85d488133bb2b5f483b52b2db0ac66038fafb8
galaxyp
parents:
diff
changeset
|
56 </inputs> |
5864c1a6e408
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit fb85d488133bb2b5f483b52b2db0ac66038fafb8
galaxyp
parents:
diff
changeset
|
57 <outputs> |
13
37caa89b3ab1
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
11
diff
changeset
|
58 <data name="out" label="${tool.name} on ${on_string}: out" format="mzml"/> |
37caa89b3ab1
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
11
diff
changeset
|
59 <data name="ctd_out" format="xml" label="${tool.name} on ${on_string}: ctd"> |
37caa89b3ab1
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
11
diff
changeset
|
60 <filter>OPTIONAL_OUTPUTS is not None and "ctd_out_FLAG" in OPTIONAL_OUTPUTS</filter> |
37caa89b3ab1
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
11
diff
changeset
|
61 </data> |
0
5864c1a6e408
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit fb85d488133bb2b5f483b52b2db0ac66038fafb8
galaxyp
parents:
diff
changeset
|
62 </outputs> |
13
37caa89b3ab1
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
11
diff
changeset
|
63 <tests> |
37caa89b3ab1
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
11
diff
changeset
|
64 <expand macro="autotest_DeMeanderize"/> |
37caa89b3ab1
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
11
diff
changeset
|
65 <expand macro="manutest_DeMeanderize"/> |
37caa89b3ab1
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
11
diff
changeset
|
66 </tests> |
37caa89b3ab1
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
11
diff
changeset
|
67 <help><![CDATA[Orders the spectra of MALDI spotting plates correctly. |
0
5864c1a6e408
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit fb85d488133bb2b5f483b52b2db0ac66038fafb8
galaxyp
parents:
diff
changeset
|
68 |
5864c1a6e408
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit fb85d488133bb2b5f483b52b2db0ac66038fafb8
galaxyp
parents:
diff
changeset
|
69 |
15
c64f929ec2bf
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 55a2aeba8bfd8a6910630721de9857dcdfe05d3c"
galaxyp
parents:
13
diff
changeset
|
70 For more information, visit http://www.openms.de/doxygen/release/2.6.0/html/UTILS_DeMeanderize.html]]></help> |
13
37caa89b3ab1
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
11
diff
changeset
|
71 <expand macro="references"/> |
0
5864c1a6e408
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit fb85d488133bb2b5f483b52b2db0ac66038fafb8
galaxyp
parents:
diff
changeset
|
72 </tool> |