purine-containing compound metabolic process