code base for analysis written by Brandon Jackson for Jamie Mazer's lab