Texans rookie defensive end Jadeveon Clowney had sports hernia surgery, coach Bill O’Brien said Friday at NRG Stadium.

Clowney, the No. 1 overall pick of the 2014 NFL draft, was dealing with a groin injury. O’Brien said Clowney was evaluated in Philadelphia and the team decided the best option was surgery. He’ll miss next week’s mandatory three-day minicamp and is expected to return for training camp, which begins in late July.

O’Brien said Clowney hadn’t been dealing with the injury for long. The Texans decided it was best to immediately address the issue, which was why surgery occurred Thursday.

“It was the best thing for J.D. and the best thing for our team and the best thing for our organization,” O’Brien said.