Split the composite BAM file using replicate indexes (MAPCap data)

splitBAM_byRepindex(bamFile, outfile_prefix, ncores = 1)

Arguments

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

Value

Filtered files by replicate Index

Examples

bam <- system.file("extdata", "bam/embryo1.bam", package = "icetea") splitBAM_byRepindex(bamFile = bam, outfile_prefix = "testSplit", ncores = 1)
#> Creating Filtering Rules
#> Filtering the BAM file
#> Done!