Filter distance matrix hdf5

:ear_of_rice: