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.1.1.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.1.1-py3-none-any.whl (5.7 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: MHC-Annotation-0.1.1.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.1.1.tar.gz
Algorithm Hash digest
SHA256 9a7187b30356ab862c42502583a1f9dda76abb382adffc151e7f431e562c7dd1
MD5 2c5e2e5be728c936769a5425d93d7ca6
BLAKE2b-256 84010a32d5d5fcb88f1fec04c22b6ef41ede3001247550ef36620dbdf17acb82

See more details on using hashes here.

File details

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

File metadata

  • Download URL: MHC_Annotation-0.1.1-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.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4c4c92a9a83c6c7e3bc6162ccbffee2eec20ef8854bebea42a8d9720994d12ec
MD5 e254f5a08e16cf876d107896219dbb40
BLAKE2b-256 a423c9c7de008bf037d626e8b25967c397013e0132efbe78019d18cf853d3d24

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