A graph theoretic approach to protein structure selection.