Skip to main content

MHC Class I and II typer based on polysolver algorithm.

Project description

mhctyper

PyPI version Python versions PyPI Downloads 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.4.tar.gz (10.1 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.4-py3-none-any.whl (11.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for mhctyper-0.1.4.tar.gz
Algorithm Hash digest
SHA256 3d40a5761b4e66ebc5ef7fb8d3b7e87f7542a0bd615688b645da9f0ff17ff2e2
MD5 0317cdb8a12c10d8ea385b1d25bfd848
BLAKE2b-256 3f18d8ab32929df87a43743ae3313b4b3ef1119f08caa91a3c12cd0145b59d9b

See more details on using hashes here.

Provenance

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

File metadata

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

File hashes

Hashes for mhctyper-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 64b95a87dfb5b4c09de71eaf687ede188ce87ac58a3b75d5706e99ddad32ddca
MD5 5d2f622beb41402800dcdcc919aa94ea
BLAKE2b-256 d788d39181c4014a9158ad571f87e65d6e060d47477cab417a078a304c9addd2

See more details on using hashes here.

Provenance

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