Skip to main content

H5 Validator - Validation tool for testing Fast5 files against the schema

ont_h5_validator is a simple tool for validating the structure of fast5 files against the file schema maintained by Oxford Nanopore Technologies

It provides:

  • Command line validation tools for validating fast5 files

  • Json format data schemas specifying the fast5 standard

NB The h5_validator is intended as a tool to validate the output of the latest MinKNOW-core. The schemas are currently intended to be restrictive and therefore additional fields (for example those added by albacore or guppy) will not be expected in the schema and flagged as invalid.

Getting Started

The ont_h5_validator is available on PyPI and can be installed via pip:

pip install ont-h5-validator

Alternatively it is available on github where it can be built from source:

git clone https://github.com/nanoporetech/ont_h5_validator
cd ont_h5_validator
python setup.py install

Dependencies

ont_h5_validator is a pure python project and should run on most python versions and operating systems.

It requires:

Interface - Console Scripts

The ont_h5_validator provides a console script for validating fast5 files against a JSON schema. This script is added during installation of this project and can be called from the command line or from within python.

h5_validate

This script expects:

h5_validate
    schema <(path) json schema file (see note-1)>
    filename <(path) fast5 file>
    [optional] -v, --verbose <(bool) show additional verbose output; default=False>
    [optional] --debug <(bool) include additional debug logging; default=False>

note-1: if the schema file is not found on the path specified the script will additionally look in the default directory h5_validator/schemas/

example usage:

h5_validate multi_read_fast5.yaml /data/multi_read.fast5 -v

Metadata

Release files for ont-h5-validator 2.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ont-h5-validator 2.0.1
File Size Uploaded
ont-h5-validator-2.0.1.tar.gz 10.8 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for ont-h5-validator 2.0.1
File Interpreter ABI Platform
ont_h5_validator-2.0.1-py3.4.egg Legacy Egg format - - Details
ont_h5_validator-2.0.1-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 43.3 kB

Release files / ont-h5-validator-2.0.1.tar.gz

Download URL ont-h5-validator-2.0.1.tar.gz
Size 10.8 kB
Tags Source
SHA-256 checksum
How to use checksums
b368057ae69072391b52bb2b3df8fcb9586b0a579f3a2bca38d8202ce9e52c3c
BLAKE2b-256 checksum
How to use checksums
e7698e8de3bff685eb34be976db79eedc17d9ec0fb376288b96c973cf01cc210
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.4.3

Release files / ont_h5_validator-2.0.1-py3.4.egg

Download URL ont_h5_validator-2.0.1-py3.4.egg
Size 19.2 kB
Tags Egg
SHA-256 checksum
How to use checksums
0375c1290deac2abe37dee3cd9edb8d1b85e9f3343a3b87cf927586e6e9910f6
BLAKE2b-256 checksum
How to use checksums
58dc78c9c61a371944b6125f72476fac6939621ab720babc88250a93fbf3312b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.4.3

Release files / ont_h5_validator-2.0.1-py2.py3-none-any.whl

Download URL ont_h5_validator-2.0.1-py2.py3-none-any.whl
Size 13.4 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
680635e8bfd6a2b8ac787c7b2477d7c766528570af107dcfd79381de853a774d
BLAKE2b-256 checksum
How to use checksums
20f5e68476c9963d4198dbf3943c2faa911b64bc07f6a587b23fb9efe7487485
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.4.3

Release history Release notifications | RSS feed

This release

2.0.1 This release

3 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page