First stage of changes to make this usable with seq_qc