count.clips: Return data.frame with fields of "right" soft clips and...

count.clipsR Documentation

Return data.frame with fields of "right" soft clips and "left" soft clips

Description

Takes GRanges or GappedAlignments object and uses cigar field (or takes character vector of cigar strings) and returns data.frame with fields (for character input) $right.clips number of "right" soft clips (e.g. cigar 89M12S) $left.clips number of "left" soft clips (e.g. cigar 12S89M), or appends these fields to the reads object

Usage

count.clips(reads)

Arguments

reads

GenomicRanges or GappedAlignments or data.frame or data.table holding the reads

Value

GRanges with 'right.clips' and 'left.clips' columns added


mskilab/bamUtils documentation built on Sept. 28, 2022, 3:45 p.m.