mhctyper
Polars-accelerated MHC class I and II typing based on Polysolver algorithm.
Features
- Supports both class I and II typing with good accuracy
- Runtime speedup boosted by polars
- Minimum I/O operations
- Easy integration to workflow/pipeline with better CLI and proper packaging.
Installation
mhctyper can be installed from PyPI:
pip install mhctyper
Quick start
mhctyper simply requires 2 inputs:
- Alignment to HLA alleles in BAM format:
$bam. - Population frequency from the original
polysolver:HLA_FREQ.txt.
mhctyper --bam "$bam" \
--freq "HLA_FREQ.txt" \
--outdir "$outdir" \
--nproc 8
Please refer to documentation for more details.
Metadata
Release files for mhctyper 0.1.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| mhctyper-0.1.9.tar.gz | 10.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mhctyper-0.1.9-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 21.7 kB
Release files / mhctyper-0.1.9.tar.gz
| Download URL | mhctyper-0.1.9.tar.gz |
|---|---|
| Size | 10.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
01c50e5d4054c011ccb785851dc0842bb6a718a4852fc75bee9f3bcdac23f1a5
|
|
BLAKE2b-256 checksum How to use checksums |
f35f6738589357ba946400f401f3d52c66837a6bb3c8b7a20d60fd8cd84cc101
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Jul 9, 2026.
Transparency logRelease files / mhctyper-0.1.9-py3-none-any.whl
| Download URL | mhctyper-0.1.9-py3-none-any.whl |
|---|---|
| Size | 11.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
27bc89db06b9cb5b3065e4ce110f8447f8a489b85c1686d4db0bc23638ce4aa7
|
|
BLAKE2b-256 checksum How to use checksums |
644527872111e7403c0fa3d55e23b0e6cbbb17fe713de542a28e6cb9257a5612
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Jul 9, 2026.
Transparency log