|
a |
|
b/README.rst |
|
|
1 |
Compgen Course 2025 |
|
|
2 |
=================== |
|
|
3 |
|
|
|
4 |
Here I collect relevant course material for the Computational Genomics Course (10-16 March 2025), Module 3. |
|
|
5 |
In this module, we learn about how to use deep learning models to integrate multi-omics data in the context of precision oncology applications. |
|
|
6 |
|
|
|
7 |
Info |
|
|
8 |
=================== |
|
|
9 |
|
|
|
10 |
|
|
|
11 |
In this course, we are using two resources to organize the course: |
|
|
12 |
|
|
|
13 |
1. **The Google Classroom** for private course-related information, coursework, meeting announcements: |
|
|
14 |
`Google Classroom <https://classroom.google.com/c/NzQ5MTExMDU2Njkz>`_ |
|
|
15 |
|
|
|
16 |
If you have to share private information such as your email address, please use Google Classroom. |
|
|
17 |
For any other problem that you run into, please use the GitHub Discussions (see below). |
|
|
18 |
|
|
|
19 |
2. **GitHub discussions** on this repository to provide help to each other: |
|
|
20 |
`GitHub Discussions <https://github.com/BIMSBbioinfo/compgen_course_2025_module3/discussions>`_ |
|
|
21 |
|
|
|
22 |
We have created different categories for potential issues you may come across. |
|
|
23 |
Please try to use the relevant category to open a discussion. |
|
|
24 |
Before opening a new discussion topic, please check if something similar is already open. |
|
|
25 |
If you know the answer to a question someone else raised, feel free to help your classmates! We appreciate your support. |
|
|
26 |
|
|
|
27 |
|
|
|
28 |
Course Material |
|
|
29 |
====================== |
|
|
30 |
|
|
|
31 |
Here is the course material we have developed during the workshop. Feel free to share and re-use. |
|
|
32 |
|
|
|
33 |
1. Day-1: |
|
|
34 |
|
|
|
35 |
- `Slides <https://docs.google.com/presentation/d/1Z3m8JOQY0JidM7gIJNFWaOfCaTH-rU47y4zCu5Bk6mE/edit?usp=sharing>`_ |
|
|
36 |
- `Live session <https://youtu.be/7QxRqhFDJiY?feature=shared>`_ |
|
|
37 |
- `Homework <https://github.com/BIMSBbioinfo/compgen_course_2025_module3/tree/main/homeworks/hw1>`_ |
|
|
38 |
- `Homework solutions <https://github.com/BIMSBbioinfo/compgen_course_2025_module3/blob/main/solutions/day1_hw_brca_subtypes_solutions.ipynb>`_ |
|
|
39 |
|
|
|
40 |
2. Day 2: |
|
|
41 |
|
|
|
42 |
- `Slides <https://docs.google.com/presentation/d/1a31RoNIiZYdZFL9cc4OZ3TpgBGrk1IH1brW9VeHo3dQ/edit?usp=sharing>`_ |
|
|
43 |
- `Live session <https://youtu.be/CjTjcu_k2EI?feature=shared>`_ |
|
|
44 |
- `Homework <https://github.com/BIMSBbioinfo/compgen_course_2025_module3/tree/main/homeworks/hw2>`_ |
|
|
45 |
- `Homework solutions <https://github.com/BIMSBbioinfo/compgen_course_2025_module3/blob/main/solutions/day2_hw_lgg_gbm_solutions.ipynb>`_ |
|
|
46 |
|
|
|
47 |
3. Day 3: |
|
|
48 |
|
|
|
49 |
- `Slides <https://docs.google.com/presentation/d/1OvXK4H5W7qbD4jeru8pwnkQdiGz0RfjrW4Omd8kd0dg/edit?usp=sharing>`_ |
|
|
50 |
- `Live session <https://youtu.be/WM4VkjFHOwI?feature=shared>`_ |
|
|
51 |
- `Homework <https://github.com/BIMSBbioinfo/compgen_course_2025_module3/tree/main/homeworks/hw3>`_ |
|
|
52 |
- `Homework solutions <https://github.com/BIMSBbioinfo/compgen_course_2025_module3/tree/main/solutions/hw3>`_ |
|
|
53 |
|
|
|
54 |
4. Day 4: |
|
|
55 |
|
|
|
56 |
- `Live session <https://youtu.be/jYzKw4rF-ck?feature=shared>`_ |
|
|
57 |
- We didn't use any slides and we didn't have any more homeworks. |
|
|
58 |
|
|
|
59 |
|
|
|
60 |
Compute Environment |
|
|
61 |
=================== |
|
|
62 |
|
|
|
63 |
Cloud - Rolv.io |
|
|
64 |
--------------- |
|
|
65 |
|
|
|
66 |
You will be provided usernames and passwords to access the `rolv.io` platform, which comes with prebuilt packages that you will need throughout the course. With this option, you won't need to install any software yourself. |
|
|
67 |
|
|
|
68 |
Please check your email that you signed up for the course, use your credentials to sign in: `Rolv.io Platform <https://platform.dev.cloud.rolv.io/>`_. |
|
|
69 |
Then, click on **Compute -> Launch -> Launch JupyterLab**. Wait for the session to be ready (takes a few minutes). |
|
|
70 |
There you will have a JupyterLab environment with all packages installed. |
|
|
71 |
In this session, you can also use the **terminal**. |
|
|
72 |
|
|
|
73 |
+++++++++++++++++++++ |
|
|
74 |
|
|
|
75 |
**Important Note**: Each session you create on Rolv is **limited** to a **total of 3 hours**. |
|
|
76 |
Please make sure to **backup your work** before terminating your session. |
|
|
77 |
We recommend creating a github repo and have a backup of your work there. |
|
|
78 |
|
|
|
79 |
+++++++++++++++++++++ |
|
|
80 |
|
|
|
81 |
Docker Desktop |
|
|
82 |
--------------- |
|
|
83 |
|
|
|
84 |
We have also built a Docker image that contains the tools you will need. |
|
|
85 |
To be able to use this, you need Docker Desktop, which you can install from here: `Docker Desktop <https://www.docker.com/products/docker-desktop/>`_. |
|
|
86 |
|
|
|
87 |
After you install Docker, open a terminal and execute the following code to open a JupyterLab session with all the tools you need: |
|
|
88 |
|
|
|
89 |
.. code-block:: bash |
|
|
90 |
|
|
|
91 |
docker pull borauyar/flexynesis_image:latest |
|
|
92 |
docker run -it -p 8888:8888 borauyar/flexynesis_image |
|
|
93 |
jupyter lab --ip=0.0.0.0 --no-browser --allow-root |
|
|
94 |
|
|
|
95 |
This will create a link that looks like this: |
|
|
96 |
|
|
|
97 |
http://127.0.0.1:8888/lab?token=<.......> |
|
|
98 |
|
|
|
99 |
Copy-paste that link into your browser to open a JupyterLab session. |
|
|
100 |
|
|
|
101 |
Mamba/pip |
|
|
102 |
--------------- |
|
|
103 |
|
|
|
104 |
If you want to have more control over your system and you know what you are doing, you can also install **flexynesis** on your system using `pip`. |
|
|
105 |
|
|
|
106 |
.. code-block:: bash |
|
|
107 |
|
|
|
108 |
mamba create -n flexenv python==3.11 |
|
|
109 |
mamba activate flexenv |
|
|
110 |
pip install flexynesis jupyterlab snakemake |
|
|
111 |
jupyter lab --ip=0.0.0.0 --no-browser --allow-root |
|
|
112 |
|
|
|
113 |
This will create a link that looks like this: |
|
|
114 |
|
|
|
115 |
http://127.0.0.1:8888/lab?token=<.......> |
|
|
116 |
|
|
|
117 |
Copy-paste that link into your browser to open a JupyterLab session. |
|
|
118 |
|
|
|
119 |
Further Learning |
|
|
120 |
=================== |
|
|
121 |
|
|
|
122 |
Here are some resource I found useful: |
|
|
123 |
|
|
|
124 |
- Fastai: https://course19.fast.ai/part2 |
|
|
125 |
- Pytorch: https://pytorch.org/tutorials/index.html |
|
|
126 |
- Lightning: https://www.datacamp.com/tutorial/pytorch-lightning-tutorial |
|
|
127 |
- Pytorch-Geometric for GNNs: https://pytorch-geometric.readthedocs.io/en/latest/ |
|
|
128 |
- Graph Neural Networks: https://www.youtube.com/watch?v=fOctJB4kVlM&list=PLV8yxwGOxvvoNkzPfCx2i8an--Tkt7O8Z&ab_channel=DeepFindr |
|
|
129 |
- Elements of statistical learning (Rob Tibshirani, Trevor Hastie): https://www.youtube.com/watch?v=LvySJGj-88U&list=PLoROMvodv4rPP6braWoRt5UCXYZ71GZIQ&ab_channel=StanfordOnline |
|
|
130 |
- Computational Genomics in R (Akalin, Franke, Ronen, Uyar): https://compgenomr.github.io/book/ |
|
|
131 |
|
|
|
132 |
|
|
|
133 |
|
|
|
134 |
|
|
|
135 |
|
|
|
136 |
|
|
|
137 |
|
|
|
138 |
|
|
|
139 |
|
|
|
140 |
|