comparison IDSplitter.xml @ 14:ae90bc9b7936 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:39:18 +0000
parents 64e35457d86e
children
comparison
equal deleted inserted replaced
13:64e35457d86e 14:ae90bc9b7936
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: [File Filtering / Extraction / Merging]-->
4 <tool id="IDSplitter" name="IDSplitter" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="21.05"> 3 <tool id="IDSplitter" name="IDSplitter" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="21.05">
5 <description>Splits protein/peptide identifications off of annotated data files</description> 4 <description>Splits protein/peptide identifications off of annotated data files</description>
6 <macros> 5 <macros>
7 <token name="@EXECUTABLE@">IDSplitter</token> 6 <token name="@EXECUTABLE@">IDSplitter</token>
8 <import>macros.xml</import> 7 <import>macros.xml</import>
13 @EXT_FOO@ 12 @EXT_FOO@
14 #import re 13 #import re
15 14
16 ## Preprocessing 15 ## Preprocessing
17 mkdir in && 16 mkdir in &&
18 ln -s '$in' 'in/${re.sub("[^\w\-_]", "_", $in.element_identifier)}.$gxy2omsext($in.ext)' && 17 cp '$in' 'in/${re.sub("[^\w\-_]", "_", $in.element_identifier)}.$gxy2omsext($in.ext)' &&
19 #if "out_FLAG" in str($OPTIONAL_OUTPUTS).split(',') 18 #if "out_FLAG" in str($OPTIONAL_OUTPUTS).split(',')
20 mkdir out && 19 mkdir out &&
21 #end if 20 #end if
22 #if "id_out_FLAG" in str($OPTIONAL_OUTPUTS).split(',') 21 #if "id_out_FLAG" in str($OPTIONAL_OUTPUTS).split(',')
23 mkdir id_out && 22 mkdir id_out &&
56 <configfiles> 55 <configfiles>
57 <inputs name="args_json" data_style="paths"/> 56 <inputs name="args_json" data_style="paths"/>
58 <configfile name="hardcoded_json"><![CDATA[{"log": "log.txt", "threads": "\${GALAXY_SLOTS:-1}", "no_progress": true}]]></configfile> 57 <configfile name="hardcoded_json"><![CDATA[{"log": "log.txt", "threads": "\${GALAXY_SLOTS:-1}", "no_progress": true}]]></configfile>
59 </configfiles> 58 </configfiles>
60 <inputs> 59 <inputs>
61 <param argument="-in" type="data" format="consensusxml,featurexml,mzml" optional="false" label="Input file (data annotated with identifications)" help=" select consensusxml,featurexml,mzml data sets(s)"/> 60 <param argument="-in" type="data" format="consensusxml,featurexml,mzml" label="Input file (data annotated with identifications)" help=" select consensusxml,featurexml,mzml data sets(s)"/>
62 <expand macro="adv_opts_macro"> 61 <expand macro="adv_opts_macro">
63 <param argument="-force" type="boolean" truevalue="true" falsevalue="false" checked="false" label="Overrides tool-specific checks" help=""/> 62 <param argument="-force" type="boolean" truevalue="true" falsevalue="false" checked="false" label="Overrides tool-specific checks" help=""/>
64 <param argument="-test" type="hidden" optional="true" value="False" label="Enables the test mode (needed for internal use only)" help=""> 63 <param argument="-test" type="hidden" value="False" label="Enables the test mode (needed for internal use only)" help="" optional="true">
65 <expand macro="list_string_san" name="test"/> 64 <expand macro="list_string_san" name="test"/>
66 </param> 65 </param>
67 </expand> 66 </expand>
68 <param name="OPTIONAL_OUTPUTS" type="select" optional="true" multiple="true" label="Optional outputs"> 67 <param name="OPTIONAL_OUTPUTS" type="select" optional="true" multiple="true" label="Optional outputs">
69 <option value="out_FLAG">out (Output file (data without identifications))</option> 68 <option value="out_FLAG">out (Output file (data without identifications))</option>
83 </data> 82 </data>
84 <data name="ctd_out" format="xml" label="${tool.name} on ${on_string}: ctd"> 83 <data name="ctd_out" format="xml" label="${tool.name} on ${on_string}: ctd">
85 <filter>OPTIONAL_OUTPUTS is not None and "ctd_out_FLAG" in OPTIONAL_OUTPUTS</filter> 84 <filter>OPTIONAL_OUTPUTS is not None and "ctd_out_FLAG" in OPTIONAL_OUTPUTS</filter>
86 </data> 85 </data>
87 </outputs> 86 </outputs>
88 <tests><!-- UTILS_IDSplitter_1 --> 87 <tests>
88 <!-- TOPP_IDSplitter_1 -->
89 <test expect_num_outputs="3"> 89 <test expect_num_outputs="3">
90 <section name="adv_opts"> 90 <section name="adv_opts">
91 <param name="force" value="false"/> 91 <param name="force" value="false"/>
92 <param name="test" value="true"/> 92 <param name="test" value="true"/>
93 </section> 93 </section>
94 <param name="in" value="IDMapper_1_output.featureXML"/> 94 <param name="in" value="IDMapper_1_output.featureXML"/>
95 <output name="out" file="IDSplitter_1_output.featureXML" compare="sim_size" delta_frac="0.7" ftype="featurexml"/> 95 <output name="out" value="IDSplitter_1_output.featureXML" compare="sim_size" delta_frac="0.7" ftype="featurexml"/>
96 <output name="id_out" file="IDSplitter_1_output.idXML" compare="sim_size" delta_frac="0.7" ftype="idxml"/> 96 <output name="id_out" value="IDSplitter_1_output.idXML" compare="sim_size" delta_frac="0.7" ftype="idxml"/>
97 <param name="OPTIONAL_OUTPUTS" value="ctd_out_FLAG,out_FLAG,id_out_FLAG"/> 97 <param name="OPTIONAL_OUTPUTS" value="ctd_out_FLAG,out_FLAG,id_out_FLAG"/>
98 <output name="ctd_out" ftype="xml"> 98 <output name="ctd_out" ftype="xml">
99 <assert_contents> 99 <assert_contents>
100 <is_valid_xml/> 100 <is_valid_xml/>
101 </assert_contents> 101 </assert_contents>
102 </output> 102 </output>
103 <assert_stdout>
104 <has_text_matching expression="@EXECUTABLE@ took .* \(wall\), .* \(CPU\), .* \(system\), .* \(user\)(; Peak Memory Usage: 32 MB)?."/>
105 </assert_stdout>
103 </test> 106 </test>
104 </tests> 107 </tests>
105 <help><![CDATA[Splits protein/peptide identifications off of annotated data files 108 <help><![CDATA[Splits protein/peptide identifications off of annotated data files
106 109
107 110
108 For more information, visit http://www.openms.de/doxygen/release/2.8.0/html/UTILS_IDSplitter.html]]></help> 111 For more information, visit https://openms.de/doxygen/release/3.1.0/html/TOPP_IDSplitter.html]]></help>
109 <expand macro="references"/> 112 <expand macro="references"/>
110 </tool> 113 </tool>