getSequenceOfReads | R Documentation |
Extract sequences of reads supporting rearrangements from a bam file
getSequenceOfReads(
object,
bam.file,
params = RearrangementParams(),
MAX = 25L,
build
)
## S4 method for signature 'Rearrangement'
getSequenceOfReads(
object,
bam.file,
params = RearrangementParams(),
MAX = 25L,
build
)
## S4 method for signature 'StructuralVariant'
getSequenceOfReads(
object,
bam.file,
params = RearrangementParams(),
MAX = 25L,
build
)
## S4 method for signature 'RearrangementList'
getSequenceOfReads(
object,
bam.file,
params = RearrangementParams(),
MAX = 25L,
build
)
object |
a |
bam.file |
complete path to BAM file |
params |
a |
MAX |
the maximum number of read pairs to extract for a rearrangement. If the number of read pairs supporting a rearrangement is greater than MAX, a random sample of MAX supporting read pairs is returned. |
build |
the reference genome buld that reads were aligned to. Currently supported builds include "hg19" and "hg18". |
a data.frame
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.