Description Usage Arguments Details Value Author(s) See Also Examples
This method aligns given sequences against a given reference
genome using the matchPDict
method. Only exact (no errors) and unique
matches are returned.
1 | alignShortReads(object, bsGenome, seqNames, ensemblNotation)
|
object |
The reads that should be aligned agiven either as a
|
bsGenome |
A |
seqNames |
The names of the sequences in |
ensemblNotation |
If set to TRUE, “chr” is removed from the reference sequences' names in the returned alignment. Default value is FALSE. |
All reads are aligned against the reference and its reverse
complement. If the reads are not in 5' to 3' orientation, they should
be reversed before. Note that only exact and unique alignments are
reported. Use matchPDict
directly for more flexibility.
An object of class AlignedRead
or a AVASet
instance.
Hans-Ulrich Klein
matchPDict
, DNAStringSet
,
AlignedRead
, AVASet
1 2 3 4 5 | library("BSgenome.Scerevisiae.UCSC.sacCer2")
reads = DNAStringSet(c(
"CCGTTCAAAGAGCCCTTGGCCCATAATCCACCGGTT",
"ATCCTGCCACAGGAGTCCATGGAGGTTTCGCCA"))
alignShortReads(reads, Scerevisiae, seqNames="chrIII")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.