this way we are both subsetting arms down to the chromosomes present in the cooler and we are preserving the order of arms according to the chrom names
This would be helpful downstream for inter-chromosomal regions - as they have to be from the upper triangle - and it would be more concise to have them ordered right away.
Also it would be nice to pass hg38_arms through bioframe.parse_regions to assign them some names - as those can be used later to reorder pivoted dataframe with trans-expected
@golobor could we change:
to
this way we are both subsetting arms down to the chromosomes present in the cooler and we are preserving the order of arms according to the chrom names
This would be helpful downstream for inter-chromosomal regions - as they have to be from the upper triangle - and it would be more concise to have them ordered right away.
Also it would be nice to pass hg38_arms through
bioframe.parse_regions
to assign them some names - as those can be used later to reorder pivoted dataframe with trans-expected