is.paired.end: Check if BAM file is paired end by using 0x1 flag

is.paired.endR Documentation

Check if BAM file is paired end by using 0x1 flag

Description

Check if BAM file is paired-end by using 0x1 flag, pipes to 'samtools' via command line

Usage

is.paired.end(bams)

Arguments

bams

vector of input BAMs

Value

boolean returns TRUE if BAM file is paired-end, returns FALSE if BAM not paired-end


mskilab/bamUtils documentation built on Sept. 28, 2022, 3:45 p.m.