Thanks Devon for your response !
I am trying to plot Pol2 ChIP Seq but sorted for histone marks. So I have a BED file(or bedGraph) with histone mark tags in the 4th column. I would like to make a heat map of Pol2 (so i take the Pol2 ChipSeq bam file, sorted and indexed as per the chromosome number location) but sort it for histone marks- That is, the regions with highest histone marks should be on top, but I would plot the tags from Pol2 bam file into that region.
in short - I am able to sort Pol2 for the tag density in Pol2 file, but not for tag density from a different experiment (here, histone marks).
Tagging: Devon Ryan