splitBAM_byRepindex {icetea} | R Documentation

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

### Description

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

### Usage

    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)

[Package icetea version 1.8.0 Index]