Skip to main content

CB2060 Applied programming for life science 3 1.5 credits

This is the third programming course of the master program "Molecular techniques in life science", given jointly by KTH, KI and SU, based on the Python programming language. The students will learn important programming workflows, version control and unit testing, and use of important scientific libraries

Choose semester and course offering

Choose semester and course offering to see information from the correct course syllabus and course offering.

Headings with content from the Course syllabus CB2060 (Autumn 2019–) are denoted with an asterisk ( )

Content and learning outcomes

Course contents

  • Scientific Python libraries: numpy, scipy, pandas
  • Workflows with git
  • Collaboration in open-source projects using GitHub
  • Unit testing with pytest and on-line tools for automatic testing and test coverage
  • The Python Package Index

Intended learning outcomes

As a result of taking the course the student will be able to

  • Use common scientific software libraries
  • Work with version control as a personal backup tool and as a platform for collaboration
  • Develop code supported by unit testing
  • Document code with community standard tools
  • Structure and package code for publishing

Course disposition

No information inserted

Literature and preparations

Specific prerequisites

No information inserted

Recommended prerequisites

No information inserted


No information inserted


No information inserted

Examination and completion

If the course is discontinued, students may request to be examined during the following two academic years.

Grading scale

P, F


  • LAB1 - Laboratory work, 1.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.

Other requirements for final grade

Submission of laboratory assignments

Opportunity to complete the requirements via supplementary examination

No information inserted

Opportunity to raise an approved grade via renewed examination

No information inserted


Profile picture Olav Vahtras

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.

Further information

Course web

Further information about the course can be found on the Course web at the link below. Information on the Course web will later be moved to this site.

Course web CB2060

Offered by

CBH/Theoretical Chemistry and Biology

Main field of study

Biotechnology, Molecular Life Science

Education cycle

Second cycle

Add-on studies

No information inserted