Biovalid
Quick validation of bioinformatics files
Pipeline information
- Author(s): Gino Raaijmakers
- Organization: Rijksinstituut voor Volksgezondheid en Milieu (RIVM)
- Department: Infectieziekteonderzoek, Diagnostiek en Laboratorium Surveillance (IDS), Informatiebeheer (IBR)
- Start date: 23 - 07 - 2025
About this project
Biovalid is a lightweight Python library and CLI tool for fast, robust validation of bioinformatics files such as BAM, FASTA, and GFF. It checks file integrity, headers, and format compliance, helping users catch common issues before downstream analysis.
Features
- File Format Support: Validate BAM/BAI, FASTA/FASTQ, VCF and GFF files.
- Lightweight: No dependencies.
- Dual Usage: Use as a CLI tool or import as a Python library.
- Customizable: Enable verbose logging, save logs to a file, or return boolean results.
- Extensible: Designed to support additional file formats in the future.
Installation
Conda
conda create -n biovalid python>=3.10
conda activate biovalid
pip install biovalid
Pip
pip install biovalid
Parameters & Usage
Command-line help
python3 -m biovalid --help
Required parameters
-i, --inputPath to the file or directory to validate
Optional parameters
-v, --verboseEnable verbose logging-l, --log_filePath to a log file-b, --bool_modeReturn True/False instead of raising exceptions
Example command
python3 -m biovalid -i /path/to/file.bam
Library usage
from biovalid import BioValidator
validator = BioValidator(verbose=True)
validator.validate_files("path/to/file")
Output
- Logging: Validation results and errors are printed to the console and optionally saved to a log file.
- Return values: In bool mode, returns
Trueif all files are valid,Falseotherwise.
Issues
Future ideas
- Add support for more file formats (e.g., SAM, Phylip, genbank).
- Improve error messages and reporting.
- Make the tool more user-friendly for external users.
License
This project is licensed under the AGPL-3.0 license. See the LICENSE file for details.
Contact
- Contact person: Gino Raaijmakers
- Email: gino.raaijmakers@rivm.nl
Acknowledgements
Thanks to the IDS and IBR teams at RIVM for their support and feedback.
Metadata
Release files for biovalid 0.5.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 |
|---|---|---|---|---|
| biovalid-0.5.0.tar.gz | 2.9 MB | With provenance | Details for biovalid-0.5.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| biovalid-0.5.0-py3-none-any.whl | Python 3 | none | any | Details for biovalid-0.5.0-py3-none-any.whl |
Total release size: 3.0 MB
Release files / biovalid-0.5.0.tar.gz
| Download URL | biovalid-0.5.0.tar.gz |
|---|---|
| Size | 2.9 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
af6627605e4ad3e7d456600ece858140d7c3c18f7f17b1884b26858151c5815a
|
|
BLAKE2b-256 checksum How to use checksums |
4d3c6e893292931b984c5d8343ad75398ee6ecddc8ac27d3bbc1a92658baf9bd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 May 20, 2026.
Transparency logRelease files / biovalid-0.5.0-py3-none-any.whl
| Download URL | biovalid-0.5.0-py3-none-any.whl |
|---|---|
| Size | 58.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b4f1e2d026132fb19fb6bca03b1ff5e1b2368c360130be1152a1d94fc091a295
|
|
BLAKE2b-256 checksum How to use checksums |
7960a83c187ed02e2bb4e1d66a6ab1138375ee7d6edb07474f9846cc469d680d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 May 20, 2026.
Transparency logSecurity for biovalid 0.5.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 biovalid-0.5.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 May 20, 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.