It is a nuissance having to add target region size, although it can simply and efficiently be calculated from the input target region file.
- Merge overlapping regions (BAM reads are counted only once even when overlapping multiple target region features, consequently the size is effectively the size of the covered regions)
- Calculate the total size of the regions covered by target regions.