docs: def get_total_alignment_score(bam):
      '''Returns total of AS: tags in the input BAM'''
      sam_reader = pysam.Samfile(bam, "rb")
      total = 0
      for sam in sam_reader.fetch(until_eof=True):
          try:
              total += sam.opt('AS')
          except:
              pass
      return total