recursively identifying protein groups