Here we store material for the Data Analysis part of the CB2030, Systems Biology course.
This project is maintained by statisticalbiotechnology
We suggest you install the software with conda from the command line (first section below). Alternatively, you can use the Anaconda graphical interface (second section).
If you work on Windows, we suggest you install the Linux subsystem for Windows first, and follow the instructions for Linux.
git clone https://github.com/statisticalbiotechnology/cb2030.git.cd cb2030/lab/Lab0/)conda env create -f cb2030-labs-environment.yml)conda activate cb2030)git clone https://github.com/statisticalbiotechnology/cb2030.git in your command line (Linux/Mac/Linux subsystem for Windows).cb2030-labs-environment.yml file.
cb2030-labs-environment-windows.yml file instead.If you installed the conda environment through the terminal:
jupyter notebook, the conda environment needs to be activated, see point nr 5 above).ctrl or Cmd should work, otherwise you can copy the link and open it in the browser).
Or, if you installed the environment through Anaconda Graphical User Interface:cb2030 on the Applications on: dropdown menu.The following steps are common regardless of the way you installed the conda environment:
Lab0.ipynb notebook.The rest of the notebook will give you an overview of how to use Jupyter notebooks, something we will use a lot on the course. You can now try to follow it along.
If you have encountered any problems during the software installation, or have any question on how to use notebooks, bring your questions to lab session C0.
If you cannot install and run Jupyter notebooks on your own computer, you can use the course’s JupyterHub instead. It is a single server shared by everyone on the course, not a KTH-wide service, so please use it only if your own computer doesn’t work. Sign in with your hub account, and the material is copied into your own workspace. Following the link again later updates the material without discarding the changes you have made. Open the labs on the course JupyterHub.
As a last resort, you can run the notebooks on the cloud through a service called Binder.
All you have to do is click this respective icon for the notebook you want:
There are, however, two big caveats of doing this, the first being that the notebook will shut down after 10 minutes of inactivity (if you leave your window open, this will be counted as “activity”), and this means that you can easily lose all your data and progress if you are not careful. The second is that it will run much slower in the cloud than on your computer.