parseCigar {ORFik} | R Documentation

## Shift ribo-seq reads using cigar string

### Description

Example if you want to change a read of length 20, by +12. You need to account for gaps etc, this is done using the cigar string of the read.

### Usage

    parseCigar(cigar, shift, is_plus_strand)

### Arguments

`cigar` | the cigar of the reads
`shift` | the shift as integer
`is_plus_strand` | logical

### Value

the shifted read

[Package ORFik version 1.6.9 Index]