# HG changeset patch # User workflow4metabolomics # Date 1589315968 14400 # Node ID db6549f27ad12844b96822abf6bdb0938ca143bd # Parent acc66e5c23d7d1b75c53e7ea86a5d11191c4e922 "planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 7234c5fb8350990733e882693248c0433eee5ff8" diff -r acc66e5c23d7 -r db6549f27ad1 README.rst --- a/README.rst Wed Feb 12 08:30:41 2020 -0500 +++ b/README.rst Tue May 12 16:39:28 2020 -0400 @@ -4,6 +4,12 @@ .. _News: https://bioconductor.org/packages/release/bioc/news/xcms/NEWS +**Version 3.6.1+galaxy1 - 05/04/2020** + +- UPGRADE: upgrade the CAMERA version from 1.38.0 to 1.42.0 + +- BUGFIX: "Error in chromPeaks(from)[, "is_filled"] : subscript out of bounds" + **Version 3.6.1.0 - 03/09/2019** - UPGRADE: upgrade the xcms version from 3.4.4 to 3.6.1 (see XCMS News_) diff -r acc66e5c23d7 -r db6549f27ad1 abims_xcms_summary.xml --- a/abims_xcms_summary.xml Wed Feb 12 08:30:41 2020 -0500 +++ b/abims_xcms_summary.xml Tue May 12 16:39:28 2020 -0400 @@ -1,4 +1,4 @@ - + Create a summary of XCMS analysis @@ -8,8 +8,9 @@ - bioconductor-camera - r-batch + bioconductor-xcms + bioconductor-camera + r-batch @@ -88,6 +89,12 @@ .. _News: https://bioconductor.org/packages/release/bioc/news/xcms/NEWS +**Version 3.6.1+galaxy1 - 05/04/2020** + +- UPGRADE: upgrade the CAMERA version from 1.38.0 to 1.42.0 + +- BUGFIX: "Error in chromPeaks(from)[, "is_filled"] : subscript out of bounds" + @HELP_XCMS_NEWVERSION_3610@ @HELP_XCMS_NEWVERSION_3440@ diff -r acc66e5c23d7 -r db6549f27ad1 lib.r --- a/lib.r Wed Feb 12 08:30:41 2020 -0500 +++ b/lib.r Tue May 12 16:39:28 2020 -0400 @@ -151,12 +151,14 @@ group_colors <- brewer.pal(length(unique(xdata$sample_group)), "Set1") names(group_colors) <- unique(xdata$sample_group) + col_per_samp <- as.character(xdata$sample_group) + for(i in 1:length(group_colors)){col_per_samp[col_per_samp==(names(group_colors)[i])]<-group_colors[i]} xlim <- c(min(featureDefinitions(xdata)$rtmin), max(featureDefinitions(xdata)$rtmax)) for (i in 1:nrow(featureDefinitions(xdata))) { mzmin = featureDefinitions(xdata)[i,]$mzmin mzmax = featureDefinitions(xdata)[i,]$mzmax - plotChromPeakDensity(xdata, param = param, mz=c(mzmin,mzmax), col=group_colors, pch=16, xlim=xlim, main=paste(round(mzmin,mzdigit),round(mzmax,mzdigit))) + plotChromPeakDensity(xdata, param = param, mz=c(mzmin,mzmax), col=col_per_samp, pch=16, xlim=xlim, main=paste(round(mzmin,mzdigit),round(mzmax,mzdigit))) legend("topright", legend=names(group_colors), col=group_colors, cex=0.8, lty=1) } diff -r acc66e5c23d7 -r db6549f27ad1 macros_xcms.xml --- a/macros_xcms.xml Wed Feb 12 08:30:41 2020 -0500 +++ b/macros_xcms.xml Tue May 12 16:39:28 2020 -0400 @@ -98,7 +98,7 @@ - + @@ -193,7 +193,7 @@ - + diff -r acc66e5c23d7 -r db6549f27ad1 test-data/faahKO-single.xset.merged.group.retcor.group.fillpeaks.RData Binary file test-data/faahKO-single.xset.merged.group.retcor.group.fillpeaks.RData has changed diff -r acc66e5c23d7 -r db6549f27ad1 test-data/faahKO-single.xset.merged.group.retcor.group.fillpeaks.summary.html --- a/test-data/faahKO-single.xset.merged.group.retcor.group.fillpeaks.summary.html Wed Feb 12 08:30:41 2020 -0500 +++ b/test-data/faahKO-single.xset.merged.group.retcor.group.fillpeaks.summary.html Tue May 12 16:39:28 2020 -0400 @@ -16,15 +16,15 @@

