Assessing read quality then trimming and filtering reads