Mercurial > repos > galaxyp > openms_clustermasstracesbyprecursor
comparison ClusterMassTracesByPrecursor.xml @ 0:f0682a468daa draft
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit ddf41e8bda1ba065f5cdec98e93dee8165ffc1b9"
author | galaxyp |
---|---|
date | Thu, 27 Aug 2020 19:37:26 -0400 |
parents | |
children | e58e7a1ce396 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:f0682a468daa |
---|---|
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="ClusterMassTracesByPrecursor" name="ClusterMassTracesByPrecursor" version="@TOOL_VERSION@+galaxy@GALAXY_VERSION@" profile="20.05"> | |
5 <description>Correlate precursor masstraces with fragment ion masstraces in SWATH maps based on their elution profile.</description> | |
6 <macros> | |
7 <token name="@EXECUTABLE@">ClusterMassTracesByPrecursor</token> | |
8 <import>macros.xml</import> | |
9 <import>macros_autotest.xml</import> | |
10 <import>macros_test.xml</import> | |
11 </macros> | |
12 <expand macro="requirements"/> | |
13 <expand macro="stdio"/> | |
14 <command detect_errors="exit_code"><![CDATA[@QUOTE_FOO@ | |
15 @EXT_FOO@ | |
16 #import re | |
17 | |
18 ## Preprocessing | |
19 mkdir in_ms1 && | |
20 ln -s '$in_ms1' 'in_ms1/${re.sub("[^\w\-_]", "_", $in_ms1.element_identifier)}.$gxy2omsext($in_ms1.ext)' && | |
21 mkdir in_swath && | |
22 ln -s '$in_swath' 'in_swath/${re.sub("[^\w\-_]", "_", $in_swath.element_identifier)}.$gxy2omsext($in_swath.ext)' && | |
23 mkdir out && | |
24 | |
25 ## Main program call | |
26 | |
27 set -o pipefail && | |
28 @EXECUTABLE@ -write_ctd ./ && | |
29 python3 '$__tool_directory__/fill_ctd.py' '@EXECUTABLE@.ctd' '$args_json' '$hardcoded_json' && | |
30 @EXECUTABLE@ -ini @EXECUTABLE@.ctd | |
31 -in_ms1 | |
32 'in_ms1/${re.sub("[^\w\-_]", "_", $in_ms1.element_identifier)}.$gxy2omsext($in_ms1.ext)' | |
33 -in_swath | |
34 'in_swath/${re.sub("[^\w\-_]", "_", $in_swath.element_identifier)}.$gxy2omsext($in_swath.ext)' | |
35 -out | |
36 'out/output.${gxy2omsext("mzml")}' | |
37 | |
38 ## Postprocessing | |
39 && mv 'out/output.${gxy2omsext("mzml")}' '$out' | |
40 #if "ctd_out_FLAG" in $OPTIONAL_OUTPUTS | |
41 && mv '@EXECUTABLE@.ctd' '$ctd_out' | |
42 #end if]]></command> | |
43 <configfiles> | |
44 <inputs name="args_json" data_style="paths"/> | |
45 <configfile name="hardcoded_json"><![CDATA[{"log": "log.txt", "threads": "\${GALAXY_SLOTS:-1}", "no_progress": true}]]></configfile> | |
46 </configfiles> | |
47 <inputs> | |
48 <param name="in_ms1" argument="-in_ms1" type="data" format="consensusxml" optional="false" label="MS1 mass traces" help=" select consensusxml data sets(s)"/> | |
49 <param name="in_swath" argument="-in_swath" type="data" format="consensusxml" optional="false" label="MS2 / SWATH mass traces" help=" select consensusxml data sets(s)"/> | |
50 <param name="assign_unassigned_to_all" argument="-assign_unassigned_to_all" type="boolean" truevalue="true" falsevalue="false" checked="false" label="Assign unassigned MS2 fragments to all precursors (only for ms1_centrif)" help=""/> | |
51 <param name="min_pearson_correlation" argument="-min_pearson_correlation" type="float" optional="true" value="0.7" label="Minimal pearson correlation score to match elution profiles to each othe" help=""/> | |
52 <param name="max_lag" argument="-max_lag" type="integer" optional="true" value="1" label="Maximal lag" help="(e.g. by how many spectra the peak may be shifted at most). This parameter will depend on your chromatographic setup but a number between 1 and 3 is usually sensible"/> | |
53 <param name="min_nr_ions" argument="-min_nr_ions" type="integer" optional="true" value="3" label="Minimal number of ions to report a spectrum" help=""/> | |
54 <param name="max_rt_apex_difference" argument="-max_rt_apex_difference" type="float" optional="true" value="5.0" label="Maximal difference of the apex in retention time (in seconds)" help="This is a hard parameter, all profiles further away will not be considered at all"/> | |
55 <param name="swath_lower" argument="-swath_lower" type="float" optional="true" value="0.0" label="Swath lower isolation window" help=""/> | |
56 <param name="swath_upper" argument="-swath_upper" type="float" optional="true" value="0.0" label="Swath upper isolation window" help=""/> | |
57 <expand macro="adv_opts_macro"> | |
58 <param name="force" argument="-force" type="boolean" truevalue="true" falsevalue="false" checked="false" label="Overwrite tool specific checks" help=""/> | |
59 <param name="test" argument="-test" type="hidden" optional="true" value="False" label="Enables the test mode (needed for internal use only)" help=""> | |
60 <expand macro="list_string_san"/> | |
61 </param> | |
62 </expand> | |
63 <param name="OPTIONAL_OUTPUTS" type="select" multiple="true" label="Optional outputs" optional="true"> | |
64 <option value="ctd_out_FLAG">Output used ctd (ini) configuration file</option> | |
65 </param> | |
66 </inputs> | |
67 <outputs> | |
68 <data name="out" label="${tool.name} on ${on_string}: out" format="mzml"/> | |
69 <data name="ctd_out" format="xml" label="${tool.name} on ${on_string}: ctd"> | |
70 <filter>OPTIONAL_OUTPUTS is not None and "ctd_out_FLAG" in OPTIONAL_OUTPUTS</filter> | |
71 </data> | |
72 </outputs> | |
73 <tests> | |
74 <expand macro="autotest_ClusterMassTracesByPrecursor"/> | |
75 <expand macro="manutest_ClusterMassTracesByPrecursor"/> | |
76 </tests> | |
77 <help><![CDATA[Correlate precursor masstraces with fragment ion masstraces in SWATH maps based on their elution profile.]]></help> | |
78 <expand macro="references"/> | |
79 </tool> |