Skip to main content
Till KTH:s startsida

CB1050 Python for Biotechnology 7.5 credits

Information per course offering

Choose semester and course offering to see current information and more about the course, such as course syllabus, study period, and application information.

Termin

Information for Spring 2025 Start 14 Jan 2025 programme students

Course location

AlbaNova

Duration
14 Jan 2025 - 16 Mar 2025
Periods
P3 (7.5 hp)
Pace of study

50%

Application code

60623

Form of study

Normal Daytime

Language of instruction

Swedish

Course memo
Course memo is not published
Number of places

Places are not limited

Target group
No information inserted
Planned modular schedule
[object Object]

Contact

Examiner
No information inserted
Course coordinator
No information inserted
Teachers
No information inserted

Course syllabus as PDF

Please note: all information from the Course syllabus is available on this page in an accessible format.

Course syllabus CB1050 (Autumn 2024–)
Headings with content from the Course syllabus CB1050 (Autumn 2024–) are denoted with an asterisk ( )

Content and learning outcomes

Course contents

The course gives basic knowledge in programming in Python in relation to important applications in chemistry and biotechnology 

  • Introduction to computers and file systems. Terminals and the command line interface. 
  • Writing documents in LaTeX and Overleaf 
  • Conda: installation and environments 
  • Jupyter notebooks 
  • Datatypes, conditionals, iterations
  • File handling and I/O 
  • Packages and modules 
  • Functions and classes, object-oriented programming 
  • Common scientific libraries: Numpy, Scipy, Matplotlib, Seaborn, Pandas 
  • Machine learning with PyCobra 
  • Applications to differential equations, molecular dynamics, bioinformatics and data analysis. 

Intended learning outcomes

On completion of the course the student will be able to 

  • use web-based and command-line interfaces on a computer to use and create program scripts in Python 
  • document code development in Markdown and LaTex 
  • Describe fundamental syntax, data types and structures in Python 
  • Use logical control flows (branching and iteration) 
  • Separate code into units (functions, classes, modules) applied to problem solving.  
  • Use scientific software libraries to develop algorithms, for computing presenting results graphically 

Literature and preparations

Specific prerequisites

Swedish secondary school Mathematics 4

Equipment

No information inserted

Literature

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

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

Examination

  • HEM1 - Homework, 2.0 credits, grading scale: P, F
  • LAB1 - Computer assignment, 2.0 credits, grading scale: P, F
  • TEN1 - On-campus digital assessment, 3.5 credits, grading scale: A, B, C, D, E, FX, 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.

Opportunity to complete the requirements via supplementary examination

No information inserted

Opportunity to raise an approved grade via renewed examination

No information inserted

Examiner

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 room in Canvas

Registered students find further information about the implementation of the course in the course room in Canvas. A link to the course room can be found under the tab Studies in the Personal menu at the start of the course.

Offered by

Main field of study

Technology

Education cycle

First cycle

Add-on studies

No information inserted