Invalid interval bounds with chr prefix already
zzhoujialu opened this issue · 2 comments
Hi, thank you for developing this amazing tool. I'm trying to run calculate-cnv
on a 50kb cool matrix after running the script of add_prefix_to_cool.py and I still come across the error exactly like the issue #1.
The following is the ginteractions file transforming from my cool file using hicexplorer.
My command line is: calculate-cnv -H /path/to/my/mcool/file::resolutions/50000 -g hg38 -e HindIII --output file.CNV-profile.bedGraph
Do you have any idea of what could be causing the error?
Looking forward to hearing from you.
Thanks!
Hi, this error may happen if your cool file includes chromosomes other than chr1, chr2, ..., chrX, chrY, and chrM. Can you show me all possible chromosome names in your cool file?
Thank you!
There are much more chromosomes other than chr1, chr2, ..., chrX, chrY, and chrM in my cool file. I removed them and it works.
Thank you so much!