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.6.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.6-py3-none-any.whl (11.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mhctyper-0.1.6.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.6.tar.gz
Algorithm Hash digest
SHA256 a8931c12b5db165e2ac7b8cabb26b66b29c995f6e16bec37bdcc8d463f7da93c
MD5 a40d1b613dea3b9de926b2d5e8322681
BLAKE2b-256 61361c047749e68445f03c5dd91882cf4e3426ae293a0d4ed3fcbdf7938d73cf

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: mhctyper-0.1.6-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.6-py3-none-any.whl
Algorithm Hash digest
SHA256 510ffa38342e41a2a07de3bd40893a05ad9f24ba365882ada2e2499a6d8a0f3d
MD5 31cc80bb859eb4e3dd79d7681da60379
BLAKE2b-256 3ec8146a39e5a4555619d51f6f62497587f5730875136ea21feab3802bf5ade6

See more details on using hashes here.

Provenance

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