nucleoside phosphate metabolic process [GO_0006753] - Virtual Fly Brain