Imports reads stored in BAM files

importBAM(bams, bai_pos = "suffix", paired = NULL, multi = TRUE,
  what = NULL, mate = NA, anchor = NULL, filt = TRUE,
  barcode = "CB")

Arguments

path

Character. Path to file.

main_assembly

Logical. If TRUE (the default), only returns TE intervals on the main chromosomes.

Value

Returns a GRanges object with TE intervals