splitBamByRG | R Documentation |
Split bam file wit read group.
splitBamByRG(inBam, mc.cores = ezThreads())
inBam |
|
mc.cores |
|
It relies on samtools split.
character
(n): the filenames of splitted bam files.
Ge Tan
## Not run:
inBam <- "/srv/gstore/projects/p2497/SCCountsApp_24762_2018-02-20--21-32-42/20171222.A-SiCSeq_SCs_P5.bam"
inBam <- "/scratch/gtan/p2497-SCCountQC/20171222.A-SiCSeq_SCs_P5_subset.bam"
splitBamByRG(inBam, mc.cores=8L)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.