add the parameter whether to delete the reads