Skip to main content

mhctyper

PyPI version Python versions License

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)

Source distribution for mhctyper 0.1.9
File Size Uploaded
mhctyper-0.1.9.tar.gz 10.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mhctyper 0.1.9
File Interpreter ABI Platform
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 log

Release 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

Release history Release notifications | RSS feed

This release

0.1.9 This release

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 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