readPrb {ShortRead}R Documentation

Read Solexa prb files as fastq-style quality scores

Description

readPrb reads all _prb.txt files in a directory into a single object of class SFastqQuality. Methods do this by identifying the maximum base call quality for each cycle and read, and representing this as an ASCII-encoded character string following Solexa conventions.

Usage

readPrb(dirPath, pattern = character(0), ...)

Arguments

dirPath Directory path or other object (e.g., SolexaPath for which methods are defined.
pattern Regular expression matching names of _prb files to be summarized.
... Additional arguments, e.g., to srapply, used during evaluation.

Value

An object of class SFastqQuality

Author(s)

Martin Morgan <mtmorgan@fhcrc.org>

See Also

~~objects to See Also as help, ~~~

Examples

fl <- system.file("extdata", package="ShortRead")
sp <- SolexaPath(fl)
readPrb(sp, "s_1.*_prb.txt") # all tiles to a single file

[Package ShortRead version 1.0.7 Index]