comparison 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
comparison
equal deleted inserted replaced
13:da1fa8ce2d96 14:5b237d23cb7d
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.--> 1 <!--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]--> 2 <!--Proposed Tool Section: [Identification Processing]-->
4 <tool id="SpecLibCreator" name="SpecLibCreator" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="21.05"> 3 <tool id="SpecLibCreator" name="SpecLibCreator" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="21.05">
5 <description>Creates an MSP formatted spectral library.</description> 4 <description>Creates an MSP formatted spectral library</description>
6 <macros> 5 <macros>
7 <token name="@EXECUTABLE@">SpecLibCreator</token> 6 <token name="@EXECUTABLE@">SpecLibCreator</token>
8 <import>macros.xml</import> 7 <import>macros.xml</import>
9 </macros> 8 </macros>
10 <expand macro="requirements"/> 9 <expand macro="requirements"/>
13 @EXT_FOO@ 12 @EXT_FOO@
14 #import re 13 #import re
15 14
16 ## Preprocessing 15 ## Preprocessing
17 mkdir info && 16 mkdir info &&
18 ln -s '$info' 'info/${re.sub("[^\w\-_]", "_", $info.element_identifier)}.$gxy2omsext($info.ext)' && 17 cp '$info' 'info/${re.sub("[^\w\-_]", "_", $info.element_identifier)}.$gxy2omsext($info.ext)' &&
19 mkdir spec && 18 mkdir spec &&
20 ln -s '$spec' 'spec/${re.sub("[^\w\-_]", "_", $spec.element_identifier)}.$gxy2omsext($spec.ext)' && 19 cp '$spec' 'spec/${re.sub("[^\w\-_]", "_", $spec.element_identifier)}.$gxy2omsext($spec.ext)' &&
21 mkdir out && 20 mkdir out &&
22 21
23 ## Main program call 22 ## Main program call
24 23
25 set -o pipefail && 24 set -o pipefail &&
41 <configfiles> 40 <configfiles>
42 <inputs name="args_json" data_style="paths"/> 41 <inputs name="args_json" data_style="paths"/>
43 <configfile name="hardcoded_json"><![CDATA[{"log": "log.txt", "threads": "\${GALAXY_SLOTS:-1}", "no_progress": true}]]></configfile> 42 <configfile name="hardcoded_json"><![CDATA[{"log": "log.txt", "threads": "\${GALAXY_SLOTS:-1}", "no_progress": true}]]></configfile>
44 </configfiles> 43 </configfiles>
45 <inputs> 44 <inputs>
46 <param argument="-info" type="data" format="csv" optional="false" label="Holds id, peptide, retention time etc" help=" select csv data sets(s)"/> 45 <param argument="-info" type="data" format="csv" label="Holds id, peptide, retention time etc" help=" select csv data sets(s)"/>
47 <param argument="-itemseperator" type="text" optional="true" value="," label=" Separator between items. e.g. ," help=""> 46 <param argument="-itemseperator" type="text" value="," label=" Separator between items. e.g. ," help="">
48 <expand macro="list_string_san" name="itemseperator"/> 47 <expand macro="list_string_san" name="itemseperator"/>
49 </param> 48 </param>
50 <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$"/> 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$"/>
51 <param argument="-spec" type="data" format="mzdata,mzxml" optional="false" label="spectra" help=" select mzdata,mzxml data sets(s)"/> 50 <param argument="-spec" type="data" format="mzdata,mzxml" label="spectra" help=" select mzdata,mzxml data sets(s)"/>
52 <expand macro="adv_opts_macro"> 51 <expand macro="adv_opts_macro">
53 <param argument="-force" type="boolean" truevalue="true" falsevalue="false" checked="false" label="Overrides tool-specific checks" help=""/> 52 <param argument="-force" type="boolean" truevalue="true" falsevalue="false" checked="false" label="Overrides tool-specific checks" help=""/>
54 <param argument="-test" type="hidden" optional="true" value="False" label="Enables the test mode (needed for internal use only)" help=""> 53 <param argument="-test" type="hidden" value="False" label="Enables the test mode (needed for internal use only)" help="" optional="true">
55 <expand macro="list_string_san" name="test"/> 54 <expand macro="list_string_san" name="test"/>
56 </param> 55 </param>
57 </expand> 56 </expand>
58 <param name="OPTIONAL_OUTPUTS" type="select" optional="true" multiple="true" label="Optional outputs"> 57 <param name="OPTIONAL_OUTPUTS" type="select" optional="true" multiple="true" label="Optional outputs">
59 <option value="ctd_out_FLAG">Output used ctd (ini) configuration file</option> 58 <option value="ctd_out_FLAG">Output used ctd (ini) configuration file</option>
63 <data name="out" label="${tool.name} on ${on_string}: out" format="msp"/> 62 <data name="out" label="${tool.name} on ${on_string}: out" format="msp"/>
64 <data name="ctd_out" format="xml" label="${tool.name} on ${on_string}: ctd"> 63 <data name="ctd_out" format="xml" label="${tool.name} on ${on_string}: ctd">
65 <filter>OPTIONAL_OUTPUTS is not None and "ctd_out_FLAG" in OPTIONAL_OUTPUTS</filter> 64 <filter>OPTIONAL_OUTPUTS is not None and "ctd_out_FLAG" in OPTIONAL_OUTPUTS</filter>
66 </data> 65 </data>
67 </outputs> 66 </outputs>
68 <tests><!--TODO could not find test data --> 67 <tests>
69 </tests> 68 <!--TODO could not find test data -->
69 </tests>
70 <help><![CDATA[Creates an MSP formatted spectral library. 70 <help><![CDATA[Creates an MSP formatted spectral library.
71 71
72 72
73 For more information, visit http://www.openms.de/doxygen/release/2.8.0/html/UTILS_SpecLibCreator.html]]></help> 73 For more information, visit https://openms.de/doxygen/release/3.1.0/html/TOPP_SpecLibCreator.html]]></help>
74 <expand macro="references"/> 74 <expand macro="references"/>
75 </tool> 75 </tool>