Hoppa till huvudinnehållet
Till KTH:s startsida

CB2330 Foundations of scientific computing for life sciences 7.5 credits

Course memo Autumn 2026-11146

Version 1 – 08/24/2026, 9:10:41 PM

Course offering

Autumn 2026-11146 (Start date 24 Aug 2026, English)

Language Of Instruction

English

Offered By

CBH/Gene Technology

Course memo Autumn 2026

Headings denoted with an asterisk ( * ) is retrieved from the course syllabus version Autumn 2026

Content and learning outcomes

Course contents

The complexity, scale, and messiness of biological data require computational tools, but also critical thinking and an understanding of computational science. This course provides a solid but accessible introduction to the mathematical, statistical, and computational foundations needed to handle incomplete data, construct models, and draw meaningful conclusions. Designed as a “bootcamp” for students without a background in computational science, it focuses on developing skills in the languages ​​of data analysis, modeling, and algorithmic thinking. Students learn to quantify variation, adapt models, and structure real-world systems as networks, equations, or code. The course aims to lay the foundation for independent and critical engagement in modern quantitative biology and biotechnology.

The course is based on an interactive and practically oriented pedagogical method. Each lecture is accompanied by a guided computer exercise in Python. The approach reinforces practical skills in parallel with theoretical understanding. Students gradually build up their own reference material and carry out a project where they apply the course concepts to a computational problem in the life sciences.

Intended learning outcomes

After completing the course, the student should be able to:

  • explain and apply central concepts in probability theory, statistics, modeling and inference relevant to the life sciences.
  • translate biological questions into mathematical and computational problems.
  • construct, adapt and evaluate models of biological systems using Python.
  • analyze simple data structures and apply basic optimization methods.
  • communicate quantitative reasoning effectively.

Learning activities

Twelve two-hour sessions, lecture and lab in the same room. Roughly the first 30 minutes is lecture and the rest is hands-on work depending on the session. Python is the course programming language.

The sessions are run flipped: a short reading and that session's lecture video are assigned ahead. Each session has three parts: Read, Watch, Build, which appear in that session's Canvas module.

Detailed plan

All twelve sessions are two hours, lecture and lab in the same room.

# Date (2026) Time Room
1 Wed 2 Sep 08:00-10:00 U1
2 Fri 4 Sep 13:00-15:00 U1
3 Thu 10 Sep 08:00-10:00 U41
4 Fri 11 Sep 08:00-10:00 U1
5 Thu 17 Sep 15:00-17:00 H1
6 Fri 18 Sep 08:00-10:00 U1
7 Tue 22 Sep 08:00-10:00 U31
8 Wed 23 Sep 15:00-17:00 U1
9 Mon 28 Sep 15:00-17:00 U1
10 Fri 2 Oct 08:00-10:00 U1
11 Mon 5 Oct 15:00-17:00 U1
12 Wed 7 Oct 08:00-10:00 U1
  • Project exhibition: Thu 8 October, 13:00-18:00. Room announced in Canvas and in TimeEdit.
  • Self-study (eget arbete): Mon 12 to Wed 14 October
  • Exam (TEN1 + REF1): Wed 21 October, 08:00-13:00, U41 and U51
  • Re-exam (omtenta): Wed 16 December, 08:00-13:00, M2

Session 5 was moved by KTH Schema on 13 August from 13:00-15:00 in U1 to 15:00-17:00 in H1. Note that H1 is a different building from U1.

TimeEdit is the authoritative schedule. If this course memo and TimeEdit ever disagree, TimeEdit is correct.

Preparations before course start

Literature

Two recommended references, both free online. Neither is required to pass.

  • Bohm & Zech, Introduction to Statistics and Data Analysis for Physicists, Verlag Deutsches Elektronen-Synchrotron, 2010. Free download from the DESY library. Page numbers in the reading assignments are the book's printed page numbers; a PDF viewer counting from the cover is offset by 14 (printed p. 55 is PDF page 69).
  • Holmes & Huber, Modern Statistics for Modern Biology, Cambridge University Press, 2019. Complete text free at huber.embl.de/msmb. Cited by section number only, as the free edition is a web book with no page numbers. Its code is R and its datasets are Bioconductor packages; in this Python course the text and figures transfer and the code does not. Read the sections, do not run the notebooks.

Readings are assigned as short named sections. Each session's reading is posted in that session's Canvas module closer to the session date.

Equipment

Bring a laptop or tablet with a browser and wifi to every session, and your phone for the attendance QR code.

Software

All lab work runs in Google Colab, so nothing needs to be installed on your own machine. Python is the course programming language.

You will also need a free GitHub account. Every session deposits work into your own course repository. Public visibility is not a course requirement: you may keep the repository private and grant access to the examiner only, or work in KTH GitLab instead. The assessed object is the repository and its commit history, not its visibility.

If you have been granted compensatory support (Funka), contact the examiner well before the examination so that the arrangements can be made in time. Support that arrives after the exam is booked cannot always be accommodated.

Examination and completion

Grading scale

A, B, C, D, E, FX, F

Examination

  • TEN1 - Written exam, 3.5 credits, grading scale: A, B, C, D, E, FX, F
  • LAB1 - Laboratory Work, 1.5 credits, grading scale: P, F
  • PRO1 - Project , 2.0 credits, grading scale: P, F
  • REF1 - Reference sheet, 0.5 credits, grading scale: P, F

Based on recommendation from KTH’s coordinator for disabilities, the examiner will decide how to adapt an examination for students with documented disability. The examiner may apply another examination format when re-examining individual students. If the course is discontinued, students may request to be examined during the following two academic years.

The section below is not retrieved from the course syllabus:

