This function generates a combined header from multiple .bam files from
different reference libraries (e.g. a split bacterial library). It is not
intended for use by users.
Usage
combined_header(bam_files, header_file = "header_tmp.sam")
Arguments
- bam_files
A character vector of the locations/file names of .bam files
from which to combine the headers.
A file name and location for the output file for the
combined header. This will be a .sam format file without any reads.
Defaults to 'header_tmp.sam'.
Value
This function will return a combined header from all the supplied
.bam files.