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.7.tar.gz (10.3 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.7-py3-none-any.whl (11.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mhctyper-0.1.7.tar.gz
  • Upload date:
  • Size: 10.3 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.7.tar.gz
Algorithm Hash digest
SHA256 92c5eceee4687e885412523acf894f8c363d10790e129e79ef7d47305553394d
MD5 e4e1d037138694fb8200dadf0c452666
BLAKE2b-256 4941e2479abddb8c46729e3e95855608e0b83aaa218956bcbb0e608d412550e6

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: mhctyper-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 11.2 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.7-py3-none-any.whl
Algorithm Hash digest
SHA256 eb86711872b93d65b2ed6b734aa3fc622e6fbf011eaaf6d1656084cce66ffd53
MD5 8b802568a8748d3aec1b2bf426ed0a49
BLAKE2b-256 5fd20d8e57ce2d7cd054518af98576a3d95982c124689c1457ecf6dabc0e5fd4

See more details on using hashes here.

Provenance

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