PKParham Kazemi

Parham Kazemi

*This is an algorithmically generated author record based on publicly available information.

Current Organizations / Institutes

The organizations/institutes from the scholar's latest article

Previous Organizations / Institutes

The organizations / institutes from the scholar's other articles in the past ten years


Parham Kazemi has a total of 10 co-authors. Here are the top co-authors by number of shared publications:


Latest Publications

  • Open Access

    AIEdit: Alignment-free genome assembly polisher trained on spaced seed match patterns

    by Parham Kazemi, Ivana Sánchez Olivares, René L. Warren, Lauren Coombe, Inanc Birol

    Polishing, the process of correcting base-level errors in genome assemblies, is a critical step for ensuring accuracy in downstream analyses, such as variant calling, gene annotation, and clinical genomics applications. While recent advances in long-read sequencing technologies have helped improve assembly contiguity and genome completeness, maintaining high base-level accuracy in those genomes remains challenging due to the still appreciable errors associated with certain long-read sequencing technologies. Existing polishing approaches face notable trade-offs: alignment-based methods achieve high accuracy but incur long run times, alignment-free k-mer-based tools are scalable but struggle in regions with dense errors, and machine learning-based polishers often only perform well on specific platforms and require read-to-assembly alignments. We present AIEdit, a machine learning-based polisher designed to operate alignment-free, generalizing across sequencing platforms while remaining computationally efficient. We developed AIEdit by combining spaced seed matching with a neural network trained to detect and correct dense error patterns in an alignment-free manner. We benchmarked the method on simulated and experimental DNA sequencing data. On simulated human long-read assemblies with high error rates, AIEdit reduced error rates by 58% compared to ntEdit’s 21%, completing in 2.7 hours using 230 GB of memory, faster than POLCA and Medaka (multi-day run times) and using 3 × less memory than JASPER (689 GB). On experimental Oxford Nanopore Technologies (ONT) data from the NA24385 human genome, AIEdit increased the Merqury quality score (QV) from 28.7 to 32.9 in 9.5 hours, achieving comparable accuracy to Medaka (QV 32.7) in a fraction of the time (1.5 + days) and outperforming k-mer-based tools ntEdit (QV 31.0) and JASPER (QV 31.7). Overall, AIEdit enables scalable and accurate genome polishing across diverse datasets.

  • Open Access

    ntStat: k-mer characterization using occurrence statistics in raw sequencing data

    by Parham Kazemi, Lauren Coombe, René L. Warren, Inanc Birol

    K -mer counts are fundamental in many genomic data analysis tasks, providing valuable information for genome assembly, error correction, and variant detection. State-of-the-art k -mer counting tools employ various techniques, such as parallelism, probabilistic data structures, and disk utilization, to efficiently extract k -mer frequencies from large datasets. The distribution of k -mer counts in raw sequencing reads reveals key genomic characteristics such as genome size, heterozygosity, and basecalling quality. The number of reads containing a k -mer has also shown application in genome assembly and sequence analysis. We present ntStat, a toolkit that employs succinct Bloom filter data structures to track both k -mer count and depth information and use in downstream applications. ntStat models the k -mer count histogram using evolutionary computation, and infers valuable insights about the genome, sequencing data, and individual k -mers, de novo . ntStat consistently ran faster than DSK, BFCounter, hackgap, and Squeakr in all of our tests. Jellyfish performed faster than ntStat for human data with k = 25 but fell behind with k = 64. KMC3 was faster overall but at a high disk usage and memory cost. ntStat also used less memory than other non-disk-based k-mer counters and typically, 99.5-99.9% of the k-mers processed by ntStat are counted correctly. ntStat’s histogram analysis module detected heterozygosity percentages and k-mer coverage for long-read datasets simulated from a diploid human genome with less than 1% and 0.5-fold difference to the ground truth. The analysis of simulated long read datasets showed an average error of just 2% in k-mer robustness estimates.


  • Open Access

    ntRoot: computational inference of human ancestry at scale from genomic data

    by René L Warren, Lauren Coombe, Johnathan Wong, Parham Kazemi, Inanc Birol

    Motivation: Ancestry information is essential to large cohort studies but is often unavailable or inconsistently measured. For studies involving genome sequencing, existing ancestry prediction methods are constrained by computational demands and complex input requirements. Efficient, scalable approaches are needed to infer ancestry directly from sequencing data while maintaining accuracy and reproducibility. Results: We present ntRoot, a computationally lightweight method for inferring human super-population-level ancestry from whole genome assemblies or short or long sequencing data. Utilizing a reference-guided, alignment-free single nucleotide variant detection framework, ntRoot employs a succinct Bloom filter to efficiently query diverse genomic inputs against a variant reference panel with known genotypes and ancestry. Demonstrated on over 600 human genome samples, including complete genomes, draft assemblies, and 280 independently generated samples, ntRoot accurately predicts geographic labels and shows high concordance with traditional methods such as ADMIXTURE (R2 = 0.9567) when estimating ancestry fractions. Analyses complete within 30 minutes for assemblies and 75 min for 30-fold sequencing data using 13–68 GB of memory. ntRoot provides global and local ancestry inference, delivering high-resolution predictions across genomic loci. This paradigm fills a critical gap in cohort studies by enabling rapid, resource-efficient, and accurate ancestry inference at scale, advancing ancestry characterization in genomic research. Availability: ntRoot is freely available on GitHub (https://github.com/bcgsc/ntroot).


  • Open Access

    ntRoot: Computational Inference of Human Ancestry at Scale from Genomic Data

    by René L Warren, Lauren Coombe, Johnathan Wong, Parham Kazemi, Inanc Birol

    Ancestry information is essential to large cohort studies, yet it is often unavailable or inconsistently measured. For studies with a genome sequencing component, current ancestry prediction approaches are hindered by high computational demands and complex input requirements. We present ntRoot, a computationally-lightweight method for inferring human super-population-level ancestry from whole genome assemblies or raw short or long sequencing data. Utilizing an alignment-free variant detection framework, ntRoot employs a succinct Bloom filter data structure to efficiently query diverse genomic data inputs. Demonstrated on over 600 human genome sequencing datasets—including complete genomes, draft assemblies, and over 280 independently-generated datasets—ntRoot accurately predicts geographic labels, a descriptor of human populations, and shows high concordance with traditional methods such as ADMIXTURE ( R 2 = 0.9567) when predicting ancestry fractions. It achieves these predictions within 30 minutes for complete and draft genomes and within 1 hour and 15 minutes for 30X sequencing data, using a maximum of 13GB and 68GB of RAM, respectively. ntRoot offers both global and local ancestry inference, delivering high-resolution predictions across genomic loci. This paradigm fills a critical gap in cohort studies by enabling rapid, resource-efficient, and accurate ancestry inference at scale, advancing the characterization of continental-level ancestry in the genomic era. Author Summary: Study concept: RLW. Software implementation: RLW, LC, JW, PK. Data analysis: RLW, LC. Manuscript development: RLW, LC. Manuscript editing: RLW, LC, JW, PK, IB. Funding acquisition: IB.

  • Open Access

    Multi-genome synteny detection using minimizer graph mappings

    by Lauren Coombe, Parham Kazemi, Johnathan Wong, Inanc Birol, René L. Warren

    In recent years, the landscape of reference-grade genome assemblies has seen substantial diversification. With such rich data, there is pressing demand for robust tools for scalable, multi-species comparative genomics analyses, including detecting genome synteny, which informs on the sequence conservation between genomes and contributes crucial insights into species evolution. Here, we introduce ntSynt, a scalable utility for computing large-scale multi-genome synteny blocks using a minimizer graph-based approach. Through extensive testing utilizing multiple ∼3 Gbp genomes, we demonstrate how ntSynt produces synteny blocks with coverages between 79–100% in at most 2h using 34 GB of memory, even for genomes with appreciable (>15%) sequence divergence. Compared to existing state-of-the-art methodologies, ntSynt offers enhanced flexibility to diverse input genome sequences and synteny block granularity. We expect the macrosyntenic genome analyses facilitated by ntSynt will have broad utility in generating critical evolutionary insights within and between species across the tree of life.


  • Open Access

    aaHash: recursive amino acid sequence hashing

    by Johnathan Wong, Parham Kazemi, Lauren Coombe, René L. Warren, Inanç Birol

    Motivation: K -mer hashing is a common operation in many foundational bioinformatics problems. However, generic string hashing algorithms are not optimized for this application. Strings in bioinformatics use specific alphabets, a trait leveraged for nucleic acid sequences in earlier work. We note that amino acid sequences, with complexities and context that cannot be captured by generic hashing algorithms, can also benefit from a domain-specific hashing algorithm. Such a hashing algorithm can accelerate and improve the sensitivity of bioinformatics applications developed for protein sequences. Results: Here, we present aaHash, a recursive hashing algorithm tailored for amino acid sequences. This algorithm utilizes multiple hash levels to represent biochemical similarities between amino acids. aaHash performs ∼10X faster than generic string hashing algorithms in hashing adjacent k -mers. Availability and implementation: aaHash is available online at https://github.com/bcgsc/btllib and is free for academic use.

  • Open Access

    aaHash: recursive amino acid sequence hashing

    by Johnathan Wong, Parham Kazemi, Lauren Coombe, René L Warren, Inanç Birol

    K-mer hashing is a common operation in many foundational bioinformatics problems. However, generic string hashing algorithms are not optimized for this application. Strings in bioinformatics use specific alphabets, a trait leveraged for nucleic acid sequences in earlier work. We note that amino acid sequences, with complexities and context that cannot be captured by generic hashing algorithms, can also benefit from a domain-specific hashing algorithm. Such a hashing algorithm can accelerate and improve the sensitivity of bioinformatics applications developed for protein sequences. Here, we present aaHash, a recursive hashing algorithm tailored for amino acid sequences. This algorithm utilizes multiple hash levels to represent biochemical similarities between amino acids. aaHash performs ∼10× faster than generic string hashing algorithms in hashing adjacent k-mers. aaHash is available online at https://github.com/bcgsc/btllib and is free for academic use.


  • Open Access

    ntHash2: recursive spaced seed hashing for nucleotide sequences

    by Parham Kazemi, Johnathan Wong, Vladimir Nikolić, Hamid Mohamadi, René L Warren, Inanç Birol

    Spaced seeds are robust alternatives to k-mers in analyzing nucleotide sequences with high base mismatch rates. Hashing is also crucial for efficiently storing abundant sequence data. Here, we introduce ntHash2, a fast algorithm for spaced seed hashing that can be integrated into various bioinformatics tools for efficient sequence analysis with applications in genome research. ntHash2 is up to 2.1× faster at hashing various spaced seeds than the previous version and 3.8× faster than conventional hashing algorithms with naïve adaptation. Additionally, we reduced the collision rate of ntHash for longer k-mer lengths and improved the uniformity of the hash distribution by modifying the canonical hashing mechanism. ntHash2 is freely available online at github.com/bcgsc/ntHash under an MIT license. Supplementary data are available at Bioinformatics online.


  • Fuzzy Word Sense Induction and Disambiguation

    by Parham Kazemi, Hossein Karshenas

    An inherent property of natural languages is the possibility of distinct meanings for the same word in different sentences. Word Sense Induction (WSI) is the unsupervised process of discovering meanings for a word. The meanings form a sense inventory, which is used for Word Sense Disambiguation (WSD). Fuzzy logic's capability at uncertainty representation makes it perfectly applicable for handling the vague information processed in natural languages for WSI and WSD. In this paper, a novel fuzzy-based methodology is proposed for extracting meaningful information from ambiguous words, where both word senses and sense inventories are modeled as linguistic variables. The proposed method aims to gather a term-set of level-2 fuzzy values for the variables representing words' meanings, to achieve WSI. The values in the term-set are then used for linguistic approximation using a fuzzy inference system designed for WSD based on word's context. The fuzzy word senses are extracted from an input corpus by word substitution; i.e. predicting words suitable as substitutes for the target word using masked language models. These fuzzy substitute sets are then clustered to discover similarities in the semantics they represent. Finally, each cluster is reformed into a sense-value and added to the term-set for the target word. The experimental results show that the proposed system outperforms the systems submitted to the standard SemEval 2010 and 2013 WSI and WSD tasks, and achieves comparable performance with other fuzzy and non-fuzzy state-of-the-art methods.