Please read the following setup information prior to the workshop beginning:
A Docker image is available containing RStudio and JupyterLab with
dependencies already set up (quay.io/sagc/rstomics
).
There are two main options to use this image:
This is recommended if you already have Docker set up and would like to run everything on your own hardware.
docker pull quay.io/sagc/rstomics
#!/bin/bash
BIND_PATH=/my/local/storage
docker run \
--rm -ti \
-p 8080:8080 \
-p 8888:8888 \
-v ${BIND_PATH}:/root/data quay.io/sagc/rstomics
If you use local bind paths, make sure that any data files you wish to retain are created in the bind mount (in the above script, this will be visible in the container at /root/data)
Once the container is running:
Use passphrase abacbs24
and username root
if required.
If you’d like to run a cloud instance of the container, we will provide you with an IP address where the container is being hosted. Please ask an instructor for assistance.
You’ll just need an internet-connected device to be able to access your instance.
Log in as per the Accessing the environment section above, substituting the the IP address with the one provided on the day.
Please download any modified files you wish to keep before the end of the day, as the cloud instance will be destroyed after the day of the workshop!
If you want to set up an environment from scratch, please refer to the Dockerfile for required dependencies.
Please note that due to the short amount of time allocated we will not be able to help diagnose setup issues if you choose this method.
Please note that StereoPy requires Python 3.8, it is not compatible with newer Python versions.
This website is implemented with workflowr
and can be
cloned into a location of your preference. Navigate to a suitable
location, and clone
https://github.com/sagc-bioinformatics/abacbs2024_workshop.git
.
If needed you can access a terminal from within RStudio or JupyterLab.
e.g:
#!/bin/bash
# in the local docker setup above, this location is bind mounted to the host
cd data/
# obtain the code for this workshop
git clone https://github.com/sagc-bioinformatics/abacbs2024_workshop.git
Once you have cloned the repository, navigate to RStudio, load the
project file (abacbs_workshop.Rproj
) and run the download
workbook (download.Rmd) to download the data
files.