When plotting whole genome data, we want to have data plotted for chr1 first, then chr2, etc. Currently, the order is based on the keys order in the pybedtools chrom sizes dictionary. Just do a custom sort of the dictionary such that we build the chrom_offsets in the correct way.
When plotting whole genome data, we want to have data plotted for chr1 first, then chr2, etc. Currently, the order is based on the keys order in the pybedtools chrom sizes dictionary. Just do a custom sort of the dictionary such that we build the chrom_offsets in the correct way.