diff EICExtractor.xml @ 16:c0f39306c687 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:40:11 +0000
parents f253d41d9170
children
line wrap: on
line diff
--- a/EICExtractor.xml	Thu Dec 01 19:23:24 2022 +0000
+++ b/EICExtractor.xml	Fri Jun 14 21:40:11 2024 +0000
@@ -1,4 +1,3 @@
-<?xml version='1.0' encoding='UTF-8'?>
 <!--This is a configuration file for the integration of a tools into Galaxy (https://galaxyproject.org/). This file was automatically generated using CTDConverter.-->
 <!--Proposed Tool Section: [Quantitation]-->
 <tool id="EICExtractor" name="EICExtractor" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="21.05">
@@ -17,21 +16,21 @@
 mkdir in_cond.in &&
 #if $in_cond.in_select == "no"
 mkdir ${' '.join(["'in_cond.in/%s'" % (i) for i, f in enumerate($in_cond.in) if f])} && 
-${' '.join(["ln -s '%s' 'in_cond.in/%s/%s.%s' && " % (f, i, re.sub('[^\w\-_]', '_', f.element_identifier), $gxy2omsext(f.ext)) for i, f in enumerate($in_cond.in) if f])}
+${' '.join(["cp '%s' 'in_cond.in/%s/%s.%s' && " % (f, i, re.sub('[^\w\-_]', '_', f.element_identifier), $gxy2omsext(f.ext)) for i, f in enumerate($in_cond.in) if f])}
 #else
-ln -s '$in_cond.in' 'in_cond.in/${re.sub("[^\w\-_]", "_", $in_cond.in.element_identifier)}.$gxy2omsext($in_cond.in.ext)' &&
+cp '$in_cond.in' 'in_cond.in/${re.sub("[^\w\-_]", "_", $in_cond.in.element_identifier)}.$gxy2omsext($in_cond.in.ext)' &&
 #end if
 #if $in_header_cond.in_header:
   mkdir in_header_cond.in_header &&
   #if $in_header_cond.in_header_select == "no"
   mkdir ${' '.join(["'in_header_cond.in_header/%s'" % (i) for i, f in enumerate($in_header_cond.in_header) if f])} && 
-  ${' '.join(["ln -s '%s' 'in_header_cond.in_header/%s/%s.%s' && " % (f, i, re.sub('[^\w\-_]', '_', f.element_identifier), $gxy2omsext(f.ext)) for i, f in enumerate($in_header_cond.in_header) if f])}
+  ${' '.join(["cp '%s' 'in_header_cond.in_header/%s/%s.%s' && " % (f, i, re.sub('[^\w\-_]', '_', f.element_identifier), $gxy2omsext(f.ext)) for i, f in enumerate($in_header_cond.in_header) if f])}
   #else
-  ln -s '$in_header_cond.in_header' 'in_header_cond.in_header/${re.sub("[^\w\-_]", "_", $in_header_cond.in_header.element_identifier)}.$gxy2omsext($in_header_cond.in_header.ext)' &&
+  cp '$in_header_cond.in_header' 'in_header_cond.in_header/${re.sub("[^\w\-_]", "_", $in_header_cond.in_header.element_identifier)}.$gxy2omsext($in_header_cond.in_header.ext)' &&
   #end if
 #end if
 mkdir pos &&
-ln -s '$pos' 'pos/${re.sub("[^\w\-_]", "_", $pos.element_identifier)}.$gxy2omsext($pos.ext)' &&
+cp '$pos' 'pos/${re.sub("[^\w\-_]", "_", $pos.element_identifier)}.$gxy2omsext($pos.ext)' &&
 mkdir out &&
 #if "out_debug_TIC_FLAG" in str($OPTIONAL_OUTPUTS).split(',')
   mkdir auto_rt_out_debug_TIC &&
@@ -88,10 +87,10 @@
         <option value="yes">Yes: process each dataset in an independent job</option>
       </param>
       <when value="no">
-        <param argument="-in" type="data" format="mzml" multiple="true" optional="false" label="Input raw data file" help=" select mzml data sets(s)"/>
+        <param argument="-in" type="data" format="mzml" multiple="true" label="Input raw data file" help=" select mzml data sets(s)"/>
       </when>
       <when value="yes">
-        <param argument="-in" type="data" format="mzml" multiple="false" optional="false" label="Input raw data file" help=" select mzml data sets(s)"/>
+        <param argument="-in" type="data" format="mzml" label="Input raw data file" help=" select mzml data sets(s)"/>
       </when>
     </conditional>
     <conditional name="in_header_cond">
@@ -103,24 +102,24 @@
         <param argument="-in_header" type="data" format="txt" multiple="true" optional="true" label="[for Waters data only] Read additional information from _HEADER.TXT" help="Provide one for each raw input file select txt data sets(s)"/>
       </when>
       <when value="yes">
-        <param argument="-in_header" type="data" format="txt" multiple="false" optional="true" label="[for Waters data only] Read additional information from _HEADER.TXT" help="Provide one for each raw input file select txt data sets(s)"/>
+        <param argument="-in_header" type="data" format="txt" optional="true" label="[for Waters data only] Read additional information from _HEADER.TXT" help="Provide one for each raw input file select txt data sets(s)"/>
       </when>
     </conditional>
-    <param argument="-pos" type="data" format="edta" optional="false" label="Input config file stating where to find signal" help=" select edta data sets(s)"/>
-    <param argument="-rt_tol" type="float" optional="true" value="3.0" label="RT tolerance in [s] for finding max peak (whole RT range around RT middle)" help=""/>
-    <param argument="-mz_tol" type="float" optional="true" value="10.0" label="m/z tolerance in [ppm] for finding a peak" help=""/>
-    <param argument="-rt_collect" type="integer" optional="true" value="1" label="# of scans up &amp; down in RT from highest point for ppm estimation in result" help=""/>
+    <param argument="-pos" type="data" format="edta" label="Input config file stating where to find signal" help=" select edta data sets(s)"/>
+    <param argument="-rt_tol" type="float" value="3.0" label="RT tolerance in [s] for finding max peak (whole RT range around RT middle)" help=""/>
+    <param argument="-mz_tol" type="float" value="10.0" label="m/z tolerance in [ppm] for finding a peak" help=""/>
+    <param argument="-rt_collect" type="integer" value="1" label="# of scans up &amp; down in RT from highest point for ppm estimation in result" help=""/>
     <section name="auto_rt" title="Parameters for automatic detection of injection RT peaks (no need to specify them in 'pos' input file)" help="" expanded="false">
       <param name="enabled" argument="-auto_rt:enabled" type="boolean" truevalue="true" falsevalue="false" checked="false" label="Automatically detect injection peaks from TIC and quantify all m/z x RT combinations" help=""/>
-      <param name="FHWM" argument="-auto_rt:FHWM" type="float" optional="true" value="5.0" label="Expected full width at half-maximum of each raw RT peak in [s]" help="Gaussian smoothing filter with this width is applied to TIC"/>
-      <param name="SNThreshold" argument="-auto_rt:SNThreshold" type="float" optional="true" value="5.0" label="S/N threshold for a smoothed raw peak to pass peak picking" help="Higher thesholds will result in less peaks"/>
+      <param name="FHWM" argument="-auto_rt:FHWM" type="float" value="5.0" label="Expected full width at half-maximum of each raw RT peak in [s]" help="Gaussian smoothing filter with this width is applied to TIC"/>
+      <param name="SNThreshold" argument="-auto_rt:SNThreshold" type="float" value="5.0" label="S/N threshold for a smoothed raw peak to pass peak picking" help="Higher thesholds will result in less peaks"/>
     </section>
     <expand macro="adv_opts_macro">
-      <param argument="-out_separator" type="text" optional="true" value="," label="Separator character for output CSV file" help="">
+      <param argument="-out_separator" type="text" value="," label="Separator character for output CSV file" help="">
         <expand macro="list_string_san" name="out_separator"/>
       </param>
       <param argument="-force" type="boolean" truevalue="true" falsevalue="false" checked="false" label="Overrides tool-specific checks" help=""/>
-      <param argument="-test" type="hidden" optional="true" value="False" label="Enables the test mode (needed for internal use only)" help="">
+      <param argument="-test" type="hidden" value="False" label="Enables the test mode (needed for internal use only)" help="" optional="true">
         <expand macro="list_string_san" name="test"/>
       </param>
     </expand>
@@ -138,16 +137,18 @@
       <filter>OPTIONAL_OUTPUTS is not None and "ctd_out_FLAG" in OPTIONAL_OUTPUTS</filter>
     </data>
   </outputs>
-  <tests><test expect_num_outputs="1"><!-- just using some random test data -->
-    <param name="adv_opts|test" value="true"/>
-    <param name="in" value="spectra.mzML"/>
-    <param name="pos" ftype="edta" value="FileConverter_10_input.edta"/>
-    <output name="out" ftype="csv" value="EICExtractor.csv" lines_diff="2"/>
-  </test>
-</tests>
+  <tests>
+    <test expect_num_outputs="1">
+      <!-- just using some random test data -->
+      <param name="adv_opts|test" value="true"/>
+      <param name="in" value="spectra.mzML"/>
+      <param name="pos" ftype="edta" value="FileConverter_10_input.edta"/>
+      <output name="out" ftype="csv" value="EICExtractor.csv" lines_diff="2"/>
+    </test>
+  </tests>
   <help><![CDATA[Extracts intensities from dedicates positions in a LC/MS map
 
 
-For more information, visit http://www.openms.de/doxygen/release/2.8.0/html/TOPP_EICExtractor.html]]></help>
+For more information, visit https://openms.de/doxygen/release/3.1.0/html/TOPP_EICExtractor.html]]></help>
   <expand macro="references"/>
 </tool>