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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mhctyper-0.1.9.tar.gz (10.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mhctyper-0.1.9-py3-none-any.whl (11.4 kB view details)

Uploaded Python 3

File details

Details for the file mhctyper-0.1.9.tar.gz.

File metadata

  • Download URL: mhctyper-0.1.9.tar.gz
  • Upload date:
  • Size: 10.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for mhctyper-0.1.9.tar.gz
Algorithm Hash digest
SHA256 01c50e5d4054c011ccb785851dc0842bb6a718a4852fc75bee9f3bcdac23f1a5
MD5 0759621ce9f9cfe959e540fcb7f25535
BLAKE2b-256 f35f6738589357ba946400f401f3d52c66837a6bb3c8b7a20d60fd8cd84cc101

See more details on using hashes here.

Provenance

The following attestation bundles were made for mhctyper-0.1.9.tar.gz:

Publisher: release.yml on svm-zhang/mhctyper

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mhctyper-0.1.9-py3-none-any.whl.

File metadata

  • Download URL: mhctyper-0.1.9-py3-none-any.whl
  • Upload date:
  • Size: 11.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for mhctyper-0.1.9-py3-none-any.whl
Algorithm Hash digest
SHA256 27bc89db06b9cb5b3065e4ce110f8447f8a489b85c1686d4db0bc23638ce4aa7
MD5 977c4970530a3317c1aa87c00f4b73e5
BLAKE2b-256 644527872111e7403c0fa3d55e23b0e6cbbb17fe713de542a28e6cb9257a5612

See more details on using hashes here.

Provenance

The following attestation bundles were made for mhctyper-0.1.9-py3-none-any.whl:

Publisher: release.yml on svm-zhang/mhctyper

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.1.9 This release

2 files

0.1.8

2 files

0.1.7

2 files

0.1.6

2 files

0.1.5

2 files

0.1.4

2 files

0.1.3

2 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