Detection of rare functional variants using group