View source: R/io_and_formats.R
Merge multiple BAM files to a single output BAM file
1 2 | merge_bam_files(bam_files, out_file, make_indexes = FALSE,
sort_out_file = TRUE, index_out_file = TRUE, keep_unsorted = FALSE)
|
bam_files |
a character vector listing all of the BAM files to merge |
out_file |
the target BAM file to write to |
make_indexes |
whether or not to make indexes for the input files. Default is FALSE |
sort_out_file |
whether or not to sort the output file. default is TRUE, which will force index_out_file to TRUE. |
index_out_file |
whether or not to index the output file. Default is TRUE. |
keep_unsorted |
If sort_out_file == TRUE, whether or not to keep the original, unsorted file. Default is FALSE. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.