Code for analysis of specific datasets; also, generic libraries