added preprocessing to readqc pipeline