Samples used:

- - + +
samplefilenamemd5sum*
ko15ko15.CDF4698c36c0b3af007faf70975c04ccf2a
ko16ko16.CDFafaeed94ced3140bc042d5ab6aeb16c1
wt15wt15.CDFd58a27fad7c04ddddb0359ddc2b7ba68
wt16wt16.CDF29654e9f8ad48c1fbe2a41b9ba578f6e
samplefilename
ko15ko15.CDF
ko16ko16.CDF
wt15wt15.CDF
wt16wt16.CDF
-
*The program md5sum is designed to verify data integrity. So you can check if the data were uploaded correctly or if the data were changed during the process. +

Function launched:

- - - - -
timestamp***functionargumentvalue
Wed Feb 7 11:15:25 2018Peak detection
+
Mon May 11 09:37:30 2020Peak detection
 Object of class:  CentWaveParam 
 Parameters:
  ppm: 25 
@@ -41,17 +41,17 @@
  firstBaselineCheck TRUE 
  roiScales length: 0 
 
Mon Feb 12 15:31:11 2018Peak grouping
+
Mon May 11 09:37:49 2020Peak grouping
 Object of class:  PeakDensityParam 
 Parameters:
  sampleGroups: character of length 4 
- bw: 30 
- minFraction: 0.8 
+ bw: 5 
+ minFraction: 0.3 
  minSamples: 1 
- binSize: 0.25 
+ binSize: 0.01 
  maxFeatures: 50 
 
Mon Feb 12 15:31:19 2018Retention time correction
+
Mon May 11 09:38:08 2020Retention time correction
 Object of class:  PeakGroupsParam 
 Parameters:
  minFraction: 0.85 
@@ -59,9 +59,10 @@
  smooth: loess 
  span: 0.2 
  family: gaussian 
- number of peak groups: 125 
+ subset:  
+ number of peak groups: 53 
 
Mon Feb 12 15:31:27 2018Peak grouping
+
Mon May 11 09:38:09 2020Peak grouping
 Object of class:  PeakDensityParam 
 Parameters:
  sampleGroups: character of length 4 
@@ -71,7 +72,7 @@
  binSize: 0.25 
  maxFeatures: 50 
 
Wed Feb 14 09:55:13 2018Missing peak filling
+
Mon May 11 09:38:18 2020Missing peak filling
 Object of class:  FillChromPeaksParam 
 Parameters:
  expandMz: 0 
@@ -84,17 +85,17 @@
 

Informations about the XCMSnExp object:

 MSn experiment data ("XCMSnExp")
-Object size in memory: 1.41 Mb
+Object size in memory: 1.55 Mb
 - - - Spectra data - - -
  MS level(s): 1 
  Number of spectra: 5112 
- MSn retention times: 41:33 - 75:0 minutes
+ MSn retention times: 41:38 - 75:7 minutes
 - - - Processing information - - -
-Concatenated [Thu Feb  8 15:36:09 2018] 
- MSnbase version: 2.4.2 
+Data loaded [Mon May 11 09:37:30 2020] 
+ MSnbase version: 2.10.1 
 - - - Meta data  - - -
 phenoData
