Data frame with sample information including
mandatory character columns sample_name and file_bam.
yieldSize
Number of records used for obtaining library
information, or NULL for all records
cores
Number of cores available for parallel processing
Value
sample_info with additional columns paired_end,
read_length, frag_length, and lib_size
if yieldSize is NULL
Details
Library information can be inferred from a subset of BAM records
by setting the number of records via argument yieldSize.
Note that library size is only obtained if yieldSize is NULL.