-
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
I found that the problem might be related to the iterator for generating H1.v2.cool but not sure how to solve it TT...
But the following code without using iterator works
Thanks in advance! |
Beta Was this translation helpful? Give feedback.
-
Without a reproducible example, I can't say for sure, but if I had to guess, it looks like in the chr17 case you might be passing a bin table restricted to chr17, which changes the bin IDs (i.e. the first bin of chr17 is now bin 0, etc.). That means you would have to relabel the bin IDs of your pixels accordingly. Alternatively, use the same global bin table as the full matrix, but only store cis chr17 data in it. Then you don't need to relabel any bins. |
Beta Was this translation helpful? Give feedback.
Without a reproducible example, I can't say for sure, but if I had to guess, it looks like in the chr17 case you might be passing a bin table restricted to chr17, which changes the bin IDs (i.e. the first bin of chr17 is now bin 0, etc.). That means you would have to relabel the bin IDs of your pixels accordingly.
Alternatively, use the same global bin table as the full matrix, but only store cis chr17 data in it. Then you don't need to relabel any bins.