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) | Date | Material | Practical Lecture (usually Monday) | Date | Material |
|---|---|---|---|---|---|
| L1: Computational Thinking | 1/10/2026 | talk1.pdf | T1: Google Colab, Jupiter notebook and Revisiting python | 5/10/2026 | tutorial1.pdf Tutorial 1 |
| L2: Algorithms for Bioinformatics, Complexity of Algorithms, Recursion | 8/10/2026 | second_lecture.pdf Chapter 1 and 2 of jonesBionformatics | T2: Other Exercises on Python | 12/10/2026 | tutorial2.pdf Tutorial 2 |
| L3: Sorting Problem | 15/10/2026 | third_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/2026 | tutorial3.pdf |
| L4: Class and objects, Advanced Data Structures | 22/10/2026 | fourth_lecture.pdf | T4: Recursion Exercises in Python about classes and objects | 26/10/2026 | tutorial4.pdf |
| L5: Greedy Algorithms | 29/10/2026 | fifth_lecture.pdf Chapter 5 of jonesBionformatics | T5: Complexity analysis calculation Exercises on Greedy Algorithms | 2/11/2026 | Tutorial 5 |
| L6: Dynamic Programming Algorithms | 5/11/2026 | sixth_lecture.pdf Lina’s Training Challenge Chapter 6.1, 6.2, 6.3 of jonesBionformatics | S1: Simulation on Greedy, Recursion and Sorting | 9/11/2026 | S1.pdf Notebook Solution |
| L7: Divide and conquer algorithms: Binary search, Merge Sort (again) and Map Reduce | 12/11/2026 | seventh_lecture.pdf Chapter 7.1 of jonesBionformatics | T6: Exercises on Dynamic Programming and Divide-and-Conquer | 16/11/2026 | Tutorial 6 Useful resources to solve exercises about DP available on this blog |
| L8: Graph Algorithms | 19/11/2026 | eigth_lecture.pdf graphs.pdf Chapter 8.1 of jonesBionformatics | T7: Intro to NetworkX Graph Algorithms on NetworkX and exercises | 23/11/2026 | Tutorial 7 |
| T8: Exercises on Dynamic Programming and Divide-and-Conquer Biopython for sequence alignment | 26/11/2026 | T9: Exercises on Graphs | (Thursday) 3/12/2026 | ||
| L9: Clustering algorithms | 10/12/2026 | Chapter 10.1, 10.2, 10.3 of jonesBionformatics | T10: Pandas for data manipulation and visualization. Exploratory Data Analysis and Clustering Algorithms | 14/12/2026 | |
| S2: Exam Simulation | 17/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
| Date | Note | Location |
|---|---|---|
| 11/01/2027 | TBD | |
| 08/02/2027 | TBD | |
| 12/04/2027 | Extraordinary session only for students respecting this regulation: Article 40, Paragraph 6, https://www.uniroma1.it/en/content/exams | TBD |
| 07/06/2027 | TBD | |
| 12/07/2027 | TBD | |
| 13/09/2027 | TBD |
Past editions
More information on the past editions of the course are available at this page: (2025-2026) PCSII