Skip to main content

MHC Class I and II typer based on polysolver algorithm.

Project description

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.

Project 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.8.tar.gz (10.5 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.8-py3-none-any.whl (11.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mhctyper-0.1.8.tar.gz
  • Upload date:
  • Size: 10.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.12

File hashes

Hashes for mhctyper-0.1.8.tar.gz
Algorithm Hash digest
SHA256 351f32c25026cfe23cb4e878c13a4ce29cfa3d60313d5cb99b9334cd21240c58
MD5 db8d6ad36fb1c038a8b93c572a22aee8
BLAKE2b-256 2f76fad00242a082b828a43a2829f8e446cc26f5a7c23ac40eff68e9684d961a

See more details on using hashes here.

Provenance

The following attestation bundles were made for mhctyper-0.1.8.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.8-py3-none-any.whl.

File metadata

  • Download URL: mhctyper-0.1.8-py3-none-any.whl
  • Upload date:
  • Size: 11.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.12

File hashes

Hashes for mhctyper-0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 89134cf06cde3dc3dfdfc02dcbd68641bad9f42a1e7caaa6659fcda1ef44ca42
MD5 87f28b802e550e116e7191398637db5e
BLAKE2b-256 8657f835cc06ed04081411e309bb79ca29d81c219700656148ec96085dde814c

See more details on using hashes here.

Provenance

The following attestation bundles were made for mhctyper-0.1.8-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.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page