code: def _parse_rnaseq_qualimap_metrics(report_file):
      
      from bs4 import BeautifulSoup
      out = {}
      parsers = ["Reads alignment", "Reads genomic origin", "Transcript coverage profile"]
      with open(report_file) as in_handle:
          root = BeautifulSoup(in_handle.read(), "html.parser")
      for table in root.find_all("div", class_="table-summary"):
          h3 = table.find("h3")
          if h3.text in parsers:
              out.update(_parse_qualimap_rnaseq(table.find("table")))
      return out
docs: Extract useful metrics from the qualimap HTML report file.