using BioSequences
julia> a=dna"ATCG"
4nt DNA Sequence:
ATCG
julia> insert!(a,2,'C')
5nt DNA Sequence:
ACTCG
But if I inserted more than one chars,it will fail.
julia> insert!(a,2,"CG")
ERROR: MethodError: Cannot `convert` an object of type String to an object of type DNA
julia> insert!(a,2,dna"CG")
ERROR: MethodError: Cannot `convert` an object of type LongDNASeq to an object of type DNA
How to do to insert a string to a string?Or only by pasting strings,can it be solved?Or insert one by one?Thanks for helping me !