-  rowNames: ./ko15.CDF ./ko16.CDF ./wt15.CDF ./wt16.CDF
+  rowNames: 1 2 3 4
   varLabels: sample_name sample_group
   varMetadata: labelDescription
 Loaded from:
@@ -103,31 +104,31 @@
 protocolData: none
 featureData
   featureNames: F1.S0001 F1.S0002 ... F4.S1278 (5112 total)
-  fvarLabels: fileIdx spIdx ... spectrum (27 total)
+  fvarLabels: fileIdx spIdx ... spectrum (31 total)
   fvarMetadata: labelDescription
 experimentData: use 'experimentData(object)'
 - - - xcms preprocessing - - -
 Chromatographic peak detection:
  method: centWave 
- 15230 peaks identified in 4 samples.
- On average 3808 chromatographic peaks per sample.
+ 15405 peaks identified in 4 samples.
+ On average 3851 chromatographic peaks per sample.
 Alignment/retention time adjustment:
  method: peak groups 
 Correspondence:
  method: chromatographic peak density 
- 6332 features identified.
+ 6349 features identified.
  Median mz range of features: 0
  Median rt range of features: 0
- 5979 filled peaks (on average 1494.75 per sample).
+ 6154 filled peaks (on average 1538.5 per sample).
 

Informations about the xcmsSet object:

 An "xcmsSet" object with 4 samples
 
-Time range: 2499.4-4473.6 seconds (41.7-74.6 minutes)
+Time range: 2509.2-4481.8 seconds (41.8-74.7 minutes)
 Mass range: 200.1-600 m/z
-Peaks: 15230 (about 3808 per sample)
-Peak Groups: 6332 
+Peaks: 15405 (about 3851 per sample)
+Peak Groups: 6349 
 Sample classes: KO, WT 
 
 Feature detection:
@@ -136,7 +137,7 @@
 Profile settings: method = bin
                   step = 0.1
 
-Memory usage: 3.11 MB
+Memory usage: 3.98 MB
 

