comparison IDConflictResolver.xml @ 13:fff6bebbf7dc draft

"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit ddf41e8bda1ba065f5cdec98e93dee8165ffc1b9"
author galaxyp
date Thu, 27 Aug 2020 22:35:31 +0000
parents f50773ab01f1
children 1b6e681b91f6
comparison
equal deleted inserted replaced
12:f50773ab01f1 13:fff6bebbf7dc
1 <?xml version='1.0' encoding='UTF-8'?> 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.--> 2 <!--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: [ID Processing]--> 3 <!--Proposed Tool Section: [ID Processing]-->
4 <tool id="IDConflictResolver" name="IDConflictResolver" version="2.3.0"> 4 <tool id="IDConflictResolver" name="IDConflictResolver" version="@TOOL_VERSION@+galaxy@GALAXY_VERSION@" profile="20.05">
5 <description>Resolves ambiguous annotations of features with peptide identifications</description> 5 <description>Resolves ambiguous annotations of features with peptide identifications</description>
6 <macros> 6 <macros>
7 <token name="@EXECUTABLE@">IDConflictResolver</token> 7 <token name="@EXECUTABLE@">IDConflictResolver</token>
8 <import>macros.xml</import> 8 <import>macros.xml</import>
9 <import>macros_autotest.xml</import>
10 <import>macros_test.xml</import>
9 </macros> 11 </macros>
10 <expand macro="references"/> 12 <expand macro="requirements"/>
11 <expand macro="stdio"/> 13 <expand macro="stdio"/>
12 <expand macro="requirements"/> 14 <command detect_errors="exit_code"><![CDATA[@QUOTE_FOO@
13 <command detect_errors="aggressive"><![CDATA[IDConflictResolver 15 @EXT_FOO@
16 #import re
14 17
15 #if $param_in: 18 ## Preprocessing
16 -in $param_in 19 mkdir in &&
17 #end if 20 ln -s '$in' 'in/${re.sub("[^\w\-_]", "_", $in.element_identifier)}.$gxy2omsext($in.ext)' &&
18 #if $param_out: 21 mkdir out &&
19 -out $param_out 22
20 #end if 23 ## Main program call
21 #if $adv_opts.adv_opts_selector=='advanced': 24
22 #if $adv_opts.param_force: 25 set -o pipefail &&
23 -force 26 @EXECUTABLE@ -write_ctd ./ &&
24 #end if 27 python3 '$__tool_directory__/fill_ctd.py' '@EXECUTABLE@.ctd' '$args_json' '$hardcoded_json' &&
25 #end if 28 @EXECUTABLE@ -ini @EXECUTABLE@.ctd
26 ]]></command> 29 -in
30 'in/${re.sub("[^\w\-_]", "_", $in.element_identifier)}.$gxy2omsext($in.ext)'
31 -out
32 'out/output.${in.ext}'
33
34 ## Postprocessing
35 && mv 'out/output.${in.ext}' '$out'
36 #if "ctd_out_FLAG" in $OPTIONAL_OUTPUTS
37 && mv '@EXECUTABLE@.ctd' '$ctd_out'
38 #end if]]></command>
39 <configfiles>
40 <inputs name="args_json" data_style="paths"/>
41 <configfile name="hardcoded_json"><![CDATA[{"log": "log.txt", "threads": "\${GALAXY_SLOTS:-1}", "no_progress": true}]]></configfile>
42 </configfiles>
27 <inputs> 43 <inputs>
28 <param name="param_in" type="data" format="featurexml,consensusxml" optional="False" label="Input file (data annotated with identifications)" help="(-in) "/> 44 <param name="in" argument="-in" type="data" format="consensusxml,featurexml" optional="false" label="Input file (data annotated with identifications)" help=" select consensusxml,featurexml data sets(s)"/>
29 <expand macro="advanced_options"> 45 <param name="resolve_between_features" argument="-resolve_between_features" display="radio" type="select" optional="false" label="A map may contain multiple features with both identical (possibly modified" help="i.e. not stripped) sequence and charge state. The feature with the 'highest intensity' is very likely the most reliable one. When switched on, the filter removes the sequence annotation from the lower intensity features, thereby resolving the multiplicity. Only the most reliable features for each (possibly modified i.e. not stripped) sequence maintain annotated with this peptide sequence">
30 <param name="param_force" display="radio" type="boolean" truevalue="-force" falsevalue="" checked="false" optional="True" label="Overwrite tool specific checks" help="(-force) "/> 46 <option value="off" selected="true">off</option>
47 <option value="highest_intensity">highest_intensity</option>
48 <expand macro="list_string_san"/>
49 </param>
50 <expand macro="adv_opts_macro">
51 <param name="force" argument="-force" type="boolean" truevalue="true" falsevalue="false" checked="false" label="Overwrite tool specific checks" help=""/>
52 <param name="test" argument="-test" type="hidden" optional="true" value="False" label="Enables the test mode (needed for internal use only)" help="">
53 <expand macro="list_string_san"/>
54 </param>
31 </expand> 55 </expand>
56 <param name="OPTIONAL_OUTPUTS" type="select" multiple="true" label="Optional outputs" optional="true">
57 <option value="ctd_out_FLAG">Output used ctd (ini) configuration file</option>
58 </param>
32 </inputs> 59 </inputs>
33 <outputs> 60 <outputs>
34 <data name="param_out" metadata_source="param_in" format="input"/> 61 <data name="out" label="${tool.name} on ${on_string}: out" format_source="in" metadata_source="in"/>
62 <data name="ctd_out" format="xml" label="${tool.name} on ${on_string}: ctd">
63 <filter>OPTIONAL_OUTPUTS is not None and "ctd_out_FLAG" in OPTIONAL_OUTPUTS</filter>
64 </data>
35 </outputs> 65 </outputs>
36 <help>Resolves ambiguous annotations of features with peptide identifications 66 <tests>
67 <expand macro="autotest_IDConflictResolver"/>
68 <expand macro="manutest_IDConflictResolver"/>
69 </tests>
70 <help><![CDATA[Resolves ambiguous annotations of features with peptide identifications
37 71
38 72
39 For more information, visit https://abibuilder.informatik.uni-tuebingen.de/archive/openms/Documentation/release/2.3.0/html/TOPP_IDConflictResolver.html</help> 73 For more information, visit http://www.openms.de/documentation/TOPP_IDConflictResolver.html]]></help>
74 <expand macro="references"/>
40 </tool> 75 </tool>