R/seq_string_operation.R
    seq_remove_position.RdRemove a region between two positions in sequences.
seq_remove_position(x, position_in, position_out)a DNA, RNA or AA vector.
an integer giving the position where to start to remove.
an integer giving the position where to stop to remove.
A vector of same class as x.
str_remove from stringr
for the underlying implementation.
Other string operations: 
seq-replace,
seq_combine(),
seq_count_pattern(),
seq_crop_pattern(),
seq_crop_position(),
seq_detect_pattern(),
seq_extract_pattern(),
seq_extract_position(),
seq_remove_pattern(),
seq_replace_position(),
seq_split_kmer(),
seq_split_pattern()
x <- dna("ACGTTAGTGTAGCCGT", "CTCGAAATGA")
seq_remove_position(x, 2, 6)
#> DNA vector of 2 sequences
#> >   AGTGTAGCCGT
#> >   CATGA
seq_remove_position(x, 1:2, 3:4)
#> DNA vector of 2 sequences
#> >   TTAGTGTAGCCGT
#> >   CAAATGA