pycoqc-ng is a maintained continuation of pycoQC
by Adrien Leger and Tommaso Leonardi, which is no longer developed. It keeps the
original reports and adds support for the current Oxford Nanopore toolchain.
What this fork adds
- Dorado / unaligned BAM input via
Bam_to_seq_summary - POD5 input via
Pod5_to_seq_summary - FASTQ input via
Fastq_to_seq_summary, including %GC metrics and plots - Per-barcode length and %GC boxplots, and a basecall summary broken down by barcode
- Runs on current dependencies: numpy 2.x, pandas 2.x and 3.x, plotly 5 to 7, pysam 0.22+, Python 3.9 to 3.13
- A lightweight static PDF report alongside the interactive HTML one
- No compiled extension, so it installs as a pure Python package
Installation
pip install pycoqc-ng
Or the current development version:
pip install git+https://github.com/duceppemo/pycoqc-ng.git
Conda, once the recipe is merged:
conda create -n pycoqc-ng -c conda-forge -c bioconda pycoqc-ng
The bioconda recipe is in review, so the bioconda badge above reads "not found" until it lands.
To work on the code:
git clone https://github.com/duceppemo/pycoqc-ng.git
cd pycoqc-ng
pip install -e ".[dev]"
pytest
Usage
Generate a report from a basecaller summary:
pycoQC -f sequencing_summary.txt -o pycoQC_report.html
With a Guppy barcoding file, plus a machine-readable summary:
pycoQC -f sequencing_summary.txt -b barcoding_summary.txt \
-o pycoQC_report.html -j pycoQC_report.json
If you have no summary file, build one from the basecaller output first:
# Dorado unaligned BAM
Bam_to_seq_summary -f bam_dir/ -s sequencing_summary.txt
# POD5 (raw signal: gives a shorter report, with no read length or quality)
Pod5_to_seq_summary -f pod5_dir/ -s sequencing_summary.txt
# FASTQ (adds %GC)
Fastq_to_seq_summary -f fastq_dir/ -s sequencing_summary.txt
# legacy FAST5
Fast5_to_seq_summary -f fast5_dir/ -s sequencing_summary.txt
Split a summary by barcode:
Barcode_split -f sequencing_summary.txt -o split_dir/
Every command takes --help. pycoQC --default_config prints the plot
configuration, which you can edit and pass back with --config_file.
The API mirrors the CLI:
from pycoQC.pycoQC import pycoQC
pycoQC(summary_file="sequencing_summary.txt",
html_outfile="pycoQC_report.html",
json_outfile="pycoQC_report.json")
Documentation
Full documentation is in the wiki: Installation · Usage · Input formats · Outputs · Configuration · FAQ
The wiki is maintained in docs/wiki/ and published by a workflow, so
send documentation changes as pull requests against those files rather than editing
the wiki directly.
Example reports built from the bundled test data live in docs/pycoQC/results/.
Citing
The method and the original implementation are published in JOSS. If you use this tool, please cite the original authors:
Leger A. and Leonardi T. (2019). pycoQC, interactive quality control for Oxford Nanopore Sequencing. Journal of Open Source Software, 4(34), 1236. https://doi.org/10.21105/joss.01236
To reference a specific version of this software, the Zenodo concept DOI 10.5281/zenodo.23484147 always resolves to the latest release. See CITATION.cff.
Disclaimer
This is research software under active development. It is tested on Linux and macOS.
Licence
GPLv3, unchanged from the original project. See LICENSE.
Copyright © 2019-2024 Adrien Leger & Tommaso Leonardi Copyright © 2023-2026 Marc-Olivier Duceppe
Authors
- Adrien Leger and Tommaso Leonardi — original pycoQC
- Marc-Olivier Duceppe — this fork
Metadata
Release files for pycoqc-ng 3.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pycoqc_ng-3.1.0.tar.gz | 219.6 kB | With provenance | Details for pycoqc_ng-3.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pycoqc_ng-3.1.0-py3-none-any.whl | Python 3 | none | any | Details for pycoqc_ng-3.1.0-py3-none-any.whl |
Total release size: 398.7 kB
Release files / pycoqc_ng-3.1.0.tar.gz
| Download URL | pycoqc_ng-3.1.0.tar.gz |
|---|---|
| Size | 219.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cf1cabe915571540a16b220919a65ff341a46dd398952ca75c485a2d2857cdf0
|
|
BLAKE2b-256 checksum How to use checksums |
d41123a03574e7e13fd51f32e0e8d6f70d56d8eb8e8426fad85bb5a3d4b66238
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 21, 2026.
Transparency logRelease files / pycoqc_ng-3.1.0-py3-none-any.whl
| Download URL | pycoqc_ng-3.1.0-py3-none-any.whl |
|---|---|
| Size | 179.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3a35e5df1ca786f95caf64beda0a87996d0df9f94b7f38f27c9a73b4e59be39c
|
|
BLAKE2b-256 checksum How to use checksums |
2aec8fe13e83e89f5812a7d55e812f49c993d3aec2039f6c719f21390d78aa4d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 21, 2026.
Transparency logSecurity for pycoqc-ng 3.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for pycoqc_ng-3.1.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 21, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.