cigar_to_data_frame: cigar_to_data_frame

Description Usage Arguments Value Author(s)

Description

Creates a data frame from a CIGAR string which differentiates all the different CIGAR operations, and positions them all based on an inputted starting position.

Usage

1
cigar_to_data_frame(cigar = NULL, position = NULL)

Arguments

cigar

String representing a CIGAR string, in the correct format (required).

position

Number representing the beginning position of the cigar string along a chromosome (required).

Value

Returns a data frame representing the dissected CIGAR string. Has 4 columns: type, size, start, end. Type represents the type of CIGAR operation (one of M, I, D, N, S, H, P, =, or X). Size represents how long the type goes on for, from the start position to the end position (represented by start and end respectfully).

Author(s)

L. Christine Schreiner


shlienlab/ShlienLab.Core.Filter documentation built on May 20, 2019, 5:27 p.m.