If we need additional functionality in MDTraj to make this happen, I'm sure Robert and I can whip something together ASAP.