Skip to contents

Figure out if a BAM-file is a paired alignment or not

Usage

isBamPairedAlignment(
  fname,
  bascetInstance = GetDefaultBascetInstance(),
  maxRecords = 10000
)

Arguments

fname

Name of BAM-file

bascetInstance

Deprecated; ignored

maxRecords

Maximum number of BAM records to scan

Value

TRUE if the BAM-file is a paired alignment