To run the docker image with metagenomics packages pre-installed on your laptop/desktop:
- First pull the docker image
docker pull brusconi/rstudio_workshop
- Pull down the week 21 data/scripts and unzip them:
wget -v -O week_21.tar.gz -L https://wustl.box.com/shared/static/8g2spm9vn8agzlkp2h8l4we1ssfj381p
tar -xzvf week_21.tar.gz
- Mount the path where your data is stored when launching your docker image.
docker run --rm -p 8888:8787 -v /path/to/week_21:/home/rstudio/data -e PASSWORD=password brusconi/rstudio_workshop
- Now open a browser like chrome and navigate to the URL
http://localhost:8888
This will open the rstudio session and you can then login with
Username: rstudio
Password: password
- Use RStudio to open the Rmd files from the scripts subdirectory within your directory (that you mounted at
/home/rstudio/data
) and step through the details. For each of the 3 scripts, make sure to update the paths in the setup section to point to the appropriate locations within the docker image.