Description Usage Arguments Details Author(s) Examples
View source: R/bam_strand_split.R
Given a list of BAM files, write two new BAM files for each, one containing forward-strand reads and the other reverse-strand reads.
1 2 | bam_strand_split(inFiles, samtoolsPath = "~/anaconda2/bin/", outDest = "./",
verbose = TRUE)
|
inFiles |
Character - BAM file list |
samtoolsPath |
String - path to samtools directory |
outDest |
String - Save new BAM files here |
verbose |
Logical - whether to print progress / results |
Requires samtools to be installed. For explanations of samtools flags (like "-f 0x10" and "-f 0x20" below), see this tool: http://broadinstitute.github.io/picard/explain-flags.html Note that "-f" means to include only things with these flags, and "-F" means to exclude anything with these flags. TIME:
Emma Myers
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.