Hdf5 validator package
Project description
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
Source code: https://github.com/nanoporetech/ont_h5_validator
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
File details
Details for the file ont-h5-validator-2.0.1.tar.gz
.
File metadata
- Download URL: ont-h5-validator-2.0.1.tar.gz
- Upload date:
- Size: 10.8 kB
- Tags: Source
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b368057ae69072391b52bb2b3df8fcb9586b0a579f3a2bca38d8202ce9e52c3c |
|
MD5 | b7045ced8f8fac435d34a55b5f872342 |
|
BLAKE2b-256 | e7698e8de3bff685eb34be976db79eedc17d9ec0fb376288b96c973cf01cc210 |
File details
Details for the file ont_h5_validator-2.0.1-py3.4.egg
.
File metadata
- Download URL: ont_h5_validator-2.0.1-py3.4.egg
- Upload date:
- Size: 19.2 kB
- Tags: Source
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0375c1290deac2abe37dee3cd9edb8d1b85e9f3343a3b87cf927586e6e9910f6 |
|
MD5 | 5fe10ac1ae097995d4f131a460ca2ca0 |
|
BLAKE2b-256 | 58dc78c9c61a371944b6125f72476fac6939621ab720babc88250a93fbf3312b |
File details
Details for the file ont_h5_validator-2.0.1-py2.py3-none-any.whl
.
File metadata
- Download URL: ont_h5_validator-2.0.1-py2.py3-none-any.whl
- Upload date:
- Size: 13.4 kB
- Tags: Python 2, Python 3
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 680635e8bfd6a2b8ac787c7b2477d7c766528570af107dcfd79381de853a774d |
|
MD5 | 6972aafe235bb638048a50f4c193e3a6 |
|
BLAKE2b-256 | 20f5e68476c9963d4198dbf3943c2faa911b64bc07f6a587b23fb9efe7487485 |