This filters out sequences which have nonstandard nucleotides.
alphabetQuality(reads)
reads
(ShortRead object) Loaded reads from fastq.
(boolean) Logical vector with the valid rows as TRUE.