View source: R/sequence_position_handling_indels.R
clean_insertions | R Documentation |
This function adjusts the sequence of CIGAR operations by cleaning up insertion operations. It removes any insertions that follow deletions and consolidates consecutive insertions that follow any operation other than deletions into a single insertion, while removing the operation that precedes the insertions.
clean_insertions(expanded_cigar)
expanded_cigar |
A string representing the sequence output from expand_cigar. |
A string of the CIGAR sequence after cleaning up the insertion operations. For example, 'MMDDIMMII' would be to MMDDMI'.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.