shiftATACGranges.RdA function to shift GRanges fragments by 5/-4. This is useful when dealing with fragments coming from ATAC-seq.
shiftATACGranges(g, pos_shift = 5, neg_shift = 4)
| g | GRanges of ATAC-seq fragments |
|---|---|
| pos_shift | Integer. How many bases should fragments on direct strand be shifted by? |
| neg_shift | Integer. How many bases should fragments on negative strand be shifted by? |
A GRanges object containing fragments from the input .bam file.