robinweide / GENOVA

GENome Organisation Visual Analytics
GNU General Public License v3.0
68 stars 15 forks source link

Juicer import calling centromeres well outside of chromosome size. #334

Closed tolender closed 1 year ago

tolender commented 1 year ago

Is there a temporary workaround I can use to remove the cells that are outside the bounds of the chromosomes from the dataframes?

WT.hic.40kb <- load_contacts(signal_path = 'data/WT.hic', sample_name = "WT", resolution = 40000, centromeres=mm10.centromeres, balancing = 'KR', colour = "black")

image

image

WT.hic.40kb[["CENTROMERES"]] chrom start end 1: chr1 1 1 2: chr10 4809 4809 3: chr11 9284 9284 4: chr12 13759 13759 5: chr13 18234 18234 6: chr14 22709 22709 7: chr15 27184 27184 8: chr16 31659 31659 9: chr17 36134 36134 10: chr18 40609 40609 11: chr19 45084 45084 12: chr2 49559 49559 13: chr3 54033 54033 14: chr4 57956 57956 15: chr5 61787 61787 16: chr6 65506 65506 17: chr7 69170 69170 18: chr8 72729 72729 19: chr9 75918 75918 20: chrX 79106 79106

teunbrand commented 1 year ago

This sounds like an off-by-1 error somewhere but I've no way of debugging this problem as I don't have mouse mm10 v9 juicer files lying around.