New plugin: ProtVar#818
Merged
jamie-m-a merged 13 commits intoEnsembl:mainfrom Feb 4, 2026
Merged
Conversation
jamie-m-a
reviewed
Feb 4, 2026
| $pos-- if $translation_seq =~ /^X/; | ||
|
|
||
| # we need position of peptide in the ALL_AAS array | ||
| my $peptide_number = ( first_index { $_ eq $peptide } @ALL_AAS ); |
Contributor
There was a problem hiding this comment.
This is going to return -1 if the AA is X or * or an ambiguous code. Maybe they don't exist in the data? Maybe safer to handle anyway as it'll probably break the next function that uses $peptide_number
| =head1 DESCRIPTION | ||
|
|
||
| An Ensembl VEP plugin that retrieves data from ProtVar resource providing contexualised information for | ||
| missense variation such destabilization of protein structure, overlapping protein pocket, |
Contributor
There was a problem hiding this comment.
Suggested change
| missense variation such destabilization of protein structure, overlapping protein pocket, | |
| missense variation such as destabilization of protein structure, overlapping protein pocket, |
| $header{ProtVar_pocket} .= "MpLDDT - Mean pLDDT score of all the residues from AlphaFold2 model used to form the pocket, "; | ||
| $header{ProtVar_pocket} .= "energy - Pocket energy per volume (in kcal/mol unit), "; | ||
| $header{ProtVar_pocket} .= "burriedness - Pocket burriedness (0.0 means entirely exposed and 1.0 means entierly burried), "; | ||
| $header{ProtVar_pocket} .= "RoG - Pocket compactness in terms of radius of gyration (in Angstrom unit), "; |
Contributor
There was a problem hiding this comment.
Suggested change
| $header{ProtVar_pocket} .= "RoG - Pocket compactness in terms of radius of gyration (in Angstrom unit), "; | |
| $header{ProtVar_pocket} .= "RoG - Pocket compactness in terms of radius of gyration (in Angstroms), "; |
| my %header; | ||
|
|
||
| if ( defined $self->{stability} ) { | ||
| $header{ProtVar_stability} = "Impact on protein stability in ddG enegry difference."; |
Contributor
There was a problem hiding this comment.
Suggested change
| $header{ProtVar_stability} = "Impact on protein stability in ddG enegry difference."; | |
| $header{ProtVar_stability} = "Impact on protein stability in ddG energy difference (kcal/mol). Values over 2 are considered likely to be destabilising"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
ENSVAR-6378
Test
Example variant
Check the JIRA ticket for example data file for these variant.