An Algorithm for the Analysis of the 3D Spatial Organization of the Genome.