Phirefly: hierarchical quantum haplotype phasing at the chromosome scale
- 1Dana-Farber Cancer Institute and Harvard University
Abstract
Motivation: Read-based phasing links alleles on the same homologous haplotype. It plays a critical role in long-read variant calling and variant analysis. Many phasing algorithms have been developed. This includes QHap, the only quantum-inspired algorithm for read-based phasing. QHap does not run on quantum hardware due to the scale of the practical problems. Results: We developed Phirefly, the first practical quantum algorithm for read-based phasing with the key phasing step executed on quantum hardware. Phirefly uses a CPU-based algorithm to identify small disjoint groups of SNPs linked by strong, consistent read support. These groups are called phaselets and are easy to phase. To phase across phaselets, which is harder due to weak or conflicting read support, Phirefly locks the relative SNP phases within each phaselet and applies a quantum algorithm, effectively treating each phaselet as one heterozygous variant. Phirefly runs on physical quantum computers from D-Wave and IBM, as well as with a quantum-inspired classical solver using CPU or GPU. It achieves broadly comparable accuracy to QHap and mainstream phasing algorithms on HG002 datasets. Availability and implementation: https://github.com/wangyf1125/Phirefly
Related
- The First Chromosome-Scale, Haplotype-Resolved Genome Assembly of a Commercially Important Flatfish, Summer Flounder ( Paralichthys dentatus )
- Haplotype-Resolved Chromosome-Scale Genome Assembly of Lonicera macranthoides Hand.-Mazz. Reveals Genetic Determinants of Bioactive Compound Biosynthesis and Phytohormone-Mediated Metabolic Regulation
- Haplotype-phased, chromosome-level, annotated genome assembly of the soybean rust pathogen Phakopsora pachyrhizi
- Chromosome-level, haplotype-resolved genome assembly of the tanniferous forage legume big trefoil (Lotus pedunculatus Cav.) using CiFi
- Long-range genomic loci stochastically assemble into hierarchical chromosome structures
BibTeX
@misc{wang2026phirefly,
title = {{Phirefly: hierarchical quantum haplotype phasing at the chromosome scale}},
author = {Y. Wang and M. K. Le and H. Li},
howpublished = {bioRxiv},
year = {2026},
month = nov,
doi = {10.64898/2026.11.24.768929},
url = {https://www.biorxiv.org/content/10.64898/2026.11.24.768929v1},
note = {CC BY},
}
RIS
TY - UNPB
TI - Phirefly: hierarchical quantum haplotype phasing at the chromosome scale
AU - Y. Wang
AU - M. K. Le
AU - H. Li
PY - 2026
DA - 2026/11/24
PB - bioRxiv
DO - 10.64898/2026.11.24.768929
UR - https://www.biorxiv.org/content/10.64898/2026.11.24.768929v1
AB - Motivation: Read-based phasing links alleles on the same homologous haplotype. It plays a critical role in long-read variant calling and variant analysis. Many phasing algorithms have been developed. This includes QHap, the only quantum-inspired algorithm for read-based phasing. QHap does not run on quantum hardware due to the scale of the practical problems. Results: We developed Phirefly, the first practical quantum algorithm for read-based phasing with the key phasing step executed on quantum hardware. Phirefly uses a CPU-based algorithm to identify small disjoint groups of SNPs linked by strong, consistent read support. These groups are called phaselets and are easy to phase. To phase across phaselets, which is harder due to weak or conflicting read support, Phirefly locks the relative SNP phases within each phaselet and applies a quantum algorithm, effectively treating each phaselet as one heterozygous variant. Phirefly runs on physical quantum computers from D-Wave and IBM, as well as with a quantum-inspired classical solver using CPU or GPU. It achieves broadly comparable accuracy to QHap and mainstream phasing algorithms on HG002 datasets. Availability and implementation: https://github.com/wangyf1125/Phirefly
ER -