We would like to draw your attention to the paper Probing function and structure of trehalose-6-phosphate phosphatases from pathogenic organisms suggests distinct molecular groupings. by Megan Cross, et al.
As trehalose is an essential disaccharide for many pathogens (including parasites) but is neither required nor synthesized by mammalian cells, the biosynthetic pathway of trehalose thus constitutes a candidate target for chemotherapeutic intervention.
There is also an overview of The role of trehalose in the physiology of nematodes by Behm CA in 1997, which might be of interest as it explains the underlying pathway.
The phylogeny can be also easily seen on the comparative gene tree of the B.malayi gene.