Ontify
Catalysis of the reaction: trehalose 6-phosphate + phosphate = glucose 6-phosphate + beta-D-glucose 1-phosphate.