Small bioinformatics utilities: VCF annotation, minimal FHIR resource validation, and a MultiQC plugin
Project description
genomics-utils
Small, focused bioinformatics utilities used as a Phase 1 portfolio package:
- VCF annotation helper — parses a VCF file, classifies each variant (SNP / insertion / deletion / MNV), computes transition/transversion stats, and can emit a small JSON summary.
- FHIR resource validator — structural validation of a minimal subset
of FHIR R4
PatientandObservationresources. - MultiQC plugin — a MultiQC module that visualizes the VCF annotation summary JSON in a MultiQC report.
Installation
pip install -e ".[dev,docs]"
Components
VCF annotation helper
See genomics_utils.vcf_annotate. Operates on a small, hand-authored
synthetic VCF (see tests/data/README.md) purely for demonstration and
testing — it is not a production-grade annotation engine (no external
annotation database lookups, no INFO/CSQ field parsing beyond what is
generated locally).
FHIR resource validator
See genomics_utils.fhir_validate.
Scope note: this validator only checks that a JSON document has the shape of a minimal FHIR R4
PatientorObservationresource (required fields present, correct basic types). It does not perform full FHIR conformance validation — it does not check terminology bindings (e.g. that acodecomes from a real code system), does not validate against StructureDefinition profiles, and does not check referential integrity between resources. For conformance-grade validation, use the official HL7 FHIR validator.
MultiQC plugin
See genomics_utils.multiqc_plugin.genomics_module. Registered via the
multiqc.modules.v1 entry point, it looks for *_genomics_utils.json
summary files (written by the VCF annotation helper) and renders variant
counts and a Ts/Tv ratio in the MultiQC report.
Sample data
All test fixtures under tests/data/ are either hand-authored synthetic
data or minimal official examples pulled from public specifications — see
tests/data/README.md for exact provenance of each file.
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 Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file genomerse_genomics_utils-0.1.0.tar.gz.
File metadata
- Download URL: genomerse_genomics_utils-0.1.0.tar.gz
- Upload date:
- Size: 11.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c01e8eb981da82704d6d8a3eb7d1d48af0521506ad6d421e0f687beefce81d02
|
|
| MD5 |
8ee531ab832fdee4d9087d5c30541f58
|
|
| BLAKE2b-256 |
8793daf99b72b834655f9429ab6285084954694d92e15eb45f6b029ef322278f
|
File details
Details for the file genomerse_genomics_utils-0.1.0-py3-none-any.whl.
File metadata
- Download URL: genomerse_genomics_utils-0.1.0-py3-none-any.whl
- Upload date:
- Size: 10.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
28b138628017b86a4bfa3d6779e7bf5de4b3bce687394faa2a48547d613b8670
|
|
| MD5 |
4c177b1a65eb48a9b5f8d0293a9985cb
|
|
| BLAKE2b-256 |
9f34f567e5d97e33358f5d6181f15c27ab558649254991c0fcbe91fc974615c4
|