Citations:

    diff -r acc66e5c23d7 -r db6549f27ad1 test-data/faahKO.xset.group.retcor.group.fillpeaks.RData Binary file test-data/faahKO.xset.group.retcor.group.fillpeaks.RData has changed diff -r acc66e5c23d7 -r db6549f27ad1 test-data/faahKO.xset.group.retcor.group.fillpeaks.summary.html --- a/test-data/faahKO.xset.group.retcor.group.fillpeaks.summary.html Wed Feb 12 08:30:41 2020 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,96 +0,0 @@ - - - - -[W4M] XCMS analysis summary - - - -

    ___ XCMS analysis summary using Workflow4Metabolomics ___

    -
    -

    Samples used:

    -
    - - -
    samplefilenamemd5sum*
    ko15faahKO_reduce/KO/ko15.CDF4698c36c0b3af007faf70975c04ccf2a
    ko16faahKO_reduce/KO/ko16.CDFafaeed94ced3140bc042d5ab6aeb16c1
    wt15faahKO_reduce/WT/wt15.CDFd58a27fad7c04ddddb0359ddc2b7ba68
    wt16faahKO_reduce/WT/wt16.CDF29654e9f8ad48c1fbe2a41b9ba578f6e
    -
    *The program md5sum is designed to verify data integrity. So you can check if the data were uploaded correctly or if the data were changed during the process. -
    -

    Function launched:

    -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    timestamp***functionargumentvalue
    160420-14:09:46xcmsSetnSlaves1
    methodcentWave
    ppm25
    peakwidth2050
    160420-15:07:14groupmethoddensity
    sleep0.001
    minfrac0.3
    bw5
    mzwid0.01
    max50
    160421-11:10:32retcormethodpeakgroups
    smoothloess
    extra1
    missing1
    span0.2
    familygaussian
    plottypedeviation
    160421-11:19:31groupmethoddensity
    sleep0.001
    minfrac0.3
    bw5
    mzwid0.01
    max50
    160421-11:50:48fillPeaksmethodchrom
    -
    ***timestamp format: DD MM dd hh:mm:ss YYYY or yymmdd-hh:mm:ss -
    -

    Informations about the xcmsSet object:

    -
    -An "xcmsSet" object with 4 samples
    -
    -Time range: 2506-4484 seconds (41.8-74.7 minutes)
    -Mass range: 200.1-600 m/z
    -Peaks: 32720 (about 8180 per sample)
    -Peak Groups: 8157 
    -Sample classes: KO, WT 
    -
    -Feature detection:
    -Profile settings: method = bin
    -                  step = 0.1
    -
    -Memory usage: 4.25 MB
    -
    -

    Citations:

    -
      -
    • To cite the XCMS package in publications use: -
        -
      • Smith, C.A. and Want, E.J. and O'Maille, G. and Abagyan,R. and Siuzdak, G.XCMS: Processing mass spectrometry data for metabolite profiling using nonlinear peak alignment, matching and identification, Analytical Chemistry, 78:779-787 (2006)
      • -
      • Ralf Tautenhahn, Christoph Boettcher, Steffen Neumann: Highly sensitive feature detection for high resolution LC/MS BMC Bioinformatics, 9:504 (2008)
      • -
      • H. Paul Benton, Elizabeth J. Want and Timothy M. D. Ebbels Correction of mass calibration gaps in liquid chromatography-mass spectrometry metabolomics data Bioinformatics, 26:2488 (2010)
      • -
      -
    • -
    • To cite the CAMERA package in publications use: -
        -
      • Kuhl, C., Tautenhahn, R., Boettcher, C., Larson, T. R. and Neumann,S. CAMERA: an integrated strategy for compound spectra extraction and annotation of liquid chromatography/mass spectrometry data sets. Analytical Chemistry, 84:283-289 (2012)
      • -
      -
    • -
    • To cite the Workflow4Metabolimics (W4M) project in publications use: -
        -
      • Franck Giacomoni, Gildas Le Corguillé, Misharl Monsoor, Marion Landi, Pierre Pericard, Mélanie Pétéra, Christophe Duperier, Marie Tremblay-Franco, Jean-François Martin, Daniel Jacob, Sophie Goulitquer, Etienne A. Thévenot and Christophe Caron (2014). Workflow4Metabolomics: A collaborative research infrastructure for computational metabolomics. Bioinformatics doi:10.1093/bioinformatics/btu813
      • -
      -
    • -
    - - diff -r acc66e5c23d7 -r db6549f27ad1 xcms_summary.r --- a/xcms_summary.r Wed Feb 12 08:30:41 2020 -0500 +++ b/xcms_summary.r Tue May 12 16:39:28 2020 -0400 @@ -67,18 +67,22 @@ if (!is.null(args$user_email)) user_email = args$user_email; # if the RData come from XCMS 1.x -if (exists("xset")) xobject <- xset -# retrocompatability -if (!exists("sampleNamesList")) sampleNamesList <- list("sampleNamesMakeNames"=make.names(sampnames(xobject))) +if (exists("xset")) { + xobject <- xset + # retrocompatability + if (!exists("sampleNamesList")) sampleNamesList <- list("sampleNamesMakeNames"=make.names(sampnames(xobject))) +} # if the RData come from CAMERA if (exists("xa")) xobject <- xa@xcmsSet # if the RData come from XCMS 3.x -if (exists("xdata")) xobject <- xdata +if (exists("xdata")) { + xobject <- xdata + if (!exists("sampleNamesList")) sampleNamesList <- list("sampleNamesMakeNames"=make.names(xdata@phenoData@data$sample_name)) +} if (!exists("xobject")) stop("You need at least a xdata, a xset or a xa object.") - # ----- MAIN PROCESSING INFO ----- writehtml("") writehtml("")