Skip to main content

No project description provided

Project description

MHC-annotation

Tools to annotate haplotypes of MHC with gene and transcript information

Dependencies

There is only a few dependencies which you have to take care of yourself.

conda environment

The easiest way to take of these dependencies is to utilize the environment.yml in this repository to create a conda environment. conda create --name mhca -f environment_mhca.yml

manually

The script assumes that you have minimap2 installed and that it is callable with minimap2 on the command line. There are several ways to install this dependency depending on your environment. Giving two examples:

  • sudo apt-get install minimap2
  • conda install -c bioconda minimap2

You will also need the python packages biopython and bcbio-gff. You can install them in a conda environment with:

  • conda install -c bioconda bcbio-gff
  • conda install -c bioconda biopython

Install

Install this package with pip.

pip install MHC-annotation

Usage

This tools assumes that you are trying to annotate a sequence that stems from the human MHC region (also known as: HLA-region). If you supply any other sequence, you will most likely receive no meaningful result. You can annotate a fasta file with the following command:

mhca annotate <your_sequence.fa> <output_folder>

You can check whether the transcript in the resulting gff file would produce meaningful products.

mhca check_CDS <your_sequence.fa> <output_folder/your_sequence.gff>

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

MHC-Annotation-0.0.8.tar.gz (4.9 MB view details)

Uploaded Source

Built Distribution

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

MHC_Annotation-0.0.8-py3-none-any.whl (5.7 MB view details)

Uploaded Python 3

File details

Details for the file MHC-Annotation-0.0.8.tar.gz.

File metadata

  • Download URL: MHC-Annotation-0.0.8.tar.gz
  • Upload date:
  • Size: 4.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.6 tqdm/4.63.1 importlib-metadata/3.7.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.7.10

File hashes

Hashes for MHC-Annotation-0.0.8.tar.gz
Algorithm Hash digest
SHA256 b3ce4fd3c3f68037cc8f552b71e9acc67845f69293272aac7cb903ed3ceecbf3
MD5 4c0bd1958605249b0a9ed9e2e4c72a30
BLAKE2b-256 6739f8495ce79e70bac6cdd3d607e23699731bfd5e2d373de0af243aeefe822b

See more details on using hashes here.

File details

Details for the file MHC_Annotation-0.0.8-py3-none-any.whl.

File metadata

  • Download URL: MHC_Annotation-0.0.8-py3-none-any.whl
  • Upload date:
  • Size: 5.7 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.6 tqdm/4.63.1 importlib-metadata/3.7.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.7.10

File hashes

Hashes for MHC_Annotation-0.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 c0aad76816a8c61bcf362c68bb394599690414a1aa7439e26a5dde2d8c6c656a
MD5 13627ec17fec6cba2faf64f3b55bbadd
BLAKE2b-256 1c3c76bc1f604b3b9ac6a19e300632bccca122be6c6d47f2c1fc5561ea5fc416

See more details on using hashes here.

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