Or with unpacking/destructuring to variable names:
mutationpositions = Dict(
i => v for (i, (w, v)) in
enumerate(zip(wildtype, variant))
if w != v
)
Or with unpacking/destructuring to variable names:
mutationpositions = Dict(
i => v for (i, (w, v)) in
enumerate(zip(wildtype, variant))
if w != v
)