Description Usage Arguments Value See Also
View source: R/04_removeDuplicates.R
A wrapper function to run Picard (MarkDuplicates)
1 |
fns.bam |
Path to BAM files |
output.dir |
Output directory |
sample.name |
A character vector for the sample names |
CREATE_INDEX |
A parameter value for CREATE_INDEX in picard. Logical, whether to create bam index files (default=TRUE) |
REMOVE_DUPLICATES |
A parameter value for REMOVE_DUPLICATES in picard. Logical, whether to remove duplicates (default=TRUE) |
VALIDATION_STRINGENCY |
A parameter value for VALIDATION_STRINGENCY in picard. A character value of validation stringency (default="LENIENT") |
tmp.dir |
Temporary directory (default= ./tmp) |
BARCODE_TAG |
A parameter value for BARCODE_TAG in picard. If barcode sequencing data, set this option TRUE. Duplicated BARCODE is removed. |
run.cmd |
Whether to execute the command line (default=TRUE) |
mc.cores |
The number of cores to use. Must be at least one(default=1), and parallelization requires at least two cores.#' @details The MarkDuplicates tool works by comparing sequences in the 5 prime positions of both reads and read-pairs in a SAM/BAM file. An BARCODE_TAG option is available to facilitate duplicate marking using molecular barcodes. After duplicate reads are collected, the tool differentiates the primary and duplicate reads using an algorithm that ranks reads by the sums of their base-quality scores. |
Removing duplicate reads in bam files (e.g., .rmdu.bam)
http://broadinstitute.github.io/picard/
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.