Preprocessing module functions for nextbio output files