nucleobase-containing compound metabolic process [GO_0006139] - Virtual Fly Brain