(Legacy) Read short reads and their quality scores into R representations
readBaseQuality
reads all base call files in a directory
dirPath
whose file name matches seqPattern
and all quality
score files whose name matches prbPattern
, returning a compact
internal representation of the sequences, and quality scores in the files.
Methods read all files into a single R object.
readBaseQuality(dirPath, ...) ## S4 method for signature 'character' readBaseQuality(dirPath, seqPattern=character(0), prbPattern=character(0), type=c("Solexa"), ...)
dirPath |
A character vector (or other object; see methods defined on this generic) giving the directory path (relative or absolute) of files to be input. |
seqPattern |
The ( |
prbPattern |
The ( |
type |
The type of file to be parsed. Supported types include:
|
... |
Additional arguments, perhaps used by methods. |
A single R object (e.g., ShortReadQ
) containing
sequences and qualities of all files in dirPath
matching
seqPattern
and prbPattern
respectively. There is no
guarantee of order in which files are read.
Patrick Aboyoun <paboyoun@fhcrc.org>
A ShortReadQ
object.
sp <- SolexaPath(system.file("extdata", package="ShortRead")) readBaseQuality(sp, seqPattern="s_1.*_seq.txt", prbPattern="s_1.*_prb.txt")
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.