Build adjacency graph based on pairwise overlaps and assign each galaxy to an overlap group. Append overlap group ID to output catalog and create new <prefix>_groups.dat containing groupID and groupSize columns.