Contents:
Module for representing genetic variations.
Variation
Represents a genetic variation.
The reference SNP identifier (e.g., ‘rs123456’).
str
The position of the variation in the protein sequence.
int
Validate the variation.
Checks if the reference ID starts with ‘rs’ and position is positive.
True if valid, False otherwise.
bool
Return the string representation of the variation.
The reference SNP identifier.