diff abims_xcms_xcmsSet.xml @ 11:91311aa08cdc draft

planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 08e7f269a5c59687a7768be8db5fcb4e4d736093
author lecorguille
date Mon, 30 Jan 2017 08:52:59 -0500
parents 69eb0fc05837
children 15646e937936
line wrap: on
line diff
--- a/abims_xcms_xcmsSet.xml	Wed Jul 06 17:42:15 2016 -0400
+++ b/abims_xcms_xcmsSet.xml	Mon Jan 30 08:52:59 2017 -0500
@@ -1,14 +1,14 @@
-<tool id="abims_xcms_xcmsSet" name="xcms.xcmsSet" version="2.0.9">
-    
+<tool id="abims_xcms_xcmsSet" name="xcms.xcmsSet" version="2.0.11">
+
     <description>Filtration and Peak Identification using xcmsSet function from xcms R package to preprocess LC/MS data for relative quantification and statistical analysis </description>
-    
+
     <macros>
         <import>macros.xml</import>
     </macros>
 
     <expand macro="requirements"/>
     <expand macro="stdio"/>
-    
+
     <command><![CDATA[
         @COMMAND_XCMS_SCRIPT@
         #if $inputs.input == "lib":
@@ -24,14 +24,16 @@
         ticspdf $ticsRawPdf
         bicspdf $bpcsRawPdf
 
-        ## profmethod $profmethod 
-        nSlaves \${GALAXY_SLOTS:-1} method $methods.method 
+
+        #if $options_scanrange.option == "show":
+            scanrange "c($options_scanrange.scanrange)"
+        #end if
+
+        ## profmethod $profmethod
+        nSlaves \${GALAXY_SLOTS:-1} method $methods.method
         #if $methods.method == "centWave":
             ppm $methods.ppm
             peakwidth "c($methods.peakwidth)"
-            #if $methods.options_scanrange.option == "show":
-                scanrange "c($methods.options_scanrange.scanrange)"
-            #end if 
             #if $methods.options_c.option == "show":
                 mzdiff $methods.options_c.mzdiff
                 snthresh $methods.options_c.snthresh
@@ -60,7 +62,7 @@
         #end if
         @COMMAND_LOG_EXIT@
     ]]></command>
-    
+
     <inputs>
 
         <conditional name="inputs">
@@ -73,13 +75,27 @@
              </when>
             <when value="lib">
                 <param name="library" type="text" size="40" label="Library directory name" help="The name of your directory containing all your data" >
-                <validator type="empty_field"/> 
+                <validator type="empty_field"/>
             </param>
                 </when>
 
         </conditional>
 
-       
+        <conditional name="options_scanrange">
+            <param name="option" type="select" label="Scan range option " >
+                <option value="show">show</option>
+                <option value="hide" selected="true">hide</option>
+            </param>
+            <when value="show">
+                <param name="scanrange" type="text" value="" label="scanrange" help="scan range to process, for example (16,365)" >
+                    <validator type="empty_field"/>
+                </param>
+            </when>
+            <when value="hide">
+            </when>
+        </conditional>
+
+
 <!--
         <param name="profmethod" type="select" label="Method to use for profile generation (profmethod)" >
             <option value="bin" selected="true">bin</option>
@@ -100,20 +116,7 @@
             <when value="centWave">
                 <param name="ppm" type="integer" value="25" label="Max tolerated ppm m/z deviation in consecutive scans in ppm" help="[ppm]" />
                 <param name="peakwidth" type="text" value="20,50" label="Min,Max peak width in seconds" help="[peakwidth]" />
-                <conditional name="options_scanrange">
-                    <param name="option" type="select" label="Scan range option " >
-                        <option value="show">show</option>
-                        <option value="hide" selected="true">hide</option>
-                    </param>
-                    <when value="show">
-                        <param name="scanrange" type="text" value="" label="scanrange" help="scan range to process, for example (16,365)" >
-                            <validator type="empty_field"/> 
-                        </param>
-                    </when>
-                    <when value="hide">
-                    </when>
-                </conditional>
-                        
+                
                 <conditional name="options_c">
                     <param name="option" type="select" label="Advanced options" >
                         <option value="show">show</option>
