database support for residue class and number estimation