Tn5 transposase ahs been shown to bind as a dimer and inserts two adaptors into accessible DNA locations separated by 9bp. This function offsets reads on the positive strand by +4bp and those on the negative strand by -5bp to account for this for downstream analysis.
shift_bam(bam.file, species = c("human", "mouse"), paired = TRUE)
bam.file | character string specifying path to bam file |
---|---|
species | character string specifying the name of the species. Only
|
paired | logical, if |