Description Usage Arguments Value Examples
Split a bam file by given criteria
1 2 |
bamFile |
Bam file path |
splitby |
How to split the file ("strand","chr","flag","mapq") |
chrnameList |
list of Chromosomes to split by |
flagList |
List of samflags to split by |
mapqList |
List of mapq cutoffs to split by (reads with mapq greater than cutoff will be kept) |
outfile_prefix |
prefix for output filename |
nthreads |
Number of threads to use |
Splitted, sorted and indexed bam files
1 2 3 | bam <- system.file("extdata", "test_2L2R.bam", package="vivlib")
splitBAM(bam = bam, splitby = "chr", chrnameList = NULL, flagList = NULL,
mapqList = NULL, outfile_prefix = "test", nthreads = 20)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.