get_indel_length: Extract Lengths of Indels from a CIGAR String

View source: R/sequence_position_handling_indels.R

get_indel_lengthR Documentation

Extract Lengths of Indels from a CIGAR String

Description

This function uses the get_indel_info function to extract the lengths of indels from a given CIGAR string, starting from a specified genomic position.

Usage

get_indel_length(pos, cigar)

Arguments

pos

Integer, the starting genomic position for the CIGAR string analysis.

cigar

String, the CIGAR string representing genomic alignments.

Value

An integer vector containing the lengths of the indels in the CIGAR string.


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