Skip to content

HLA divergence restricted to the peptide binding groove #4

@steletvinicius

Description

@steletvinicius

Once again, thank you for developing and maintaining such a great toolbox.

I am working on calculating HLA divergence from a set of allele pairs.

From the tests I have made, I am assuming that the divergence calculation includes ANY amino acid differences among the allele pair (predicted protein pair), right?

> library(hlabud)
> #Same P Group; different proteins
> hlabud::hla_divergence("A*01:02:01:01,A*01:412")
A*01:02:01:01,A*01:412 
            0.05511811 
> 
> #Same P Group; same protein
> hlabud::hla_divergence("A*01:02:01:01,A*01:02:02")
A*01:02:01:01,A*01:02:02 
                       0 
> 
> #Different P Groups
> hlabud::hla_divergence("A*01:02:01:01,A*01:315")
A*01:02:01:01,A*01:315 
             0.8057743 

Is there any possible way of restricting this calculation to amino acid differences located ONLY at the regions forming the peptide binding groove (exon 2 +3, class I genes; exon 2, class II genes)?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions