Skip to content

Commit

Permalink
feat: mark missense variants affecting Sec as rare_amino_acid_variant
Browse files Browse the repository at this point in the history
  • Loading branch information
tedil committed Jan 3, 2025
1 parent 9331bef commit 042b0d7
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/annotate/seqvars/csq.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1089,6 +1089,13 @@ impl ConsequencePredictor {
}
} else {
consequences |= Consequence::MissenseVariant;
// Missense variants that affect selenocysteine are marked
// as rare amino acid variants.
if alternative.contains("U")
|| (loc.start == loc.end) && loc.start.aa == "U"
{
consequences |= Consequence::RareAminoAcidVariant;
}
}
}
ProteinEdit::DelIns { alternative } => {
Expand Down

0 comments on commit 042b0d7

Please sign in to comment.