Mercurial > repos > galaxyp > openms_openmsdatabasesinfo
comparison OpenMSDatabasesInfo.xml @ 0:a7ff1eeba91f draft
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 3d1e5f37fd16524a415f707772eeb7ead848c5e3
author | galaxyp |
---|---|
date | Thu, 01 Dec 2022 19:23:33 +0000 |
parents | |
children | ea9291282c0f |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:a7ff1eeba91f |
---|---|
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.--> | |
3 <!--Proposed Tool Section: [Utilities]--> | |
4 <tool id="OpenMSDatabasesInfo" name="OpenMSDatabasesInfo" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="21.05"> | |
5 <description>Prints the content of OpenMS' enzyme and modification databases to TSV</description> | |
6 <macros> | |
7 <token name="@EXECUTABLE@">OpenMSDatabasesInfo</token> | |
8 <import>macros.xml</import> | |
9 </macros> | |
10 <expand macro="requirements"/> | |
11 <expand macro="stdio"/> | |
12 <command detect_errors="exit_code"><![CDATA[@QUOTE_FOO@ | |
13 @EXT_FOO@ | |
14 #import re | |
15 | |
16 ## Preprocessing | |
17 mkdir enzymes_out && | |
18 mkdir mods_out && | |
19 | |
20 ## Main program call | |
21 | |
22 set -o pipefail && | |
23 @EXECUTABLE@ -write_ctd ./ && | |
24 python3 '$__tool_directory__/fill_ctd.py' '@EXECUTABLE@.ctd' '$args_json' '$hardcoded_json' && | |
25 @EXECUTABLE@ -ini @EXECUTABLE@.ctd | |
26 -enzymes_out | |
27 'enzymes_out/output.${gxy2omsext("tabular")}' | |
28 -mods_out | |
29 'mods_out/output.${gxy2omsext("tabular")}' | |
30 | |
31 ## Postprocessing | |
32 && mv 'enzymes_out/output.${gxy2omsext("tabular")}' '$enzymes_out' | |
33 && mv 'mods_out/output.${gxy2omsext("tabular")}' '$mods_out' | |
34 #if "ctd_out_FLAG" in $OPTIONAL_OUTPUTS | |
35 && mv '@EXECUTABLE@.ctd' '$ctd_out' | |
36 #end if]]></command> | |
37 <configfiles> | |
38 <inputs name="args_json" data_style="paths"/> | |
39 <configfile name="hardcoded_json"><![CDATA[{"log": "log.txt", "threads": "\${GALAXY_SLOTS:-1}", "no_progress": true}]]></configfile> | |
40 </configfiles> | |
41 <inputs> | |
42 <expand macro="adv_opts_macro"> | |
43 <param argument="-force" type="boolean" truevalue="true" falsevalue="false" checked="false" label="Overrides tool-specific checks" help=""/> | |
44 <param argument="-test" type="hidden" optional="true" value="False" label="Enables the test mode (needed for internal use only)" help=""> | |
45 <expand macro="list_string_san" name="test"/> | |
46 </param> | |
47 </expand> | |
48 <param name="OPTIONAL_OUTPUTS" type="select" optional="true" multiple="true" label="Optional outputs"> | |
49 <option value="ctd_out_FLAG">Output used ctd (ini) configuration file</option> | |
50 </param> | |
51 </inputs> | |
52 <outputs> | |
53 <data name="enzymes_out" label="${tool.name} on ${on_string}: enzymes_out" format="tabular"/> | |
54 <data name="mods_out" label="${tool.name} on ${on_string}: mods_out" format="tabular"/> | |
55 <data name="ctd_out" format="xml" label="${tool.name} on ${on_string}: ctd"> | |
56 <filter>OPTIONAL_OUTPUTS is not None and "ctd_out_FLAG" in OPTIONAL_OUTPUTS</filter> | |
57 </data> | |
58 </outputs> | |
59 <tests/> | |
60 <help><![CDATA[Prints the content of OpenMS' enzyme and modification databases to TSV | |
61 | |
62 | |
63 For more information, visit http://www.openms.de/doxygen/release/2.8.0/html/UTILS_OpenMSDatabasesInfo.html]]></help> | |
64 <expand macro="references"/> | |
65 </tool> |