The starting position index of interacted regions is generated by getInteractionPosIndex.R. This function should also be included in subset_hic_data.py so that the subset data and the starting position index are aligned and generated together. The function also needs to consider the situation when the two interacted regions are not the same.
[ ] Generate the starting position index.
[ ] Consider the situation that two interacted regions are not same.
The starting position index of interacted regions is generated by getInteractionPosIndex.R. This function should also be included in subset_hic_data.py so that the subset data and the starting position index are aligned and generated together. The function also needs to consider the situation when the two interacted regions are not the same.