A rights group says Turkish police have tortured or ill-treated detainees following the failed coup attempt in July, a claim denied by Turkish officials.

In a report published Tuesday, Human Rights Watch says a state of emergency adopted after the coup bid has weakened safeguards against torture. It details 13 alleged abuse cases, including sleep deprivation, severe beatings, sexual abuse and rape threats.

Turkey's Justice Ministry has denied that prisoners are ill-treated and says a unit has been established to investigate claims.

Turkey has launched a massive crackdown on the followers of U.S.-based Muslim cleric Fethullah Gulen, accused of masterminding the failed July 15 coup. At least 32,000 people have been arrested pending trial.