Skip to main content

Tools for finding HLA alleles for WGS/RNAseq samples

Project description

cghla

A set of tools that are useful for finding the MHC/HLA alleles for a given sample using WGS, WES, or RNAseq data. In particular, these tools are designed for the identification of MHC alleles to use in identification of novel peptides that can be presented by MHC Class I proteins for finding presented neoepitopes in cancer. As such, the specificity of the results are designed only for this purpose.

These tools implement a particular workflow that assumes you have the following:

bwa
samtools
ngsutilsj

Additionally, the tools are built to work with data from the IPD-IMGT/HLA database which is available from: https://hla.alleles.org

Finally, final prediction can use MHC peptide binding affinities from mhcFlurry which are available here: https://openvax.github.io/mhcflurry-motifs/mhcflurry.allele_sequences.csv

The basic workflow can be described as:

WGS

  1. Find the location of HLA alleles in the reference genome.
  2. Extract flanking sequence from the reference genome, and adding this sequence to the allele sequences
  3. Extraction of mapped reads to the HLA locus in an already aligned BAM file
  4. Re-alignment of these reads (optionally with unmapped reads as well) to the now extended flanking HLA allele sequences
  5. Score HLA allele pairs (maternal/paternal) to find the most likely genotypes for the individual.
  6. Predict the most likely genotypes

RNAseq

The RNAseq/WES workflow is similar, but instead of using the *_gen.fasta versions of the IPD-IMGTR/HLA sequences you can use the *_nuc.fasta versions. When using these coding mRNA sequence, you can skip steps 1 and 2. And instead of extracting a sub-set of reads, you can align the raw FASTQ sequence. The scoring and prediction steps remain the same.

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

cghla-0.2.3.1.tar.gz (14.0 kB view details)

Uploaded Source

File details

Details for the file cghla-0.2.3.1.tar.gz.

File metadata

  • Download URL: cghla-0.2.3.1.tar.gz
  • Upload date:
  • Size: 14.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for cghla-0.2.3.1.tar.gz
Algorithm Hash digest
SHA256 7c084363e1465d1480cb8368e76384c66c3dda45cdca539308e3a363ddf70d34
MD5 85e453eb52dba72c9f7565c490223fd3
BLAKE2b-256 6e85efd36038d6b01142aabf770178a90e2c4c250b84da36eadca6d74aed6744

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page