Closed balwierz closed 5 years ago
Hi @balwierz
Thanks for the helpful feedback. It was an easy addition to report the real chromosome name for that warning, so I added that and released hic2cool 0.7.2. Please let me know if the change does not work for you or other issues come up.
Best, Carl
I am converting a hic file. The genome is mouse (mm9), which has 19 somatic chromosomes, chrX, chrY, chrM and some *_random scaffolds. However I am getting warning messages which make no sense:
I opened the binary .hic file and looked in the header: the chromosomes are named UCSC style chr1..chr19,chrX,chrY,chrM indeed. I peeked into the code and realised that
c1
andc1
(passed as a single "_"-concatenated string!) are probably array indices.I propose two solutions 1) proper one: report real chromosome names from hic file instead of "chr".
2) quick fix: spell out "contig number" explicitly instead of "chr" in warning messages to remove confusion.