powered by
Helper function to verify a tag exists
verify_tag(bam, tag)
path to bam file
the RG tag if the bam has more than one sample
logical, whether tag in bam