Mercurial > repos > galaxyp > openms_speclibcreator
annotate SpecLibCreator.xml @ 14:5b237d23cb7d 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:37:55 +0000 |
parents | da1fa8ce2d96 |
children |
rev | line source |
---|---|
5
0711e6018eb8
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 58476cadaaf10b494317a604ad81d41c2d15f29b
galaxyp
parents:
1
diff
changeset
|
1 <!--This is a configuration file for the integration of a tools into Galaxy (https://galaxyproject.org/). This file was automatically generated using CTDConverter.--> |
14
5b237d23cb7d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 5c080b1e2b99f1c88f4557e9fec8c45c9d23b906
galaxyp
parents:
13
diff
changeset
|
2 <!--Proposed Tool Section: [Identification Processing]--> |
13
da1fa8ce2d96
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 3d1e5f37fd16524a415f707772eeb7ead848c5e3
galaxyp
parents:
11
diff
changeset
|
3 <tool id="SpecLibCreator" name="SpecLibCreator" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="21.05"> |
14
5b237d23cb7d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 5c080b1e2b99f1c88f4557e9fec8c45c9d23b906
galaxyp
parents:
13
diff
changeset
|
4 <description>Creates an MSP formatted spectral library</description> |
0
564a6acb89e8
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit fb85d488133bb2b5f483b52b2db0ac66038fafb8
galaxyp
parents:
diff
changeset
|
5 <macros> |
564a6acb89e8
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit fb85d488133bb2b5f483b52b2db0ac66038fafb8
galaxyp
parents:
diff
changeset
|
6 <token name="@EXECUTABLE@">SpecLibCreator</token> |
564a6acb89e8
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit fb85d488133bb2b5f483b52b2db0ac66038fafb8
galaxyp
parents:
diff
changeset
|
7 <import>macros.xml</import> |
564a6acb89e8
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit fb85d488133bb2b5f483b52b2db0ac66038fafb8
galaxyp
parents:
diff
changeset
|
8 </macros> |
9
70105532a580
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
7
diff
changeset
|
9 <expand macro="requirements"/> |
0
564a6acb89e8
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit fb85d488133bb2b5f483b52b2db0ac66038fafb8
galaxyp
parents:
diff
changeset
|
10 <expand macro="stdio"/> |
9
70105532a580
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
7
diff
changeset
|
11 <command detect_errors="exit_code"><![CDATA[@QUOTE_FOO@ |
70105532a580
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
7
diff
changeset
|
12 @EXT_FOO@ |
70105532a580
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
7
diff
changeset
|
13 #import re |
70105532a580
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
7
diff
changeset
|
14 |
70105532a580
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
7
diff
changeset
|
15 ## Preprocessing |
70105532a580
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
7
diff
changeset
|
16 mkdir info && |
14
5b237d23cb7d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 5c080b1e2b99f1c88f4557e9fec8c45c9d23b906
galaxyp
parents:
13
diff
changeset
|
17 cp '$info' 'info/${re.sub("[^\w\-_]", "_", $info.element_identifier)}.$gxy2omsext($info.ext)' && |
9
70105532a580
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
7
diff
changeset
|
18 mkdir spec && |
14
5b237d23cb7d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 5c080b1e2b99f1c88f4557e9fec8c45c9d23b906
galaxyp
parents:
13
diff
changeset
|
19 cp '$spec' 'spec/${re.sub("[^\w\-_]", "_", $spec.element_identifier)}.$gxy2omsext($spec.ext)' && |
9
70105532a580
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
7
diff
changeset
|
20 mkdir out && |
70105532a580
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
7
diff
changeset
|
21 |
70105532a580
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
7
diff
changeset
|
22 ## Main program call |
0
564a6acb89e8
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit fb85d488133bb2b5f483b52b2db0ac66038fafb8
galaxyp
parents:
diff
changeset
|
23 |
9
70105532a580
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
7
diff
changeset
|
24 set -o pipefail && |
70105532a580
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
7
diff
changeset
|
25 @EXECUTABLE@ -write_ctd ./ && |
70105532a580
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
7
diff
changeset
|
26 python3 '$__tool_directory__/fill_ctd.py' '@EXECUTABLE@.ctd' '$args_json' '$hardcoded_json' && |
70105532a580
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
7
diff
changeset
|
27 @EXECUTABLE@ -ini @EXECUTABLE@.ctd |
70105532a580
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
7
diff
changeset
|
28 -info |
70105532a580
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
7
diff
changeset
|
29 'info/${re.sub("[^\w\-_]", "_", $info.element_identifier)}.$gxy2omsext($info.ext)' |
70105532a580
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
7
diff
changeset
|
30 -spec |
70105532a580
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
7
diff
changeset
|
31 'spec/${re.sub("[^\w\-_]", "_", $spec.element_identifier)}.$gxy2omsext($spec.ext)' |
70105532a580
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
7
diff
changeset
|
32 -out |
70105532a580
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
7
diff
changeset
|
33 'out/output.${gxy2omsext("msp")}' |
70105532a580
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
7
diff
changeset
|
34 |
70105532a580
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
7
diff
changeset
|
35 ## Postprocessing |
70105532a580
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
7
diff
changeset
|
36 && mv 'out/output.${gxy2omsext("msp")}' '$out' |
70105532a580
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
7
diff
changeset
|
37 #if "ctd_out_FLAG" in $OPTIONAL_OUTPUTS |
70105532a580
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
7
diff
changeset
|
38 && mv '@EXECUTABLE@.ctd' '$ctd_out' |
70105532a580
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
7
diff
changeset
|
39 #end if]]></command> |
70105532a580
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
7
diff
changeset
|
40 <configfiles> |
70105532a580
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
7
diff
changeset
|
41 <inputs name="args_json" data_style="paths"/> |
70105532a580
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
7
diff
changeset
|
42 <configfile name="hardcoded_json"><![CDATA[{"log": "log.txt", "threads": "\${GALAXY_SLOTS:-1}", "no_progress": true}]]></configfile> |
70105532a580
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
7
diff
changeset
|
43 </configfiles> |
0
564a6acb89e8
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit fb85d488133bb2b5f483b52b2db0ac66038fafb8
galaxyp
parents:
diff
changeset
|
44 <inputs> |
14
5b237d23cb7d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 5c080b1e2b99f1c88f4557e9fec8c45c9d23b906
galaxyp
parents:
13
diff
changeset
|
45 <param argument="-info" type="data" format="csv" label="Holds id, peptide, retention time etc" help=" select csv data sets(s)"/> |
5b237d23cb7d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 5c080b1e2b99f1c88f4557e9fec8c45c9d23b906
galaxyp
parents:
13
diff
changeset
|
46 <param argument="-itemseperator" type="text" value="," label=" Separator between items. e.g. ," help=""> |
13
da1fa8ce2d96
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 3d1e5f37fd16524a415f707772eeb7ead848c5e3
galaxyp
parents:
11
diff
changeset
|
47 <expand macro="list_string_san" name="itemseperator"/> |
0
564a6acb89e8
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit fb85d488133bb2b5f483b52b2db0ac66038fafb8
galaxyp
parents:
diff
changeset
|
48 </param> |
13
da1fa8ce2d96
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 3d1e5f37fd16524a415f707772eeb7ead848c5e3
galaxyp
parents:
11
diff
changeset
|
49 <param argument="-itemenclosed" type="boolean" truevalue="true" falsevalue="false" checked="false" label="'true' or 'false' if true every item is enclosed" help="e.g. '$peptide$,$run$"/> |
14
5b237d23cb7d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 5c080b1e2b99f1c88f4557e9fec8c45c9d23b906
galaxyp
parents:
13
diff
changeset
|
50 <param argument="-spec" type="data" format="mzdata,mzxml" label="spectra" help=" select mzdata,mzxml data sets(s)"/> |
9
70105532a580
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
7
diff
changeset
|
51 <expand macro="adv_opts_macro"> |
13
da1fa8ce2d96
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 3d1e5f37fd16524a415f707772eeb7ead848c5e3
galaxyp
parents:
11
diff
changeset
|
52 <param argument="-force" type="boolean" truevalue="true" falsevalue="false" checked="false" label="Overrides tool-specific checks" help=""/> |
14
5b237d23cb7d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 5c080b1e2b99f1c88f4557e9fec8c45c9d23b906
galaxyp
parents:
13
diff
changeset
|
53 <param argument="-test" type="hidden" value="False" label="Enables the test mode (needed for internal use only)" help="" optional="true"> |
13
da1fa8ce2d96
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 3d1e5f37fd16524a415f707772eeb7ead848c5e3
galaxyp
parents:
11
diff
changeset
|
54 <expand macro="list_string_san" name="test"/> |
9
70105532a580
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
7
diff
changeset
|
55 </param> |
0
564a6acb89e8
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit fb85d488133bb2b5f483b52b2db0ac66038fafb8
galaxyp
parents:
diff
changeset
|
56 </expand> |
11
5d837ca93d0e
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 55a2aeba8bfd8a6910630721de9857dcdfe05d3c"
galaxyp
parents:
9
diff
changeset
|
57 <param name="OPTIONAL_OUTPUTS" type="select" optional="true" multiple="true" label="Optional outputs"> |
9
70105532a580
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
7
diff
changeset
|
58 <option value="ctd_out_FLAG">Output used ctd (ini) configuration file</option> |
70105532a580
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
7
diff
changeset
|
59 </param> |
0
564a6acb89e8
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit fb85d488133bb2b5f483b52b2db0ac66038fafb8
galaxyp
parents:
diff
changeset
|
60 </inputs> |
564a6acb89e8
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit fb85d488133bb2b5f483b52b2db0ac66038fafb8
galaxyp
parents:
diff
changeset
|
61 <outputs> |
9
70105532a580
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
7
diff
changeset
|
62 <data name="out" label="${tool.name} on ${on_string}: out" format="msp"/> |
70105532a580
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
7
diff
changeset
|
63 <data name="ctd_out" format="xml" label="${tool.name} on ${on_string}: ctd"> |
70105532a580
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
7
diff
changeset
|
64 <filter>OPTIONAL_OUTPUTS is not None and "ctd_out_FLAG" in OPTIONAL_OUTPUTS</filter> |
70105532a580
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
7
diff
changeset
|
65 </data> |
0
564a6acb89e8
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit fb85d488133bb2b5f483b52b2db0ac66038fafb8
galaxyp
parents:
diff
changeset
|
66 </outputs> |
14
5b237d23cb7d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 5c080b1e2b99f1c88f4557e9fec8c45c9d23b906
galaxyp
parents:
13
diff
changeset
|
67 <tests> |
5b237d23cb7d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 5c080b1e2b99f1c88f4557e9fec8c45c9d23b906
galaxyp
parents:
13
diff
changeset
|
68 <!--TODO could not find test data --> |
5b237d23cb7d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 5c080b1e2b99f1c88f4557e9fec8c45c9d23b906
galaxyp
parents:
13
diff
changeset
|
69 </tests> |
9
70105532a580
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
7
diff
changeset
|
70 <help><![CDATA[Creates an MSP formatted spectral library. |
0
564a6acb89e8
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit fb85d488133bb2b5f483b52b2db0ac66038fafb8
galaxyp
parents:
diff
changeset
|
71 |
564a6acb89e8
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit fb85d488133bb2b5f483b52b2db0ac66038fafb8
galaxyp
parents:
diff
changeset
|
72 |
14
5b237d23cb7d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 5c080b1e2b99f1c88f4557e9fec8c45c9d23b906
galaxyp
parents:
13
diff
changeset
|
73 For more information, visit https://openms.de/doxygen/release/3.1.0/html/TOPP_SpecLibCreator.html]]></help> |
9
70105532a580
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
7
diff
changeset
|
74 <expand macro="references"/> |
0
564a6acb89e8
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit fb85d488133bb2b5f483b52b2db0ac66038fafb8
galaxyp
parents:
diff
changeset
|
75 </tool> |