R/splitBAM_byRepindex.R
splitBAM_byRepindex.Rd
Split the composite BAM file using replicate indexes (MAPCap data)
splitBAM_byRepindex(bamFile, outfile_prefix, ncores = 1)
bamFile | character. Path to a mapped BAM file |
---|---|
outfile_prefix | character. prefix for output file (replicates IDs will be added as RR/YY) |
ncores | integer. Number of cores to use for parallel processing |
Filtered files by replicate Index
bam <- system.file("extdata", "bam/embryo1.bam", package = "icetea") splitBAM_byRepindex(bamFile = bam, outfile_prefix = "testSplit", ncores = 1)#>#>#>