Nit: the spacing is confusing here. Remove the space in the groupedVariants closure and put a space between the groupedGenotypes.