Mercurial > repos > galaxyp > openms_spectrastsearchadapter
annotate SpectraSTSearchAdapter.xml @ 13:52dd59548339 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:34:58 +0000 |
parents | 4d189842ebfc |
children |
rev | line source |
---|---|
4
c54dbaf4802b
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 58476cadaaf10b494317a604ad81d41c2d15f29b
galaxyp
parents:
0
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.--> |
13
52dd59548339
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 5c080b1e2b99f1c88f4557e9fec8c45c9d23b906
galaxyp
parents:
12
diff
changeset
|
2 <!--Proposed Tool Section: [Identification of Proteins/Peptides (SearchEngines)]--> |
12
4d189842ebfc
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 3d1e5f37fd16524a415f707772eeb7ead848c5e3
galaxyp
parents:
10
diff
changeset
|
3 <tool id="SpectraSTSearchAdapter" name="SpectraSTSearchAdapter" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="21.05"> |
0
369f340978e4
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 9a14ed1f2d3c9abdfb080251b3419dd9e0c52a14
galaxyp
parents:
diff
changeset
|
4 <description>Interface to the SEARCH Mode of the SpectraST executable</description> |
369f340978e4
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 9a14ed1f2d3c9abdfb080251b3419dd9e0c52a14
galaxyp
parents:
diff
changeset
|
5 <macros> |
369f340978e4
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 9a14ed1f2d3c9abdfb080251b3419dd9e0c52a14
galaxyp
parents:
diff
changeset
|
6 <token name="@EXECUTABLE@">SpectraSTSearchAdapter</token> |
369f340978e4
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 9a14ed1f2d3c9abdfb080251b3419dd9e0c52a14
galaxyp
parents:
diff
changeset
|
7 <import>macros.xml</import> |
369f340978e4
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 9a14ed1f2d3c9abdfb080251b3419dd9e0c52a14
galaxyp
parents:
diff
changeset
|
8 </macros> |
8
28e96ae21a44
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
6
diff
changeset
|
9 <expand macro="requirements"/> |
0
369f340978e4
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 9a14ed1f2d3c9abdfb080251b3419dd9e0c52a14
galaxyp
parents:
diff
changeset
|
10 <expand macro="stdio"/> |
8
28e96ae21a44
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
6
diff
changeset
|
11 <command detect_errors="exit_code"><![CDATA[@QUOTE_FOO@ |
28e96ae21a44
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
6
diff
changeset
|
12 @EXT_FOO@ |
28e96ae21a44
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
6
diff
changeset
|
13 #import re |
0
369f340978e4
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 9a14ed1f2d3c9abdfb080251b3419dd9e0c52a14
galaxyp
parents:
diff
changeset
|
14 |
8
28e96ae21a44
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
6
diff
changeset
|
15 ## Preprocessing |
12
4d189842ebfc
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 3d1e5f37fd16524a415f707772eeb7ead848c5e3
galaxyp
parents:
10
diff
changeset
|
16 mkdir spectra_files_cond.spectra_files && |
4d189842ebfc
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 3d1e5f37fd16524a415f707772eeb7ead848c5e3
galaxyp
parents:
10
diff
changeset
|
17 #if $spectra_files_cond.spectra_files_select == "no" |
4d189842ebfc
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 3d1e5f37fd16524a415f707772eeb7ead848c5e3
galaxyp
parents:
10
diff
changeset
|
18 mkdir ${' '.join(["'spectra_files_cond.spectra_files/%s'" % (i) for i, f in enumerate($spectra_files_cond.spectra_files) if f])} && |
13
52dd59548339
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 5c080b1e2b99f1c88f4557e9fec8c45c9d23b906
galaxyp
parents:
12
diff
changeset
|
19 ${' '.join(["cp '%s' 'spectra_files_cond.spectra_files/%s/%s.%s' && " % (f, i, re.sub('[^\w\-_]', '_', f.element_identifier), $gxy2omsext(f.ext)) for i, f in enumerate($spectra_files_cond.spectra_files) if f])} |
12
4d189842ebfc
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 3d1e5f37fd16524a415f707772eeb7ead848c5e3
galaxyp
parents:
10
diff
changeset
|
20 #else |
13
52dd59548339
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 5c080b1e2b99f1c88f4557e9fec8c45c9d23b906
galaxyp
parents:
12
diff
changeset
|
21 cp '$spectra_files_cond.spectra_files' 'spectra_files_cond.spectra_files/${re.sub("[^\w\-_]", "_", $spectra_files_cond.spectra_files.element_identifier)}.$gxy2omsext($spectra_files_cond.spectra_files.ext)' && |
12
4d189842ebfc
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 3d1e5f37fd16524a415f707772eeb7ead848c5e3
galaxyp
parents:
10
diff
changeset
|
22 #end if |
8
28e96ae21a44
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
6
diff
changeset
|
23 mkdir output_files && |
12
4d189842ebfc
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 3d1e5f37fd16524a415f707772eeb7ead848c5e3
galaxyp
parents:
10
diff
changeset
|
24 mkdir ${' '.join(["'output_files/%s'" % (i) for i, f in enumerate($spectra_files_cond.spectra_files) if f])} && |
8
28e96ae21a44
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
6
diff
changeset
|
25 mkdir library_file && |
13
52dd59548339
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 5c080b1e2b99f1c88f4557e9fec8c45c9d23b906
galaxyp
parents:
12
diff
changeset
|
26 cp '$library_file' 'library_file/${re.sub("[^\w\-_]", "_", $library_file.element_identifier)}.$gxy2omsext($library_file.ext)' && |
8
28e96ae21a44
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
6
diff
changeset
|
27 #if $sequence_database_file: |
28e96ae21a44
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
6
diff
changeset
|
28 mkdir sequence_database_file && |
13
52dd59548339
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 5c080b1e2b99f1c88f4557e9fec8c45c9d23b906
galaxyp
parents:
12
diff
changeset
|
29 cp '$sequence_database_file' 'sequence_database_file/${re.sub("[^\w\-_]", "_", $sequence_database_file.element_identifier)}.$gxy2omsext($sequence_database_file.ext)' && |
8
28e96ae21a44
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
6
diff
changeset
|
30 #end if |
28e96ae21a44
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
6
diff
changeset
|
31 #if $search_file: |
28e96ae21a44
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
6
diff
changeset
|
32 mkdir search_file && |
13
52dd59548339
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 5c080b1e2b99f1c88f4557e9fec8c45c9d23b906
galaxyp
parents:
12
diff
changeset
|
33 cp '$search_file' 'search_file/${re.sub("[^\w\-_]", "_", $search_file.element_identifier)}.$gxy2omsext($search_file.ext)' && |
8
28e96ae21a44
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
6
diff
changeset
|
34 #end if |
13
52dd59548339
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 5c080b1e2b99f1c88f4557e9fec8c45c9d23b906
galaxyp
parents:
12
diff
changeset
|
35 ## advanced options |
12
4d189842ebfc
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 3d1e5f37fd16524a415f707772eeb7ead848c5e3
galaxyp
parents:
10
diff
changeset
|
36 #if $adv_opts.user_mod_file: |
4d189842ebfc
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 3d1e5f37fd16524a415f707772eeb7ead848c5e3
galaxyp
parents:
10
diff
changeset
|
37 mkdir adv_opts.user_mod_file && |
13
52dd59548339
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 5c080b1e2b99f1c88f4557e9fec8c45c9d23b906
galaxyp
parents:
12
diff
changeset
|
38 cp '$adv_opts.user_mod_file' 'adv_opts.user_mod_file/${re.sub("[^\w\-_]", "_", $adv_opts.user_mod_file.element_identifier)}.$gxy2omsext($adv_opts.user_mod_file.ext)' && |
8
28e96ae21a44
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
6
diff
changeset
|
39 #end if |
28e96ae21a44
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
6
diff
changeset
|
40 |
13
52dd59548339
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 5c080b1e2b99f1c88f4557e9fec8c45c9d23b906
galaxyp
parents:
12
diff
changeset
|
41 |
8
28e96ae21a44
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
6
diff
changeset
|
42 ## Main program call |
28e96ae21a44
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
6
diff
changeset
|
43 |
28e96ae21a44
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
6
diff
changeset
|
44 set -o pipefail && |
28e96ae21a44
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
6
diff
changeset
|
45 @EXECUTABLE@ -write_ctd ./ && |
28e96ae21a44
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
6
diff
changeset
|
46 python3 '$__tool_directory__/fill_ctd.py' '@EXECUTABLE@.ctd' '$args_json' '$hardcoded_json' && |
28e96ae21a44
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
6
diff
changeset
|
47 @EXECUTABLE@ -ini @EXECUTABLE@.ctd |
0
369f340978e4
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 9a14ed1f2d3c9abdfb080251b3419dd9e0c52a14
galaxyp
parents:
diff
changeset
|
48 -spectra_files |
12
4d189842ebfc
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 3d1e5f37fd16524a415f707772eeb7ead848c5e3
galaxyp
parents:
10
diff
changeset
|
49 #if $spectra_files_cond.spectra_files_select == "no" |
4d189842ebfc
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 3d1e5f37fd16524a415f707772eeb7ead848c5e3
galaxyp
parents:
10
diff
changeset
|
50 ${' '.join(["'spectra_files_cond.spectra_files/%s/%s.%s'"%(i, re.sub('[^\w\-_]', '_', f.element_identifier), $gxy2omsext(f.ext)) for i, f in enumerate($spectra_files_cond.spectra_files) if f])} |
4d189842ebfc
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 3d1e5f37fd16524a415f707772eeb7ead848c5e3
galaxyp
parents:
10
diff
changeset
|
51 #else |
4d189842ebfc
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 3d1e5f37fd16524a415f707772eeb7ead848c5e3
galaxyp
parents:
10
diff
changeset
|
52 'spectra_files_cond.spectra_files/${re.sub("[^\w\-_]", "_", $spectra_files_cond.spectra_files.element_identifier)}.$gxy2omsext($spectra_files_cond.spectra_files.ext)' |
4d189842ebfc
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 3d1e5f37fd16524a415f707772eeb7ead848c5e3
galaxyp
parents:
10
diff
changeset
|
53 #end if |
0
369f340978e4
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 9a14ed1f2d3c9abdfb080251b3419dd9e0c52a14
galaxyp
parents:
diff
changeset
|
54 -output_files |
12
4d189842ebfc
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 3d1e5f37fd16524a415f707772eeb7ead848c5e3
galaxyp
parents:
10
diff
changeset
|
55 ${' '.join(["'output_files/%s/%s.%s'"%(i, re.sub('[^\w\-_]', '_', f.element_identifier), $output_files_type) for i, f in enumerate($spectra_files_cond.spectra_files) if f])} |
8
28e96ae21a44
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
6
diff
changeset
|
56 -library_file |
28e96ae21a44
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
6
diff
changeset
|
57 'library_file/${re.sub("[^\w\-_]", "_", $library_file.element_identifier)}.$gxy2omsext($library_file.ext)' |
28e96ae21a44
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
6
diff
changeset
|
58 #if $sequence_database_file: |
28e96ae21a44
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
6
diff
changeset
|
59 -sequence_database_file |
28e96ae21a44
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
6
diff
changeset
|
60 'sequence_database_file/${re.sub("[^\w\-_]", "_", $sequence_database_file.element_identifier)}.$gxy2omsext($sequence_database_file.ext)' |
0
369f340978e4
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 9a14ed1f2d3c9abdfb080251b3419dd9e0c52a14
galaxyp
parents:
diff
changeset
|
61 #end if |
8
28e96ae21a44
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
6
diff
changeset
|
62 #if $search_file: |
28e96ae21a44
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
6
diff
changeset
|
63 -search_file |
28e96ae21a44
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
6
diff
changeset
|
64 'search_file/${re.sub("[^\w\-_]", "_", $search_file.element_identifier)}.$gxy2omsext($search_file.ext)' |
0
369f340978e4
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 9a14ed1f2d3c9abdfb080251b3419dd9e0c52a14
galaxyp
parents:
diff
changeset
|
65 #end if |
13
52dd59548339
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 5c080b1e2b99f1c88f4557e9fec8c45c9d23b906
galaxyp
parents:
12
diff
changeset
|
66 ## advanced options |
12
4d189842ebfc
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 3d1e5f37fd16524a415f707772eeb7ead848c5e3
galaxyp
parents:
10
diff
changeset
|
67 #if $adv_opts.user_mod_file: |
8
28e96ae21a44
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
6
diff
changeset
|
68 -user_mod_file |
12
4d189842ebfc
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 3d1e5f37fd16524a415f707772eeb7ead848c5e3
galaxyp
parents:
10
diff
changeset
|
69 'adv_opts.user_mod_file/${re.sub("[^\w\-_]", "_", $adv_opts.user_mod_file.element_identifier)}.$gxy2omsext($adv_opts.user_mod_file.ext)' |
0
369f340978e4
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 9a14ed1f2d3c9abdfb080251b3419dd9e0c52a14
galaxyp
parents:
diff
changeset
|
70 #end if |
8
28e96ae21a44
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
6
diff
changeset
|
71 |
13
52dd59548339
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 5c080b1e2b99f1c88f4557e9fec8c45c9d23b906
galaxyp
parents:
12
diff
changeset
|
72 |
8
28e96ae21a44
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
6
diff
changeset
|
73 ## Postprocessing |
12
4d189842ebfc
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 3d1e5f37fd16524a415f707772eeb7ead848c5e3
galaxyp
parents:
10
diff
changeset
|
74 ${' '.join(["&& mv -n 'output_files/%(bn)s/%(id)s.%(omsext)s' 'output_files/%(bn)s/%(id)s.%(gext)s'"%{"bn": i, "id": re.sub('[^\w\-_]', '_', f.element_identifier), "omsext":$output_files_type, "gext": $oms2gxyext(str($output_files_type))} for i, f in enumerate($spectra_files_cond.spectra_files) if f])} |
8
28e96ae21a44
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
6
diff
changeset
|
75 #if "ctd_out_FLAG" in $OPTIONAL_OUTPUTS |
28e96ae21a44
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
6
diff
changeset
|
76 && mv '@EXECUTABLE@.ctd' '$ctd_out' |
28e96ae21a44
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
6
diff
changeset
|
77 #end if]]></command> |
28e96ae21a44
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
6
diff
changeset
|
78 <configfiles> |
28e96ae21a44
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
6
diff
changeset
|
79 <inputs name="args_json" data_style="paths"/> |
28e96ae21a44
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
6
diff
changeset
|
80 <configfile name="hardcoded_json"><![CDATA[{"executable": "spectrast", "log": "log.txt", "threads": "\${GALAXY_SLOTS:-1}", "no_progress": true}]]></configfile> |
28e96ae21a44
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
6
diff
changeset
|
81 </configfiles> |
0
369f340978e4
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 9a14ed1f2d3c9abdfb080251b3419dd9e0c52a14
galaxyp
parents:
diff
changeset
|
82 <inputs> |
12
4d189842ebfc
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 3d1e5f37fd16524a415f707772eeb7ead848c5e3
galaxyp
parents:
10
diff
changeset
|
83 <conditional name="spectra_files_cond"> |
4d189842ebfc
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 3d1e5f37fd16524a415f707772eeb7ead848c5e3
galaxyp
parents:
10
diff
changeset
|
84 <param name="spectra_files_select" type="select" label="Run tool in batch mode for -spectra_files"> |
4d189842ebfc
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 3d1e5f37fd16524a415f707772eeb7ead848c5e3
galaxyp
parents:
10
diff
changeset
|
85 <option value="no">No: process all datasets jointly</option> |
4d189842ebfc
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 3d1e5f37fd16524a415f707772eeb7ead848c5e3
galaxyp
parents:
10
diff
changeset
|
86 <option value="yes">Yes: process each dataset in an independent job</option> |
4d189842ebfc
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 3d1e5f37fd16524a415f707772eeb7ead848c5e3
galaxyp
parents:
10
diff
changeset
|
87 </param> |
4d189842ebfc
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 3d1e5f37fd16524a415f707772eeb7ead848c5e3
galaxyp
parents:
10
diff
changeset
|
88 <when value="no"> |
13
52dd59548339
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 5c080b1e2b99f1c88f4557e9fec8c45c9d23b906
galaxyp
parents:
12
diff
changeset
|
89 <param argument="-spectra_files" type="data" format="dta,mgf,msp,mzdata,mzml,mzxml" multiple="true" label="File names(s) of spectra to be searched" help=" select dta,mgf,msp,mzdata,mzml,mzxml data sets(s)"/> |
12
4d189842ebfc
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 3d1e5f37fd16524a415f707772eeb7ead848c5e3
galaxyp
parents:
10
diff
changeset
|
90 </when> |
4d189842ebfc
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 3d1e5f37fd16524a415f707772eeb7ead848c5e3
galaxyp
parents:
10
diff
changeset
|
91 <when value="yes"> |
13
52dd59548339
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 5c080b1e2b99f1c88f4557e9fec8c45c9d23b906
galaxyp
parents:
12
diff
changeset
|
92 <param argument="-spectra_files" type="data" format="dta,mgf,msp,mzdata,mzml,mzxml" label="File names(s) of spectra to be searched" help=" select dta,mgf,msp,mzdata,mzml,mzxml data sets(s)"/> |
12
4d189842ebfc
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 3d1e5f37fd16524a415f707772eeb7ead848c5e3
galaxyp
parents:
10
diff
changeset
|
93 </when> |
4d189842ebfc
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 3d1e5f37fd16524a415f707772eeb7ead848c5e3
galaxyp
parents:
10
diff
changeset
|
94 </conditional> |
13
52dd59548339
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 5c080b1e2b99f1c88f4557e9fec8c45c9d23b906
galaxyp
parents:
12
diff
changeset
|
95 <param name="output_files_type" type="select" label="File type of output output_files (Output files. Make sure to specify one output file for each input file)"> |
8
28e96ae21a44
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
6
diff
changeset
|
96 <option value="txt">txt</option> |
28e96ae21a44
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
6
diff
changeset
|
97 <option value="tsv">tabular (tsv)</option> |
28e96ae21a44
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
6
diff
changeset
|
98 <option value="pep.xml">pepxml (pep.xml)</option> |
28e96ae21a44
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
6
diff
changeset
|
99 <option value="pepXML">pepxml</option> |
28e96ae21a44
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
6
diff
changeset
|
100 <option value="html">html</option> |
0
369f340978e4
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 9a14ed1f2d3c9abdfb080251b3419dd9e0c52a14
galaxyp
parents:
diff
changeset
|
101 </param> |
13
52dd59548339
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 5c080b1e2b99f1c88f4557e9fec8c45c9d23b906
galaxyp
parents:
12
diff
changeset
|
102 <param argument="-library_file" type="data" format="splib" label="Specify library file" help=" select splib data sets(s)"/> |
12
4d189842ebfc
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 3d1e5f37fd16524a415f707772eeb7ead848c5e3
galaxyp
parents:
10
diff
changeset
|
103 <param argument="-sequence_database_file" type="data" format="fasta" optional="true" label="The sequence database" help=" select fasta data sets(s)"/> |
13
52dd59548339
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 5c080b1e2b99f1c88f4557e9fec8c45c9d23b906
galaxyp
parents:
12
diff
changeset
|
104 <param argument="-sequence_database_type" type="select" label="Specify type of sequence database" help=""> |
0
369f340978e4
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 9a14ed1f2d3c9abdfb080251b3419dd9e0c52a14
galaxyp
parents:
diff
changeset
|
105 <option value="DNA">DNA</option> |
369f340978e4
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 9a14ed1f2d3c9abdfb080251b3419dd9e0c52a14
galaxyp
parents:
diff
changeset
|
106 <option value="AA" selected="true">AA</option> |
12
4d189842ebfc
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 3d1e5f37fd16524a415f707772eeb7ead848c5e3
galaxyp
parents:
10
diff
changeset
|
107 <expand macro="list_string_san" name="sequence_database_type"/> |
0
369f340978e4
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 9a14ed1f2d3c9abdfb080251b3419dd9e0c52a14
galaxyp
parents:
diff
changeset
|
108 </param> |
12
4d189842ebfc
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 3d1e5f37fd16524a415f707772eeb7ead848c5e3
galaxyp
parents:
10
diff
changeset
|
109 <param argument="-search_file" type="data" format="txt" optional="true" label="Only search a subset of the query spectra in the search file" help=" select txt data sets(s)"/> |
13
52dd59548339
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 5c080b1e2b99f1c88f4557e9fec8c45c9d23b906
galaxyp
parents:
12
diff
changeset
|
110 <param argument="-precursor_mz_tolerance" type="float" min="0.0" value="3.0" label="m/z (in Th) tolerance within which candidate entries are compared to the query" help="Monoisotopic mass is assumed"/> |
8
28e96ae21a44
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
6
diff
changeset
|
111 <expand macro="adv_opts_macro"> |
12
4d189842ebfc
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 3d1e5f37fd16524a415f707772eeb7ead848c5e3
galaxyp
parents:
10
diff
changeset
|
112 <param argument="-use_isotopically_averaged_mass" type="boolean" truevalue="true" falsevalue="false" checked="false" label="Use isotopically averaged mass instead of monoisotopic mass" help=""/> |
4d189842ebfc
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 3d1e5f37fd16524a415f707772eeb7ead848c5e3
galaxyp
parents:
10
diff
changeset
|
113 <param argument="-use_all_charge_states" type="boolean" truevalue="true" falsevalue="false" checked="false" label="Search library spectra of all charge states" help="i.e., ignore specified charge state (if any) of the query spectrum"/> |
4d189842ebfc
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 3d1e5f37fd16524a415f707772eeb7ead848c5e3
galaxyp
parents:
10
diff
changeset
|
114 <param argument="-user_mod_file" type="data" format="txt" optional="true" label="Specify name of user-defined modifications file" help="Default is "spectrast.usermods" select txt data sets(s)"/> |
4d189842ebfc
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 3d1e5f37fd16524a415f707772eeb7ead848c5e3
galaxyp
parents:
10
diff
changeset
|
115 <param argument="-force" type="boolean" truevalue="true" falsevalue="false" checked="false" label="Overrides tool-specific checks" help=""/> |
13
52dd59548339
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 5c080b1e2b99f1c88f4557e9fec8c45c9d23b906
galaxyp
parents:
12
diff
changeset
|
116 <param argument="-test" type="hidden" value="False" label="Enables the test mode (needed for internal use only)" help="" optional="true"> |
12
4d189842ebfc
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 3d1e5f37fd16524a415f707772eeb7ead848c5e3
galaxyp
parents:
10
diff
changeset
|
117 <expand macro="list_string_san" name="test"/> |
8
28e96ae21a44
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
6
diff
changeset
|
118 </param> |
0
369f340978e4
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 9a14ed1f2d3c9abdfb080251b3419dd9e0c52a14
galaxyp
parents:
diff
changeset
|
119 </expand> |
10
27ddea86fe90
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 55a2aeba8bfd8a6910630721de9857dcdfe05d3c"
galaxyp
parents:
8
diff
changeset
|
120 <param name="OPTIONAL_OUTPUTS" type="select" optional="true" multiple="true" label="Optional outputs"> |
8
28e96ae21a44
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
6
diff
changeset
|
121 <option value="ctd_out_FLAG">Output used ctd (ini) configuration file</option> |
28e96ae21a44
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
6
diff
changeset
|
122 </param> |
0
369f340978e4
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 9a14ed1f2d3c9abdfb080251b3419dd9e0c52a14
galaxyp
parents:
diff
changeset
|
123 </inputs> |
369f340978e4
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 9a14ed1f2d3c9abdfb080251b3419dd9e0c52a14
galaxyp
parents:
diff
changeset
|
124 <outputs> |
8
28e96ae21a44
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
6
diff
changeset
|
125 <collection type="list" name="output_files" label="${tool.name} on ${on_string}: output_files"> |
12
4d189842ebfc
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 3d1e5f37fd16524a415f707772eeb7ead848c5e3
galaxyp
parents:
10
diff
changeset
|
126 <discover_datasets directory="output_files" recurse="true" pattern="__name_and_ext__"/> |
8
28e96ae21a44
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
6
diff
changeset
|
127 </collection> |
28e96ae21a44
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
6
diff
changeset
|
128 <data name="ctd_out" format="xml" label="${tool.name} on ${on_string}: ctd"> |
28e96ae21a44
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
6
diff
changeset
|
129 <filter>OPTIONAL_OUTPUTS is not None and "ctd_out_FLAG" in OPTIONAL_OUTPUTS</filter> |
28e96ae21a44
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
6
diff
changeset
|
130 </data> |
0
369f340978e4
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 9a14ed1f2d3c9abdfb080251b3419dd9e0c52a14
galaxyp
parents:
diff
changeset
|
131 </outputs> |
13
52dd59548339
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 5c080b1e2b99f1c88f4557e9fec8c45c9d23b906
galaxyp
parents:
12
diff
changeset
|
132 <tests> |
52dd59548339
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 5c080b1e2b99f1c88f4557e9fec8c45c9d23b906
galaxyp
parents:
12
diff
changeset
|
133 <!-- TOPP_SpectrastSearchAdapter_1 --> |
12
4d189842ebfc
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 3d1e5f37fd16524a415f707772eeb7ead848c5e3
galaxyp
parents:
10
diff
changeset
|
134 <!-- TOPP_SpectrastSearchAdapter_2 --> |
8
28e96ae21a44
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
6
diff
changeset
|
135 </tests> |
28e96ae21a44
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
6
diff
changeset
|
136 <help><![CDATA[Interface to the SEARCH Mode of the SpectraST executable |
0
369f340978e4
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 9a14ed1f2d3c9abdfb080251b3419dd9e0c52a14
galaxyp
parents:
diff
changeset
|
137 |
369f340978e4
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 9a14ed1f2d3c9abdfb080251b3419dd9e0c52a14
galaxyp
parents:
diff
changeset
|
138 |
13
52dd59548339
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 5c080b1e2b99f1c88f4557e9fec8c45c9d23b906
galaxyp
parents:
12
diff
changeset
|
139 For more information, visit https://openms.de/doxygen/release/3.1.0/html/TOPP_SpectraSTSearchAdapter.html]]></help> |
8
28e96ae21a44
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents:
6
diff
changeset
|
140 <expand macro="references"/> |
0
369f340978e4
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 9a14ed1f2d3c9abdfb080251b3419dd9e0c52a14
galaxyp
parents:
diff
changeset
|
141 </tool> |