.. below role allows to use the html syntax, for example :raw-html:`
`
.. role:: raw-html(raw)
:format: html
======================
Pre-course Information
======================
.. .. contents::
.. :local:
.. contents::
:depth: 1
:local:
:backlinks: none
:raw-html:`
`
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.
:raw-html:`
`
:raw-html:`
`
Computational Resources
=======================
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``.
Register at SUPR
-----------------
A SUPR/NAISS account is needed to use UPPMAX resources.
If you do not already have one, please register for an account at `SUPR/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 SUPR/NAISS account, please
`request `_ membership to the project **UPPMAX 2025/2-309**.
Apply for an UPPMAX user account
--------------------------------
After you have been added to a SUPR 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 SUPR 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 apply, please follow this `instruction `_.
:raw-html:`
`
:raw-html:`
`
Connect to UPPMAX cluster Rackham
=================================
There are three ways to connect to Rackham: a text-based SSH connection from a terminal, a graphical remote desktop using a Thinlinc client on your laptop and
a remote desktop environment via a web browser.
`SSH connection using a terminal `_
----------------------------------------------------------------------------------------------------------------------------
A straightforward way to connect to Rackham 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 `_.
`GUI desktop using ThinLinc locally `_
----------------------------------------------------------------------------------------------------------------------------------------
You can also connect to Rackham 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.
- Install `ThinLinc `_ .
`GUI desktop using ThinLinc in a web browser `_
---------------------------------------------------------------------------------------------------------------------------------
Lastly, you can connect to Rackham using a remote desktop environment via a web browser at `https://rackham-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 `_.
:raw-html:`
`
This `tutorial `_ will guide you to connect to Rackham using the three methods as described above.
For Windows users with MobaXterm, please follow this `instruction `_.
:raw-html:`
`
Some useful tutorials:
- `Troubleshoot your MobaXterm X11 connection to UPPMAX `_
- `File transfer to/from Rackham `_
- `Change your UPPMAX password `_
- `How to get an UPPMAX 2FA `_.
:raw-html:`
`
Check configuration
--------------------
After you complete setting-up and you receive a notification from SUPR that **your account have been added to the course allocation**
* log in to ``rackham.uppmax.uu.se``
* type ``id`` in the command line
* copy the output of the command and email back (to the course organisers at edu.epigenomics@nbis.se)
:raw-html:`
`
:raw-html:`
`
Install Tools
=================
To be able to follow exercises we ask you to
- install `R `_ and `RStudio `_ on your laptop.
- install `Integrative Genomics Viewer `_ on your laptop.
We will also be using the latest version of ``R`` and ``RStudio`` locally. Both of these work on computers running Linux, Windows and Macintosh operating systems. ``RStudio`` is a set of tools as well as an editor that facilitates the use of ``R`` (R ICE). Over the last years it has become a very popular tool and in many ways become a *de-facto* standard for working with ``R``.
Note that on same operative systems it will be easier to install and run ``R`` and ``RStudio`` if you are administrator of your own computer and hence are allowed to install software on your machine. If you do not have these privileges please ask your system administrator to install the latest version of ``R`` and ``RStudio``.
:raw-html:`
`
:raw-html:`
`
Further optional preparations
==============================
For those of you wanting to start ahead and/or brush up on various skills before the course.
Computer skills
------------------
* `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 RStudio from `Data Camp RStudio Tutorial `_.
.. A nice self learn tutorial to ``R``, introducing many central concepts to ``R``.
ChIP-seq
----------
* Introduction to ChIP-seq data analysis `video `_ by Dr. Carl Hermann, University of Heidelberg.
* ChIP-seq and beyond: new and improved methodologies to detect and characterize protein-DNA interactions: `article `_.
* Q&A: ChIP-seq technologies and the study of gene regulation `article `_.
Software Dependencies
=====================
If you have no access to Uppmax, where all software is preinstalled, you can configure your own system to follow the exercises.
The dependencies are listed in :doc:`Dependencies <./dependencies>` .