yufree / xcmsrocker

Rocker image for metabolomics data analysis
https://hub.docker.com/repository/docker/yufree/xcmsrocker
MIT License
13 stars 3 forks source link
docker metabolomics r

xcmsrocker: Rocker image for metabolomics data analysis

Software and data is required for reproducible research. However, detailed workflows connecting software and data would be the key to reproducible research in metabolomics studies. Xcmsrocker is a linux based rocker/docker image to host the workflow of R based metabolomics software. It includes multiple mainstream R packages used in metabolomics study with RStduio as IDE. Such image could be deployed on single machine or cluster(HPC or cloud computing).

Besides, rmwf package is attached in this image to provide detailed workflow template( File - New File - R Markdown - From Template - Select template with {rmwf}) and facilitate the users to perform metabolomics data analysis and/or comparisons. Specifically, paired mass distances dependent analysis (PMDDA) and reactomics analysis templates could be found here.

If you preferred to perform Python code within RStudio through reticulate package, you might try metaborocker.

You are welcome to contribute your new algorithm/software/workflow! Just PR!

Click here and relate video to check the poster for ASMS 2022.

Citation

Workflow template usage

  1. Install Docker and run Docker in your system

  2. Pull the Rocker image docker pull yufree/xcmsrocker:latest

2.1 If you don't use RStudio and only run R script on HPC, you can use sif version: docker pull yufree/xcmsrocker:sif

2.2 If you preferred running image on computer with ARM processor (M1 or Raspberry pi), you can use arm version: docker pull yufree/xcmsrocker:arm

  1. Use docker run -e PASSWORD=xcmsrocker -p 8787:8787 yufree/xcmsrocker to start the image

3.1 If you need to access your local data on current directory, you can use docker run -v $(pwd):/home/rstudio/$USER -e PASSWORD=xcmsrocker -p 8787:8787 yufree/xcmsrocker

  1. Open the browser and visit http://localhost:8787 or http://[your-ip-address]:8787 to power on RStudio server

  2. Default user name is rstudio and password is xcmsrocker

  3. Enjoy your data analysis! If you preferred to try PMDDA workflow, do the following step in RStudio:

Step 2-6 could be visualized:

pmdda

Packages

Peak picking

Improved Peak picking

Comparison

rmarkdown::draft("peakpicking.Rmd", template = "peakpicking", package = "rmwf")

For MS/MS

Peak filter/visulization/workflow

Peak annotation/group/selection

Comparison

rmarkdown::draft("annotation.Rmd", template = "annotation", package = "rmwf")

Batch correction

Comparison

rmarkdown::draft("normalization.Rmd", template = "normalization", package = "rmwf")

Peaks identification

Omics

Statistical analysis

Chemometrics

Reproducible research

Similar projects

R

Here is a nice review on R package for metabolomics.