alphagenome.interpretation.ism.ism_variants#
- alphagenome.interpretation.ism.ism_variants(interval, sequence, vocabulary='ACGT', skip_n=False)[source]#
Create a list of all possible single nucleotide variants for an interval.
- Parameters:
interval (
Interval
) – Interval for which to generate the variants.sequence (
str
) – Sequence extracted from the reference genome at theinterval
. Needs to have the same length asinterval.width
.vocabulary (
str
(default:'ACGT'
)) – Vocabulary of possible alternative bases contained insequence
.skip_n (
bool
(default:False
)) – If True, skip the N bases.
- Return type:
- Returns:
List of all possible single nucleotide variants for a genomic interval.