func IsMateReverse(record *sam.Record) bool {
	return record.Flags&sam.MateReverse != 0
}
IsMateReverse returns true if mate of record maps to reverse strand.
package bam
import (
	"fmt"
	"github.com/grailbio/hts/sam"
)
func IsPaired(record *sam.Record) bool {
	return record.Flags&sam.Paired != 0
}
func IsProperPair(record *sam.Record) bool {
	return record.Flags&sam.ProperPair != 0
}
func IsUnmapped(record *sam.Record) bool {
	return record.Flags&sam.Unmapped != 0
}
func IsMateUnmapped(record *sam.Record) bool {
	return record.Flags&sam.MateUnmapped != 0
}
func IsReverse(record *sam.Record) bool {
	return record.Flags&sam.Reverse != 0
}