expand_cigar: Expand CIGAR String into Sequence of Operations

View source: R/sequence_position_handling_indels.R

expand_cigarR Documentation

Expand CIGAR String into Sequence of Operations

Description

This function expands a condensed CIGAR string into a sequence of operations.

Usage

expand_cigar(cigar)

Arguments

cigar

A character string representing the CIGAR operations from an alignment.

Value

A character string with each CIGAR operation expanded to show the full sequence of alignment operations. For example, '2M1I' would expand to 'MMI'.


JakobPedersenLab/dreams documentation built on Feb. 2, 2024, 3:14 p.m.