Course code: BIO-3027

Scientific Programming with Python in the life sciences

Campus Tromsø
Semester / Year Spring 2025
Level Higher grade level
Credits 10

About the course

The course is available for Master students in life sciences. Minimum 3 and maximum 20 participants.

Students should have a solid grasp of the basics of molecular biology and some experience doing independent scientific work. Participants are required to follow good scientific practice to pass the exam.

The first week introduces the participants to basic computation in Python. It includes all the basics necessary to get started writing working Python code. Programming concepts and techniques in Python are introduced with plentiful exercises gleaned, as far as possible, from the scientific praxis. After the first week the participants will have a good understanding of general computation in Python. They will also have completed some simpler projects. The second week further introduces students to the most common aspects and tasks of scientific coding. Participants learn to use many of Python’s scientific packages in realistic settings. Exercises will mostly be taken from the life sciences. Lastly, students learn about the most important good coding practices. These include needs for documentation and maintainability, as well as techniques for quality assurance.

The more detailed sections of the course are:

  • Introduction to computing and Python
  • The command line, Interactive shell, Scripts
  • Basics, variables, string handling
  • Functions & control flow
  • Object-Oriented Programming
  • File in- and output
  • Error handling
  • Libraries and foreign code
  • Commonly used packages
  • Jupyter Notebooks
  • Data handling with Pandas and SciPy
  • Plotting with Matplotlib and Seaborn
    • Sequence analysis with Biopython
    • Text search with Regular Expressions
    • Generally useful packages
  • Using Blast with own code
  • Best practices: effective and efficient coding
  • Maintainable coding, testing, and debugging
  • Resources for Python programmers

Objectives of the course

Knowledge

  • Understand the core principles of the Python programming language
  • Apply common scientific packages in Python
  • Understand common strategies to solve problems
  • Apply strategies to familiarize themselves with new techniques and tools •Understand criteria for good documentation
  • Understand the need for maintenance of code
  • Understand factors that make code efficient, maintainable, and clean
  • Know how to find resources for further study and skill development

Skills:

  • Dissect larger data sets
  • Isolate and solve complex problems
  • Identify core challenges of data analysis tasks
  • Build and manage larger data analysis projects
  • Develop programming-based problem solving skills •Reflect on own thinking and engineering
  • Understand and extend existing code
  • Build simple data analysis pipelines
  • Explain created code
  • Demonstrate an understanding of testing

Competences:

  • Rephrase scientific problems as computational problems
  • Automate everyday tasks
  • Plan computational work
  • Define coding problems of appropriate difficulty
  • Build logical and systematic thinking

Credit reduction

If you pass the examination in this course, you will get an reduction in credits (as stated below), if you previously have passed the following courses:

  • BIO-8027 Scientific Programming with Python in the life sciences 10 ects

Teaching methods

The course consist of 2 weeks active participation and ~ 3 week full-time (120 hours) working on the project. Course includes ca. 40 hours of lectures and ca. 40 hours computer practical and 20 hours of course preparation.

Home exam where the participants will be required to create a short bioinformatics pipeline to analyze a larger data set and document the pipeline accordingly. Primary evaluation criteria are functionality and reproducibility of the pipeline as well as code documentation. Coding practices in light of readability, maintainability and scientific quality are also considered.

Participants have 4 weeks to complete home exam.

Language of instruction and examination

English

Information to incoming exchange students

This module is open for exchange students with bachelor degree in Biology.

Do you have questions about this module? Please check the following website to contact the course coordinator for exchange students at the faculty: https://en.uit.no/education/art?p_document_id=510412

Examination

Exams
Off campus exam Hand in: 23.05.2025 14:00 Hand out: 22.04.2025 09:00 Duration: 4 Weeks Grade:
Passed / Not Passed
Coursework requirements

To take an examination, the student must have passed the following coursework requirements

Active on-site participation and completion of data analysis problems Grade:
Approved – not approved

Everything you need to know about before, during, and after the exam; registration, absence, appeals, and diplomas: UiT Exams homepage

More info about the coursework requirements

Approved work requirements are valid for three years.

Re-sit examination

Students who do not pass the previous ordinary examination can gain access to a re-sit examination.

Previous years and semesters

Contact us

Responsible unit: Department of Arctic and Marine Biology E-mail: ambstudie@hjelp.uit.no
heiland-2014-3.jpg
Professor
ines.heiland@uit.no