Return a list of protein groups a protein is associated with.

def getGroups(self, proteinId):
        """Return a list of protein groups a protein is associated with."""
        return [self.groups[gId] for gId in self._proteinToGroupIds[proteinId]]