filterReads: filter out reads based on mapq and LQ20

Description Usage Arguments Value

Description

filter out reads based on mapq and LQ20

Usage

1
filterReads(reads, baseQ13 = NULL, mapq = 20)

Arguments

reads

The sequence of reads, a GAlignments object. Assumed to have a column qual of PhredQuality objects or a column mapq of mapping quality.

baseQ13

Choose reads with the number of at most bad base quality (< 13). default NULL

mapQ

Remove all reads with quality less than mapq. Default 20. Set to NULL to keep all reads.

Value

The altered reads.


hubentu/VarReviewer documentation built on June 7, 2019, 12:48 a.m.