get_indel_type: Extract Types of Indels from a CIGAR String

get_indel_typeR Documentation

Extract Types of Indels from a CIGAR String

Description

This function utilizes get_indel_info to determine the types of indels in a given CIGAR string.

Usage

get_indel_type(pos, cigar)

Arguments

pos

Integer, the starting genomic position for the CIGAR string.

cigar

String, the CIGAR string representing genomic alignments.

Value

A character vector containing the types of indels (either 'I' for insertions or 'D' for deletions) in the CIGAR string.


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