Text this: GLM-based optimization of NGS data analysis