detect_insertion
detect_insertion(ref_sequence, different_sequence, length_comparison = 10)
Character vector whose elements are the bases of a DNA sequence to use as reference.
Character vector whose elements are the bases of a DNA sequence different from the reference.
Integer number. Number of bases to consider for the comparison between the two DNA sequences in order to detect and remove insertions in the non-reference sequence.
Character vector of the different_sequence with length equal to ref_sequence, after having removed the insertions.