cyclo-ligase activity
Catalysis of the joining of two groups within a single molecule via a carbon-nitrogen bond, forming heterocyclic ring, with the concomitant hydrolysis of the diphosphate bond in ATP or a similar triphosphate. [ https://enzyme.expasy.org/EC/6.3.3.4 https://enzyme.expasy.org/EC/6.3.3.2 https://enzyme.expasy.org/EC/6.3.3.1 ]