Repository 'msnbase_readmsdata'
hg clone https://toolshed.g2.bx.psu.edu/repos/lecorguille/msnbase_readmsdata

Changeset 12:f6b2750ea32e (2020-01-07)
Previous changeset 11:86a20118e743 (2019-04-30) Next changeset 13:226fb89cacc4 (2020-02-12)
Commit message:
"planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 3621a0c0a3a089fdb8973ae15a5614f32fa1d8df"
modified:
msnbase_readmsdata.xml
b
diff -r 86a20118e743 -r f6b2750ea32e msnbase_readmsdata.xml
--- a/msnbase_readmsdata.xml Tue Apr 30 04:40:33 2019 -0400
+++ b/msnbase_readmsdata.xml Tue Jan 07 04:30:02 2020 -0500
b
@@ -1,4 +1,4 @@
-<tool id="msnbase_readmsdata" name="MSnbase readMSData" version="@WRAPPER_VERSION@.1">
+<tool id="msnbase_readmsdata" name="MSnbase readMSData" version="@WRAPPER_VERSION@.2">
     <description>Imports mass-spectrometry data files</description>
 
     <macros>
@@ -13,7 +13,12 @@
         @COMMAND_RSCRIPT@/msnbase_readmsdata.r
 
         #if $input.is_of_type("mzxml") or $input.is_of_type("mzml") or $input.is_of_type("mzdata") or $input.is_of_type("netcdf"):
-            singlefile_galaxyPath '$input' singlefile_sampleName '$input.name'
+            #if $os.path.islink(str($input))
+                #set $source = $os.readlink(str($input))
+                singlefile_galaxyPath '$source' singlefile_sampleName '$os.path.basename($source)'
+            #else
+                singlefile_galaxyPath '$input' singlefile_sampleName '$input.name'
+            #end if
         #else
             zipfile '$input'
         #end if
@@ -107,7 +112,6 @@
 ‘mzData’, ‘mzXML’ and ‘mzML’.
 
 .. _xcms: https://bioconductor.org/packages/release/bioc/html/xcms.html
-.. _here: http://web11.sb-roscoff.fr/download/w4m/howto/w4m_HowToPerformXcmsPreprocessing_v02.pdf
 
 
 -----------------