Skip to content
naulon

No retraction, correction or concern found when last checked on Oct 22, 2026.

MinIONQC: fast and simple quality control for MinION sequencing data

R Lanfear, M Schalamun, D Kainer and 2 more

Bioinformatics · 2018 · CC BY

doi:10.1093/bioinformatics/bty654

Abstract

Summary. MinIONQC provides rapid diagnostic plots and quality control data from one or more flowcells of sequencing data from Oxford Nanopore Technologies’ MinION instrument. It can be used to assist with the optimisation of extraction, library preparation, and sequencing protocols, to quickly and directly compare the data from many flowcells, and to provide publication-ready figures summarising sequencing data.

Availability and implementation. MinIONQC is implemented in R and released under an MIT license. It is available for all platforms from https://github.com/roblanf/minion_qc.

Full text

From PubMed Central, U.S. National Library of Medicine, as current on Oct 22, 2026. Paragraph numbers are ours, so an answer can point at one.

1 Introduction

Oxford Nanopore Technologies’ (ONT) small and portable MinION instrument is revolutionising DNA sequencing. It allows users to go from sample to sequence in hours, it can sequence extremely long DNA molecules, and it provides many gigabases of data from each flowcell. Because of this, many research groups and companies are adopting the instrument for in-house and in-field sequencing.

Here we present MinIONQC: a fast, lightweight, and non-interactive script to provide quality control and diagnostic analyses of sequencing data from the MinION. MinIONQC differs from related tools in that it is focussed primarily on the rapid and replicable comparison of large volumes of sequencing data from multiple flowcells. MinIONQC will assist with cases where the rapid and repeated comparison of data from multiple flowcells is required, including the application of MinION sequencing in new use cases (e.g. with new tissues or in new settings), and in completing large genome projects which require the aggregation of data from many flowcells.

2 Software description

MinIONQC is written in R and designed to be run non-interactively from the command line. This facilitates automation of the script on all platforms, including in bioinformatics pipelines run on remote servers. MinIONQC is packaged as a single lightweight script that will work on all platforms that run R. It requires minimal installation and has just a small number of dependencies that can be installed in under a minute. It has extensive documentation, a full test suite, and example input and output files available at https://github.com/roblanf/minion_qc. On a standard desktop computer with four processors, it is capable of analysing output from 24 flowcells, which produced a combined 107GB of sequencing data, in 25 min.

3 Quality control of a single flowcell

For each flowcell, MinIONQC outputs a human- and machine-readable summary file in YAML format. This file contains information on the total number of sequenced bases and reads, as well as a number of widely-used statistics of read lengths and quality scores, including the number of reads and bases from ‘ultra-long’ reads, defined as the largest set of reads with an N50 greater than 100 KB. All statistics are calculated for the complete dataset, as well as for the subset of reads that pass a user-defined quality score cutoff.

MinIONQC produces ten plots for each flowcell. These include standard plots such as the distributions of read lengths and quality scores, the number of reads generated per hour, and the total yield of bases over time. MinIONQC also produces plots designed to assist with optimisation of laboratory procedures for subsequent sequencing runs such as a physical map of the flowcell including every sequenced read, which facilitates rapid diagnosis of common issues such as bubbles introduced during library loading, and the presence of contaminants which block pores on the flowcell during sequencing (Fig. 1A).

4 Comparing and combining data from multiple flowcells

Many projects, such as those that seek to assemble large or repeat-rich genomes, require the aggregation of data from many flowcells. MinIONQC simplifies the assessment of such data by allowing users to run the script on a single parent directory that contains multiple ‘sequencing_summary.txt’ files (produced by ONT’s Albacore and Guppy basecallers) in sub-directories. The resulting diagnostics simplify the management of larger projects by making it easy to assess the point at which sufficient data have been generated to move from sequencing to downstream analyses such as genome assembly.

MinIONQC produces two kinds of plots when given multiple flowcells as input: plots of the combined data that are directly comparable to those produced for a single flowcell (see above); and plots designed to compare the flowcells to each other. The six comparison plots include distributions of read lengths and quality scores, the changes in both quantities over the course of each sequencing run, the total yield of bases over time (Fig. 1B), and the total yield of bases by minimum read length (Fig. 1C). The latter plot is particularly useful in comparing the effects of different DNA extraction, cleanup, and library-preparation methods on the final distribution of read lengths. For example, Figure 1C shows data from one flowcell (RB7_A2, in red) in which DNA was size-selected using a Blue Pippin instrument, and another (RB7_D3, in blue) in which DNA was size selected using a bead-based protocol. Both approaches produced similar total yields of high-quality reads (roughly 3.5 gigabases, as shown by the point at which each line in Fig. 1C crosses the y-axis) but the yield of reads greater than 20KB was clearly higher when using the Blue Pippin, as shown by the red line in Figure 1C being higher than the blue line at a value of 20KB on the x axis.

