Welcome to the course! There are few things to do before the course starts. Please read carefully and follow the instructions so we can have a good start to the course. Contact us in case anything is unclear.
1 HPC resources and creating an account
During the course we will be using Uppsala University’s high performance computer cluster (UPPMAX) as well as run scripts locally on laptops using R and RStudio.
1.1 Register at NAISS
A NAISS account is needed to use UPPMAX resources. If you do not already have one, please register for an account at NAISS and then you must accept the user agreement either online or in paper form. For those within Swedish academia, it is recommended to register with your SWAMID. If you don’t have a SWAMID connected account, you will have to send in your signed user agreement in paper form together with a copy of your passport. Note that this manual process can take a week or more. You can follow this detailed instruction. Once you have a NAISS account, please request membership to the project UPPMAX 2026/X-XXX — check your email for the correct project number.
1.2 Apply for an UPPMAX user account
After you have been added to a NAISS project, you can now apply for a user account in UPPMAX if you do not have an existing account yet. This will be the account you use to log in to UPPMAX so it is not the same as your NAISS account. Note that it might take up to 2 working days for your account to be created. You will then receive 2 emails with information on how to login to UPPMAX. To activate your user account, click here.
2 Working with the compute resources from UPPMAX
There are three ways to connect to Pelle:
- An ssh connection from a terminal
- A graphical remote desktop using a Thinlinc client on your laptop
- A remote desktop environment via a web browser
2.1 SSH connection using a terminal
A straightforward way to connect to Pelle is through a terminal using ssh connection.
- For Linux users, use Terminal (included by default).
- For Mac users, use Terminal (included by default). You need to also install XQuartz to enable X11 forwarding from a terminal, i.e., to run graphical applications on a remote server while displaying them on your laptop.
- For Windows system, we recommend using MobaXterm. Please install the program and not use the portable version. MobaXterm also has a built-in X11 and an integrated SFTP file browser to transfer data between the remote cluster and your computer.
Other SSH clients and X-servers for MacOS and Windows are described here.
2.2 GUI desktop using ThinLinc locally
You can also connect to Pelle via a graphical remote desktop using a local ThinLinc client on your laptop. Thinlinc is useful if you need to view images or documents in GUI programs without having to first download the image/document to your own computer first. Since it is using graphics, it will require you to have an internet connection that is good and stable. Please install ThinLinc to be able to access UPPMAX in this manner.
2.3 GUI desktop using ThinLinc in a web browser
Lastly, you can connect to Pelle using a remote desktop environment via a web browser at https://pelle-gui.uppmax.uu.se. This is the easiest option as no software installation is needed but it will give you the slowest connection. It will require you to have an internet connection that is good and stable. For this option, you have to set up your UPPMAX two factor authorization (2FA). See how to get an UPPMAX 2FA.
2.4 Additional instructions/resources
This tutorial will guide you to connect to Pelle using the three methods as described above. For Windows users with MobaXterm, please follow this instruction.
Some useful tutorials:
3 Check configuration
After you complete setting-up and you receive a notification from NAISS that your account has been added to the course allocation.
- Log in to
pelle.uppmax.uu.seusing a terminal app andssh - Type
idin the command line - Copy the output of the command and email back (to the course organisers at
edu.epigenomics@nbis.se
4 Working from your local machine
To be able to work from your local machine, please make sure you have the following installed:
R-4.6.1andRStudio. If you have other versions ofRinstalled, you can used rig to version controlRinstallation and startRStudiowith different versions ofR. We will be usingR-4.6.1during the workshop.- The Integrative Genomics Viewer.
4.1 Cloning the repo and installing the needed R packages
More instructions will follow here on how to clone the GitHub repo of the workshop and install all needed R packages using renv.
5 Additional (optional) reading material to help you prepare
- Unix: especially the first three chapters.
- DataCamp free Introduction to R.
- A short introduction to R. A very short introduction to using
R. - How to install and use
RStudiofrom Data Camp RStudio Tutorial.