Since insert! isn’t defined over these types, here is one workaround:
using BioSequences
a=dna"ATCG"
a = a[begin:1] * dna"CG" * a[2:end]
This function might be useful for repeating the task, although it returns a new sequence rather than editing one in place:
function insert_at(original, i, new)
return original[begin:i-1] * new * original[i:end]
end