PanSVmerger: a flexible pipeline for merging multiallelic structural variants in pangenome graphs
Ting YangiD, Junzhe Shi, Quanyu CheniD, Dongya WuiD, Xinjiang TaniD, Jue RuaniD, Chentao YangiD
Abstract
SummaryPangenome graphs capture extensive genetic diversity but introduce analytical challenges due to the redundant representation of structural variations (SVs). While existing tools effectively address cross-sample redundancy or cross-locus redundancy, none specifically target the intra-locus allelic redundancy inherent to pangenome graphs. Here, we present PanSVmerger, an open-source tool designed to consolidate redundant multiallelic SVs within individual loci using three complementary clustering strategies: adaptive k-mer-based Jaccard distance, global alignment distance via VSEARCH, and length distribution. Validation on HPRC pangenome data demonstrates that PanSVmerger effectively reduces multiallelic complexity (e.g., AC [≥] 3 loci from 62.4% to 4.7% using Strategy A) with a modest trade-off: Recall decreased from 97.13% to 93.58%, while precision improved from 94.95% to 96.56%, yielding an overall F1-score of 95.05%. These results demonstrate that PanSVmerger effectively consolidates redundant allele representations with only a minimal loss of sensitivity, making it well-suited for downstream applications that require clean, non-redundant variants. Availability and implementationPanSVmerger is implemented in Python 3.8+ and freely available under the MIT license at GitHub: https://github.com/tingting100/PanSVmerger. The software requires vcflib, bcftools, and optionally VSEARCH. Comprehensive documentation and tutorials are provided.
02 /Specification & Classification
Click any tag to browse matching papersReproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- SVCROWS: A User-Defined Tool for Interpreting Significant Structural Variants in Heterogeneous Datasets
Noah Brown, Charles Danis, … Jennifer L. Güler·Nucleic Acids ResearchPeer-reviewed·Dec 4, 2025
- SVPG: A pangenome-based structural variant detection approach and rapid augmentation of pangenome graphs with new samples
Tao Jiang, Heng Kang Hu, … Guohua Wang·Nature MethodsPeer-reviewed·Sep 21, 2026
- SVarp: pangenome-based structural variant discovery
Arda Söylev, Jana Ebler, … Tobias Marschall·bioRxiv·Feb 18, 2024
- Truvari: Refined Structural Variant Comparison Preserves Allelic Diversity
Adam C. English, Vipin K. Menon, … Fritz Joachim Sedlazeck·Genome biologyPeer-reviewed·Dec 27, 2022
- PanKmer: k-mer based and reference-free pangenome analysis
Anthony Aylward, Semar Petrus, … Todd P. Michael·BioinformaticsPeer-reviewed·Oct 1, 2023
- K-mer analysis of long-read alignment pileups for structural variant genotyping
Adam C. English, Fabio Cunial, … Fritz Joachim Sedlazeck·Nature CommunicationsPeer-reviewed·Apr 4, 2025