getATACfragments.Rd
Given a GAlignmentPairs
or GAlignments
object, return a GRanges
object containing the fragment (or insertion site for single-end data)
getATACfragments(ga, offsetTn = TRUE)
GAlignmentPairs
(or GAlignments
for single-end sequencing) object
apply offsets for Tn5 dimer cut site (+4 bp on genomic + strand; -4 bp on genomic - strand)
GRanges
object containing derived insertions. For paired-end data (recommended), the width of the resulting ranges corresponds to the insert size
for single-end data, the width is set to 1bp