@@ -134,7 +137,7 @@
                 </conditional>
             </when>
 
-        <!-- matched Filter options -->
+            <!-- matched Filter options -->
             <when value="matchedFilter">
                 <param name="step" type="float" value="0.01" label="Step size to use for profile generation" help="[step] The peak detection algorithm creates extracted ion base peak chromatograms (EIBPC) on a fixed step size" />
                 <param name="fwhm" type="integer" value="30" label="Full width at half maximum of matched filtration gaussian model peak" help="[fwhm] Only used to calculate the actual sigma" />
@@ -159,7 +162,7 @@
                 </conditional>
             </when>
 
-        <!-- MSW Filter options -->
+            <!-- MSW Filter options -->
             <when value="MSW">
                 <param name="nearbyPeak" type="select" label="Determine whether to include the nearby small peaks of major peaks" help="[nearbyPeak]" >
                     <option value="TRUE">TRUE</option>
@@ -173,7 +176,7 @@
             </when>
         </conditional>
     </inputs>
-    
+
     <outputs>
         <data name="xsetRData" format="rdata.xcms.raw" label="xset.RData" />
         <data name="sampleMetadata" format="tabular" label="sampleMetadata.tsv" />
@@ -181,7 +184,7 @@
         <data name="bpcsRawPdf"   format="pdf" label="xset.BPCs_raw.pdf" />
         <data name="log" format="txt" label="xset.log.txt" />
     </outputs>
-    
+
     <tests>
         <!--<test>
             <param name="inputs|input" value="zip_file" />
@@ -239,7 +242,7 @@
             </output>
         </test>
     </tests>
-    
+
     <help><![CDATA[
 
 @HELP_AUTHORS@
@@ -267,7 +270,7 @@
 ========================= ================= ======= =========
 Name                      output file       format  parameter
 ========================= ================= ======= =========
-NA                        NA                zip     NA       
+NA                        NA                zip     NA
 ========================= ================= ======= =========
 
 
@@ -291,7 +294,7 @@
 
 ------
 
-.. class:: infomark 
+.. class:: infomark
 
 The output file is an xset.RData file. You can continue your analysis using it in **xcms.group** tool.
 
@@ -371,7 +374,7 @@
 
 **Matched Filter**
 
-    | One parameter to consider is the Gaussian model peak width used for matched filtration,an integral part of the peak detection algorithm. 
+    | One parameter to consider is the Gaussian model peak width used for matched filtration,an integral part of the peak detection algorithm.
     | For a discussion of how model peak width affects the signal to noise ratio, see Danielsson et al. (2002).
 
 
@@ -409,10 +412,10 @@
 xset.RData: rdata.xcms.raw format
 
     | Rdata file that is necessary in the second step of the workflow "xcms.group".
-    
+
 ------
 
-.. class:: infomark 
+.. class:: infomark
 
 The output file is an xset.RData file. You can continue your analysis using it in **xcms.group** tool.
 
@@ -432,7 +435,7 @@
 
     | Method -> **matchedFilter**
     | step   -> **0.01**
-    | fwhm   -> **4** 
+    | fwhm   -> **4**
     | Advanced option -> **show**
     | max: -> **50**
     | snthresh -> **1**
@@ -475,9 +478,17 @@
 Changelog/News
 --------------
 
+**Version 2.0.11 - 22/12/2016**
+
+- BUGFIX: propose scanrange for all methods
+
+**Version 2.0.10 - 22/12/2016**
+
+- BUGFIX: when having only one group (i.e. one folder of raw data) the BPC and TIC pdf files do not contain any graph
+
 **Version 2.0.9 - 06/07/2016**
 
-- UPGRADE: upgrate the xcms version from 1.44.0 to 1.46.0
+- UPGRADE: upgrade the xcms version from 1.44.0 to 1.46.0
 
 **Version 2.0.8 - 06/04/2016**