def properties(self): """ Translate an amino acid sequence to properties of the form: 'F': HYDROPHOBIC | AROMATIC. @return: A generator yielding properties for the residues in the current sequence. """ return (PROPERTIES.get(aa, NONE) for aa in self.sequence)