Description Usage Arguments Value Examples
View source: R/splitBAM_byIndex.R
Split the composite BAM file using internal indexes (MAPCap)
1 2 3 4 5 6 7 | splitBAM_byIndex(
bamFile,
index_list,
outfile_list,
max_mismatch = 0,
ncores = 1
)
|
bamFile |
character. Path to a mapped BAM file |
index_list |
character. A list of indexes for splitting |
outfile_list |
character. A list of output file names (with order corresponding to that of index_list) |
max_mismatch |
integer. No. of mismatches allowed in index (maxium 1 recommended) |
ncores |
integer. Number of cores to use for parallel processing |
Filtered files
1 2 3 4 5 | bam <- system.file("extdata", "bam/embryo1.bam", package = "icetea")
splitBAM_byIndex(bamFile = bam,
index_list = c("CAAGTG", "CAAGTT"),
outfile_list = c("test_filt1.bam","test_filt2.bam"),
ncores = 1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.