cyclase activity [GO_0009975] - Virtual Fly Brain