cigarQ2Op: extracts cigar operations based on query coordinates

Description Usage Arguments Value Examples

View source: R/cigar.R

Description

This method will prepare a factor of cigar operations from the supplied query coordinates

Usage

1
cigarQ2Op(poi, cigar)

Arguments

poi

is a vector of numeric positions of interest

cigar

is the CIGAR string to parse

Value

factor of operations

Examples

1
2
3
cigarStr <-
    "46S14M5D14M2D44M3I6M2I14M3I15M1D27M1D11M1I20M1I8M2I2M3I10S"
cigarQ2Op(c(20,40,60,80,100), cigarStr)

sagrudd/nanopoRe documentation built on June 7, 2020, 10:20 p.m.