skip to content
Mahan Balooei

Research

Protein & Sequence Modelling

Protein Language Model-Based Signal Peptide Prediction

Comparing classical statistical methods, SVMs, CNN-BiLSTM, and ESM-2 embeddings

Signal peptides direct proteins to the secretory pathway, and their accurate identification is a long-standing sequence-function prediction problem in proteomics. This project built an end-to-end pipeline for eukaryotic signal-peptide prediction using high-confidence UniProtKB/Swiss-Prot annotations, with MMseqs2 clustering applied for redundancy reduction and biologically meaningful train/benchmark splits.

Four approaches were benchmarked head-to-head: the classical von Heijne position-specific weight matrix, a biochemical-feature SVM, a CNN-BiLSTM sequence model, and a model built on ESM-2 protein language model embeddings. The ESM-2-based model achieved the strongest performance (F1 = 0.962, MCC = 0.957) on a held-out benchmark set. The analysis also examined amino-acid composition, signal-peptide length distributions, kingdom-specific bias, and cleavage-site motifs to ground the results biologically.

Methods: Python · PyTorch · ESM-2 · MMseqs2 · scikit-learn

Code: github.com/MahanBalooei/eukaryotic-signal-peptide-prediction

Structure-Informed HMM Profiling for Kunitz-Type Protease Inhibitor Domains

Profile HMMs versus sequence-similarity search for domain annotation

Protein domain annotation connects classical homology detection to modern representation-learning approaches. This project built an automated workflow using profile Hidden Markov Models (HMMER) and sequence-similarity search (MMseqs2) to detect Kunitz/BPTI-type protease inhibitor domains, processing structure-derived alignments to support domain-level annotation.

Under two-fold cross-validation, the profile-HMM approach reached MCC = 0.997, slightly outperforming the sequence-similarity approach (MCC = 0.991). The profile-HMM approach slightly outperformed sequence-similarity search, illustrating its usefulness for detecting divergent members of a protein family — relevant to remote homology detection more broadly.

Methods: HMMER · MMseqs2 · Python · Bash

Code: github.com/MahanBalooei/HMM_KunitzDomain

Other Computational Projects

Computational Epigenomics Analysis of DNA Methylation (Illumina 450K)

Differential methylation analysis in R/Bioconductor

Using Illumina 450K array data, this project examined differential DNA methylation between sample groups through a full R/Bioconductor workflow: quality control, normalization, and PCA-based batch-effect assessment prior to differential analysis. PCA confirmed biological group — rather than batch — as the dominant source of variance, validating the experimental design before proceeding to differentially methylated region (DMR) detection, visualized through heatmaps and volcano plots.

Methods: R · Bioconductor · minfi

Code: github.com/MahanBalooei/epigenetic-methylation-450k

Chest X-Ray Pneumonia Detection via Transfer Learning

Benchmarking ResNet50, EfficientNetB0, and DenseNet-121 XRV under class imbalance

This coursework project compared three transfer-learning architectures for pneumonia classification from chest radiographs, with attention to class imbalance and clinically meaningful evaluation rather than raw accuracy. Threshold-selection strategies were evaluated explicitly, and ensembling, test-time augmentation, and Grad-CAM-based interpretability were applied to assess whether model attention aligned with clinically relevant regions of the image. DenseNet-121 XRV achieved the strongest performance under a maximum-MCC threshold-selection strategy.

Methods: PyTorch · TensorFlow · Grad-CAM

Code: github.com/MahanBalooei/chest-xray-pneumonia-detection