replace_rg | R Documentation |
This functions add/replaces RG tags lines in BAM files This function wraps around samtools addreplacerg function
replace_rg(
bin_samtools = build_default_tool_binary_list()$bin_samtools,
bam = "",
output_dir = ".",
verbose = FALSE,
batch_config = build_default_preprocess_config(),
index = TRUE,
ID = "",
PL = "",
PU = "",
LB = "",
SM = "",
threads = 3,
jobs = 1
)
bin_samtools |
REQUIRED Path to santools binary. Default tools/samtools/samtools. |
bam |
REQUIRED Path to the BAM file/s. |
output_dir |
OPTIONAL Path to the output directory. |
verbose |
OPTIONAL Enables progress messages. Default False. |
index |
OPTIONAL Generate an indexed file. Default False. |
ID |
REQUIRED ID tag for RG tag line. |
PL |
OPTIONAL PL tag for RG tag line. |
PU |
OPTIONAL PU tag for RG tag line. |
LB |
OPTIONAL LB tag for RG tag line. |
SM |
OPTIONAL SM tag for RG tag line. |
threads |
OPTIONAL Number of threads per jobs. |
jobs |
OPTIONAL Number of jobs to run. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.