ligase activity, forming carbon-nitrogen bonds [GO_0016879] - Virtual Fly Brain