phosphorus metabolic process [GO_0006793] - Virtual Fly Brain