FaFile_Circ-class: A simple extension to the FaFile class that allows one to...

FaFile_Circ-classR Documentation

A simple extension to the FaFile class that allows one to include a list of circular ranges, e.g. chrM

Description

A simple extension to the FaFile class that allows one to include a list of circular ranges, e.g. chrM

Fields

circularRanges

A character vector describing which seqnames have circular ranges

Examples

mytempfile=tempfile()
writeXStringSet(setNames(DNAStringSet(c('AAAAAAAAGG','AAAAAAAAGG')),
  c('chrM','chr2')),filepath=mytempfile)
Rsamtools::indexFa(mytempfile)
cREF<-FaFile_Circ(Rsamtools::FaFile(mytempfile),circularRanges='chrM')
cREF

ohlerlab/RiboseQC documentation built on Aug. 15, 2023, 7:30 a.m.