#BAM files for individual samples were merged using samtools. Then, MACS2 was used to callpeaks. Peaks <=1000bps apart were merged within region. Here, I will read in the merged peak files, create a length column, and
#subset peaks that are >146bps, or the length of the DNA wrapped around a single nucleosome.