speedup:
const Residue * res_ptr = ResidueDB::getInstance()->getResidue(name[0]);
uses getResidue(unsigned char & ) which doesn't use a boost hash_map but a simple lookup array to determine Residue* from single letter code