diff mfassignr_snplot.xml @ 4:5f4b3130272e draft

planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 4bd188e61f09431c0b7e73b35fb8ccf5ee7af6ac
author recetox
date Mon, 21 Oct 2024 09:05:57 +0000 (6 months ago)
parents 434fa3233e96
children f19c0631b9e5
line wrap: on
line diff
--- a/mfassignr_snplot.xml	Mon Sep 16 09:06:22 2024 +0000
+++ b/mfassignr_snplot.xml	Mon Oct 21 09:05:57 2024 +0000
@@ -1,4 +1,4 @@
-<tool id="mfassignr_snplot" name="MFAssignR SNplot" version="@TOOL_VERSION@+galaxy0" profile="23.0">
+<tool id="mfassignr_snplot" name="MFAssignR SNplot" version="@TOOL_VERSION@+galaxy1" profile="23.0">
     <description>Noise level assessment using the SNplot function.</description>
     <macros>
         <import>macros.xml</import>
@@ -14,9 +14,11 @@
     ]]></command>
     <configfiles>
         <configfile name="run_script"><![CDATA[
+        cut = $sn_ratio * $kmdn
+                    
         SNplot <- MFAssignR::SNplot(
             df = read.delim("$input_file", sep="\t"),
-            cut = $cut,
+            cut = cut,
             mass = $mass,
             window.x = $window_x,
             window.y = $window_y
@@ -34,7 +36,7 @@
     <tests>
         <test>
             <param name="input_file" value="QC1_1_POS_500.tabular"/>
-            <param name="cut" value="3294705.63963789"/>
+            <param name="kmdn" value="549117.606606315"/>
             <param name="mass" value="300"/>
             <output name="SNplot" ftype="png" file="snplot/plot.png" />
         </test>