No retraction, correction or concern found when last checked on Oct 16, 2026.
NanoPack2: population-scale evaluation of long-read sequencing data
Wouter De Coster, Rosa Rademakers
Bioinformatics · 2023 · CC BY
doi:10.1093/bioinformatics/btad311
Abstract
Summary. Increases in the cohort size in long-read sequencing projects necessitate more efficient software for quality assessment and processing of sequencing data from Oxford Nanopore Technologies and Pacific Biosciences. Here, we describe novel tools for summarizing experiments, filtering datasets, visualizing phased alignments results, and updates to the NanoPack software suite.
Availability and implementation. The cramino, chopper, kyber, and phasius tools are written in Rust and available as executable binaries without requiring installation or managing dependencies. Binaries build on musl are available for broad compatibility. NanoPlot and NanoComp are written in Python3. Links to the separate tools and their documentation can be found at https://github.com/wdecoster/nanopack. All tools are compatible with Linux, Mac OS, and the MS Windows Subsystem for Linux and are released under the MIT license. The repositories include test data, and the tools are continuously tested using GitHub Actions and can be installed with the conda dependency manager.
Full text
From PubMed Central, U.S. National Library of Medicine, as current on Oct 16, 2026. Paragraph numbers are ours, so an answer can point at one.
1 Introduction
Long-read sequencing from Pacific Biosciences and Oxford Nanopore Technologies (ONT) has evolved from single genomes and small groups of individuals to large population-scale cohorts. Simultaneously, the increasing economic cost and climate impact of computational tasks also necessitate more efficient bioinformatic methods for data quality assessment and processing. However, several tools have been developed for the quality assessment of long-read sequencing data without scaling to populations of >100 genomes. This article presents newly developed tools that fulfill this need and efficiently assess characteristics relevant to long-read genome sequencing, including alignments spanning structural variants and phasing read alignments. Phasing, i.e. assigning each sequenced fragment to a parental haplotype by identifying co-occurring variants, is critical in identifying potential functional variants in association studies and for the pathogenicity of putative compound heterozygous variation. Furthermore, we present an update on NanoPlot and NanoComp from the NanoPack tools.
2 Software description
Improvements to NanoPlot and NanoComp are, among code optimizations, the generation of additional plots, using dynamic HTML plots from the Plotly library, and enabling further exploration by the end users (Supplementary Fig. S1). The tools now also support input using the programming language agnostic Arrow data format. A binary is provided to efficiently generate Arrow files from BAM/CRAM alignments. Chopper is a tool that combines the utility of NanoFilt and NanoLyse, for filtering sequencing reads based on quality, length, and contaminating sequences, delivers a 7-fold speed up compared to the Python implementation, making use of the Rust-Bio library and Rust bindings to minimap2.
Summarization of long-read sequencing experiments using NanoStat is too slow considering the yields that are nowadays common with nanopore sequencing. Cramino, using rust-htslib, provides a much faster alternative for gathering metrics based on the data output, mean coverage, the number of reads, their mean and median length, and sequence identity relative to the reference genome. Long reads span structural variants, and penalizing the read accuracy for a large gap is undesirable. For this reason, Cramino calculates the gap-compressed identity, defined as the edit distance relative to the read length, while counting consecutive alignment gaps as just one difference (Supplementary Methods). Cramino allows filtering on read length and optionally outputs a rudimentary evaluation of the karyotype and biological sex by calculating normalized read counts per chromosome, calculates the MD5 checksum to control for data integrity, provides metrics of the read phasing performance, and can provide metrics on the number of spliced exons for long-read transcriptomics. Importantly, Cramino remains compatible with the rich visualizations from NanoPlot and NanoComp by generating output in the Arrow format on top of the optional lightweight histograms for read length and read identity from Cramino itself. For ONT human genome sequencing with 50× coverage using four cores for BAM/CRAM decompression, Cramino takes 12 min with a peak memory usage of 147 Mb without optional output or 21 min with a peak memory usage of 690 Mb for total output including histograms, karyotype, phasing metrics, MD5 checksum, and generation of the Arrow file. Kyber is a tool for creating standardized plots of log-transformed read length versus (phred-scaled) gap-compressed reference identity, for a single input file or a comparison of up to three CRAM or BAM files (Supplementary Methods and Supplementary Fig. S2).
Phasius is developed to visualize the results of read phasing, which shows in a dynamic genome browser style the length and interruptions between contiguously phased blocks from a large number of individuals together with genome annotation, for example segmental duplications (Supplementary Methods and Fig. 1). Phasius takes 26 s to generate the example figure for 92 individuals in a 10 megabase interval, with eight parallel threads and a peak memory usage of 4.3Gbyte. For the example figure, reads were aligned with minimap2, and alignments phased with longshot.
3 Conclusion
NanoPack now offers tools for evaluating large populations with implementations in a more performant programming language, focusing on features relevant to long-read sequencing. The software suite remains easy to install on all major operating systems and offers interactive visualization in HTML format.
References 13
- 1.
Bailey JA, Gu Z, Clark RA et al Recent segmental duplications in the human genome. Science2002;297:1003–7.
Not in our library10.1126/science.1072047
- 2.
Beyter D, Ingimundardottir H, Oddsson A et al Long-read sequencing of 3,622 icelanders provides insight into the role of structural variants in human diseases and other traits. Nat Genet2021;53:779–86.
Not in our library10.1038/s41588-021-00865-4
- 3.
- 4.
- 5.
De Coster W, Weissensteiner MH, Sedlazeck FJ et al Towards population-scale long-read sequencing. Nat Rev Genet2021;22:572–87.
Not in our library10.1038/s41576-021-00367-3
- 6.
- 7.
Köster J. Rust-Bio: a fast and safe bioinformatics library. Bioinformatics2016;32:444–6.
Not in our library10.1093/bioinformatics/btv573
- 8.
- 9.
Leger A, Leonardi T. a-slide/pycoQC: v2.5.0.23, 2020.
Not in our library
- 10.
Li H. Minimap2: pairwise alignment for nucleotide sequences. Bioinformatics2018;34:3094–100.
Not in our library10.1093/bioinformatics/bty191
- 11.
Martin M et al WhatsHap: fast and accurate read-based phasing. bioRxiv, 085050, 2016..
Not in our library10.1101/085050
- 12.
Pereira R et al Energy efficiency across programming languages: how do energy, time, and memory relate? In: Proceedings of the 10th ACM SIGPLAN International Conference on Software Language Engineering, SLE 2017, pp. 256–267. New York, NY, USA: Association for Computing Machinery, 2017.
Not in our library
- 13.
Watson M, Thomson M, Risse J et al poRe: an R package for the visualization and analysis of nanopore sequencing data. Bioinformatics2015;31:114–5.
Not in our library10.1093/bioinformatics/btu590
Cited by papers we hold 1
Reads
Read by people on this page
None yet.
Checked or read by AI through naulon
None yet.
A person counts once a day per paper. We keep no cookie and no address: a reader is a hash that changes every day. Any month under five reads shows no number.
Are you an author?
Is this your paper?
Claim it to add your note and be paid when agents cite it. Free.