5 Conclusion

MinIONQC is a fast and efficient script to analyse the output from ONT’s MinION instrument. We hope that it will be useful to the community, and will facilitate further improvements and developments in the ways that the MinION is used.

Funding

This work was supported by Australian Research Council grants to R.M.L and B.S.

Conflict of Interest: none declared.

References 20

  1. 1.

    Austin C.M. et al (2017 ) De novo genome assembly and annotation of Australia's largest freshwater fish, the Murray cod (Maccullochella peelii), from Illumina and Nanopore sequencing read. Gigascience, 6, 1. 6.

    Not in our library10.1093/gigascience/gix063

  2. 2.

    Davis T.L. (2018 ) Optparse: Command Line Option Parser. R Package Version 1.6.0. CRAN: the Comprehensive R Archive Network.

    Not in our library

  3. 3.
  4. 4.

    Dowle M., Srinivasan A. (2018 ) Data.table: extension of ‘Data.frame’ R Package Data.table Version 1.11.4 CRAN: The Comprehensive R Archive Network.

    Not in our library

  5. 5.

    Garnier S. (2018 ) Viridis: default Color Maps from ‘matplotlib’ R Package Version 0.5.1. CRAN: the Comprehensive R Archive Network.

    Not in our library

  6. 6.
  7. 7.

    Jansen H.J. et al (2017 ) Rapid de novo assembly of the European eel genome from nanopore sequencing reads. Sci. Rep., 7, 7213.

    Not in our library10.1038/s41598-017-07650-6

  8. 8.

    Lee B., Rowe Y. (2016 ) futile.logger: A Logging Utility for R. R package version 1 the Comprehensive R Archive Network. 4, 3. CRAN.

    Not in our library

  9. 9.
  10. 10.

    Schalamun M., Schwessinger B. (2017 ) DNA Size Selection (>1kb) and Clean up Using an Optimized SPRI Beads Mixture. protocols.io.

    Not in our library

  11. 11.

    Schmidt M.H.W. et al (2017 ) De novo assembly of a new Solanum pennellii accession using nanopore sequencing. Plant Cell, 29, 2336–2348.

    Not in our library10.1105/tpc.17.00521

  12. 12.

    Stephens J. et al (2018 ) Yaml: Methods to Convert R Data to YAML and Back. R Package Version 2.1.19. CRAN: the Comprehensive R Archive Network.

    Not in our library

  13. 13.

    Stewart R.D., Watson M. (2017 ) poRe GUIs for parallel and real-time processing of MinION sequence data. Bioinformatics, 33, 2207–2208.

    Not in our library10.1093/bioinformatics/btx136

  14. 14.

    Tan M.H. et al (2018 ) Finding Nemo: hybrid assembly with Oxford Nanopore and Illumina reads greatly improves the clownfish (Amphiprion ocellaris) genome assembly. Gigascience, 7, 1–6.

    Not in our library10.1093/gigascience/gix137

  15. 15.

    Watson M. et al (2015 ) poRe: an R package for the visualization and analysis of nanopore sequencing data. Bioinformatics, 31, 114–115.

    Not in our library10.1093/bioinformatics/btu590

  16. 16.

    Wickham H. (2009 ) ggplot2:Elegant graphics for data analysis Springer, New York.

    Not in our library

  17. 17.

    Wickham H. (2007 ) Reshaping Data with the reshapePackage. J. Stat. Software, 21, 1–20.

    Not in our library

  18. 18.

    Wickham H. (2017 ) Scales: Scale Functions for Visualization. R Package Version 0.5.0. CRAN: the Comprehensive R Archive Network.

    Not in our library

  19. 19.

    Wickham H. (2011 ) The split-apply-combine strategy for data analysis. J. Stat. Software, 40, 29.

    Not in our library

  20. 20.

    Wickham H. et al (2017 ) Readr: Read Rectangular Text Data. R Package Version 1.1.1. CRAN: the Comprehensive R Archive Network.

    Not in our library

Cited by papers we hold 4

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.