Component Credits What it is Scale
TEN1 Written exam 3.5 Covers all twelve sessions A-F
LAB1 Laboratory work 1.5 The twelve builds, submitted as commits to your own repository P/F
PRO1 Project 2.0 A computational life-science problem, released as a repository a stranger can clone and run P/F
REF1 Reference sheet 0.5 A formula and concept sheet you compile P/F

How the components combine. They do not get combined, and that is deliberate. LAB1, PRO1 and REF1 are gates: each is pass/fail and all three must be passed for the course to be reported. TEN1 sets the grade. Nothing done in the labs raises or lowers the exam grade, and exam performance does not affect lab status.

Exam (TEN1 + REF1): Wednesday 21 October 2026, 08:00-13:00, rooms U41 and U51.
Re-exam (omtenta): Wednesday 16 December 2026, 08:00-13:00, room M2.
Project exhibition: Thursday 8 October 2026, 13:00-18:00. Room announced in Canvas and in TimeEdit.
Project repository deadline: Sunday 11 October 2026, 23:59.

Permitted aids: the exam is closed-resource except for your own reference sheet (REF1). Deciding what earns a line on that sheet is the revision exercise.

Collaboration. The project is done in groups. The labs and the reference sheet are individual. You may discuss them freely, but the notebook you push and the sheet you bring to the exam must be your own.

The project (PRO1). The project is exhibited rather than presented. On 8 October each group sets up a demo of its work and the class circulates in two rounds, so that every group both exhibits and visits the others. Examiner and teaching assistants assess each exhibit pass/fail on the day, against criteria announced in advance. Students also vote in a small number of named categories; the vote is for recognition only and has no effect on any grade, as grades are decided by the examiner. Each group also submits its repository with a one-page README by 11 October. A stranger should be able to clone it and run it.

LAB1 is assessed on participation. It is recorded two ways: scan the attendance QR code shown in the session, and push that session's notebook to your own course repository. The criterion is that the work has been done; it will not be assessed for accuracy or performance.

Grading criteria/assessment criteria

The criteria are written against the intended learning outcomes. Grades A to E are all passing grades, separated by the degree to which the outcomes are demonstrated.

Grade Points What it demonstrates
A 90-100 Outcomes 1-4 demonstrated throughout. Methods correctly applied, the reasoning behind the choice of method made explicit, and the limits of a method identified without being prompted.
B 80-89 Outcomes 1-4 demonstrated, with minor gaps in the justification of method choice.
C 70-79 Outcomes 1-4 demonstrated. Methods correctly applied; reasoning present but incomplete.
D 60-69 Outcomes 1-3 demonstrated. Methods mostly correct; errors do not indicate a misunderstanding of the underlying concept.
E 40-59 Outcomes 1-3 demonstrated at the lowest passing level: the central concepts are present and can be applied.
Fx 35-39 Narrowly below E. Eligible for complementary examination against the outcomes not reached.
F 0-34 Below Fx.

Outcome 5 (communicating quantitative reasoning) is examined in PRO1, and the applied half of outcome 4 in PRO1 as well. Both are pass/fail, so neither affects the grade.

Opportunity to complete the requirements via supplementary examination

A grade of Fx on TEN1 marks that the module can be completed to a passing grade within a limited time. The complementary task is designed from the specific intended learning outcomes you did not reach, so that you can show you have reached them at the lowest passing level.

You have 15 working days from the day the Fx grade is communicated to you through Ladok; after that the complement can no longer be made.

It is your responsibility to initiate the complement. Contact the examiner once the Fx grade appears in Ladok. The complement takes the form of an oral examination on the outcomes you did not reach, arranged individually.

Opportunity to raise an approved grade via renewed examination

A passing grade on TEN1 may be raised (plussning). Plussning is done at the ordinary examination or at a re-examination occasion. A separate occasion will not be arranged for it. For this course that means the re-exam on 16 December 2026, and you register for it in the same way as for the ordinary examination.

Plussning does not apply to a course that is already part of an issued degree. LAB1, PRO1 and REF1 are pass/fail and so have no grade to raise.

Alternatives to missed activities or tasks

Up to five of the twelve sessions may be missed and compensated. For each one, push the session's notebook and complete the compensation task. You may be asked to answer comprehension questions about your work, and it is up to the discretion of the examiner to decide if the work satisfies the participation requirement for that session.

Missing more than five means LAB1 is not passed in this course offering.

Reporting of exam results

Results for all components and the final grade are registered in Ladok within 15 working days of the examination. For the 21 October exam that means by 11 November 2026.

Ethical approach

  • All members of a group are responsible for the group's work.
  • In any assessment, every student shall honestly disclose any help received and sources used.
  • In an oral assessment, every student shall be able to present and answer questions about the entire assignment and solution.

The section below is not retrieved from the course syllabus:

You must honestly disclose any help received and any sources used. Where work is assessed orally, each student must be able to present and answer questions about the work submitted. All members of a group are responsible for the group's work.

You are obliged to read and follow the instructions given about what applies during the examination. Failure to do so may lead to disciplinary sanctions.

Use of generative AI. You may use generative AI in this course. You may generate any code you like, and you must be able to say what every line does and how you would know if it were wrong. The suggested protocol is: attempt it, get stuck, stay stuck for a bounded and deliberate period, then use every tool you like, including asking the machine to explain what you got wrong. The exam is closed-resource except for your own reference sheet. The full course-specific statement is on the Canvas page "Use of generative AI in CB2330".

Further information

No information inserted

Round Facts

Start date

24 Aug 2026

Course offering

  • Autumn 2026-11146

Language Of Instruction

English

Offered By

CBH/Gene Technology

Contacts

Communication during course

Course-wide messages are posted as Announcements in Canvas. Questions of general interest are best asked there rather than by email, so that the answer reaches everyone.

Course Coordinator

Teachers

Examiner

Other Contacts