detect_insertion: detect_insertion

View source: R/other_functions.R

detect_insertionR Documentation

detect_insertion

Description

detect_insertion

Usage

detect_insertion(ref_sequence, different_sequence, length_comparison = 10)

Arguments

ref_sequence

Character vector whose elements are the bases of a DNA sequence to use as reference.

different_sequence

Character vector whose elements are the bases of a DNA sequence different from the reference.

length_comparison

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.

Value

Character vector of the different_sequence with length equal to ref_sequence, after having removed the insertions.

Author(s)

Gabriele Lubatti gabriele.lubatti@helmholtz-muenchen.de


MitoHEAR documentation built on March 18, 2022, 6:47 p.m.