Questions and answers
Short answers to the questions people ask first.
Do I have to do everything?
No. Nothing is required. The stars are only there so you can see where you have been, not to grade you. Take what helps and skip the rest.
I have never written code. Where do I start?
Start with the warm-up (about 10 minutes), then follow the plan from the top. Do one stage at a time. Each is small, and you can stop whenever you like.
How long does it take?
The warm-up takes about 10 minutes. Each stage after that is roughly 30 to 60 minutes, and there is no deadline. The Core stages add up to about 6 hours, spread over as many days as you like. Part 2 and the optional stages are extra.
I know a little Python. Where should I jump in?
Every notebook sets itself up, so you can start at any stage. Pick the row that describes you:
| If... | Start at |
|---|---|
| You have never coded | Warm-up, then Stage 0 |
| You know variables, loops and a bit of Python, but not pandas | Tables with pandas |
| You know basic pandas and want real data | Checking real data |
| You only want plotting | Plotting distributions |
| You want to practise writing conclusions from data | Checking your conclusion |
| You want to set up your own computer | Setting up your computer |
| You want to run things on the cluster | the HPC page |
If a stage feels too hard, go back one. If it feels too easy, skip ahead.
Do I need to install anything?
Not for Part 1. Everything runs in Google Colab in your browser, and you only need a free Google account. Part 2 is where you set up Python on your own computer, and it is optional.
What are the stars? Are they saved?
At the end of each stage you answer a few questions: run your code, type the answer, and a star lights up. A few ask you to explain in your own words what a result means. Your stars are saved in this web browser, on this computer only. Clearing your browser data or switching devices starts you from zero, but your notebooks stay safe in your own Google Drive.
Does Colab save my work?
Only if you choose File, Save a copy in Drive when you open a notebook. Without that, your edits are lost when the session ends. Files you create inside a session also disappear when it ends.
I am stuck. What do I do?
Read the last line of the error message first: it usually says what is wrong. Reading error messages shows how. Every exercise has a solution you can open after trying, and every question has a nudge.
Do I need to know biology?
No. Each word is explained when it first appears, and Checking real data gives a short background on the dataset.
Where can I learn more Python?
The free Python for Biologists episodes (videos, code and exercises, no programming background needed) are a good companion. The official documentation of each library is the best place to look things up.
Can I use my own computer instead of Colab?
Yes. Download a notebook from Colab (File, Download, .ipynb) and open it in VS Code or Jupyter. Setting up your computer shows how.
How do I reset my stars?
Use the Reset stars link at the top of any page. It clears everything stored in this browser.
Special thanks to Nilay!