Objective

The course aim to introduce the algorithmic approach to solving problems correctly and efficiently. Algorithms are ubiquitous in bioinformatics and are often at the interface of computer science and biology. Well established algorithmic techniques will be studied as well as ways to encode them in a computer program using python.

Program

The course aim to introduce computational thinking and the algorithmic approach to solving problems correctly and efficiently. Algorithms are ubiquitous in bioinformatics and are often at the interface of computer science and biology. We will introduce the algorithmic approach and the theory of algorithms for studying correctness and efficiency, understanding what makes a good algorithm and how to classify them.

We will study characteristic algorithmic techniques and the related computational ideas that are relevant to the field of biology and how to select the most suitable to solve a given task. Topics covered include

  • Searching algorithms
  • Greedy Algorithms
  • Dynamic programming algorithms
  • Graph-based algorithms
  • Divide-and-Conquer algorithms
  • Clustering and Tree-based algorithms

We will work with Python and how to write a computer program encoding a given algorithm.

Reference book and material

  • @jonasBionformatics: NEIL C. JONES AND PAVEL A. PEVZNER: An Introduction to Bioinformatics Algorithms, A Bradford Book, The MIT Press, Cambridge, Massachusetts, London, England, 2004.

Contact and discussion

All announcements and discussions will be carried out through Google Classroom a2xnabfa.

Tentative detailed program

Theoretical lecture (usually Thursday)DateMaterialPractical Lecture
(usually Monday)
DateMaterial
L1: Computational Thinking1/10/2026talk1.pdfT1: Google Colab, Jupiter notebook and Revisiting python
5/10/2026tutorial1.pdf

Tutorial 1
L2: Algorithms for Bioinformatics, Complexity of Algorithms, Recursion8/10/2026second_lecture.pdf

Chapter 1 and 2 of jonesBionformatics
T2: Other Exercises on Python


12/10/2026tutorial2.pdf

Tutorial 2
L3: Sorting Problem15/10/2026third_lecture.pdf

Selection Sort Chapter 2.6 of jonesBionformatics

Merge Sort Chapter 7.1 of jonesBionformatics

QuickSort Chapter 12.1 of jonesBionformatics
T3:
Group quiz on Python

Recursion

19/10/2026tutorial3.pdf
L4: Class and objects,
Advanced Data Structures
22/10/2026fourth_lecture.pdfT4:
Recursion

Exercises in Python about classes and objects

26/10/2026tutorial4.pdf
L5:
Greedy Algorithms
29/10/2026fifth_lecture.pdf

Chapter 5 of jonesBionformatics
T5:
Complexity analysis calculation

Exercises on Greedy Algorithms
2/11/2026Tutorial 5
L6:
Dynamic Programming Algorithms

5/11/2026sixth_lecture.pdf

Lina’s Training Challenge

Chapter 6.1, 6.2, 6.3 of jonesBionformatics
S1:
Simulation on Greedy, Recursion and Sorting

9/11/2026S1.pdf

Notebook

Solution
L7:
Divide and conquer algorithms:
Binary search, Merge Sort (again) and Map Reduce
12/11/2026seventh_lecture.pdf

Chapter 7.1 of jonesBionformatics
T6: Exercises on Dynamic Programming and Divide-and-Conquer

16/11/2026Tutorial 6

Useful resources to solve exercises about DP available on this blog
L8: Graph Algorithms
19/11/2026eigth_lecture.pdf

graphs.pdf

Chapter 8.1 of jonesBionformatics
T7:
Intro to NetworkX

Graph Algorithms on NetworkX and exercises

23/11/2026Tutorial 7
T8: Exercises on Dynamic Programming and Divide-and-Conquer

Biopython for sequence alignment
26/11/2026T9: Exercises on Graphs
(Thursday)
3/12/2026


L9: Clustering algorithms10/12/2026Chapter 10.1, 10.2, 10.3 of jonesBionformaticsT10: Pandas for data manipulation and visualization.

Exploratory Data Analysis and Clustering Algorithms
14/12/2026
S2: Exam Simulation17/12/2026

Exercises

At this page, there is a list of exercises we have seen during the semester or that has been left as homework.

If you want to further train yourself with other exercises you can use Rosalind “Algorithmic Heights”, Rosalind “Bioinformatics Stronghold” and Hackerrank.

To train on python other exercises are available at Rosalind “Python Village”

Evaluation

The course will be evaluated based on the performance of a written test. Here some details: slides

Exam dates

DateNoteLocation
11/01/2027TBD
08/02/2027TBD
12/04/2027Extraordinary session only for students respecting this regulation: Article 40, Paragraph 6, https://www.uniroma1.it/en/content/examsTBD
07/06/2027TBD
12/07/2027TBD
13/09/2027TBD

Past editions

More information on the past editions of the course are available at this page: (2025-2026) PCSII