A function to duplicate bi-directional GRanges into + and - stranded GRanges.

deconvolveBidirectionalPromoters(granges)

Arguments

granges

A stranded GRanges object

Value

GRanges with only '+' and '-' strands. GRanges with '*' strand have been duplicated and split into forward and reverse strands.