get_indel_genomic_pos: Extract Genomic Positions of Indels from a CIGAR String

View source: R/sequence_position_handling_indels.R

get_indel_genomic_posR Documentation

Extract Genomic Positions of Indels from a CIGAR String

Description

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

Usage

get_indel_genomic_pos(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 genomic positions of the indels in the CIGAR string.


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