This function constructs objects of
AlignedRead
. It will often be more convenient to
create AlignedRead
objects using parsers such as
readAligned
.
AlignedRead(sread, id, quality, chromosome, position, strand, alignQuality, alignData = AlignedDataFrame(nrow = length(sread)))
DNAStringSet
, containing the
DNA sequences of the short reads.BStringSet
, containing the
identifiers of the short reads. This object is the same length as
sread
.BStringSet
, containing the
ASCII-encoded quality scores of the short reads. This object is the
same length as sread
.factor
describing the particular sequence
within a set of target sequences (e.g. chromosomes in a genome
assembly) to which each short read aligns.integer
vector describing the (base pair)
position at which each short read begins its alignment.factor
describing the strand to which the short
read aligns.numeric
vector describing the alignment
quality.AlignedDataFrame
with number of rows equal
to the length of sread
, containing additional information
about alignments.AlignedRead
.
AlignedRead
.