In this study we developed an AI-based algorithm to establish whether ERG gene arrangement can be determined solely from H&E-based histologic images of patients with prostate adenocarcinoma. The gene discussed is ERG; the disease is prostate adenocarcinoma.