pteridine-containing compound metabolic process [GO_0042558] - Virtual Fly Brain