Description Usage Arguments Value Examples
This method will parse a BAM file and summarise the mapping observations in a way that can be used for preparation of figures and confidence plots by the nanopoRe package. This method is multithreaded and REQUIRES access to the reference genome.
1 2 | parallelBamSummarise(bamFile, force = FALSE, blockSize=10000L,
mc.cores = min(parallel::detectCores() - 1, 24))
|
bamFile |
is the location to the BAM file to parse |
force |
logical value describing whether the analysis should be force recalculated |
blockSize |
describes the size of BAM chunk to parse |
mc.cores |
number of threads to use for the process |
data.frame of per read summary observations
1 2 3 4 5 6 7 8 9 10 | demoBam <- system.file("extdata",
"Ecoli_zymo_R10_filt_subs.bam",
package = "nanopoRe")
referenceGenome <- system.file("extdata",
"Escherichia_coli_complete_genome.fasta",
package = "nanopoRe")
setReferenceGenome(referenceGenome)
loadReferenceGenome()
bamSummary <- parallelBamSummarise(
demoBam, force=FALSE, blockSize=10000L, mc.cores=2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.