code: def test_vep_grch38_against_dataproc(self):
      dataproc_result = hl.import_table(
          resource("dataproc_vep_grch38_annotations.tsv.gz"),
          key=["locus", "alleles"],
          types={
              "locus": hl.tlocus("GRCh38"),
              "alleles": hl.tarray(hl.tstr),
              "vep": hl.tstr,
          },
          force=True,
      )
      loftee_variants = dataproc_result.select()
  
      hail_vep_result = hl.vep(
          loftee_variants, self.vep_config_grch38_95
      )
      hail_vep_result = hail_vep_result.annotate(
          vep=hail_vep_result.vep.annotate(
              input=hl.str("\t").join(
                  [
                      hail_vep_result.locus.contig,
                      hl.str(hail_vep_result.locus.position),
                      ".",
                      hail_vep_result.alleles[0],
                      hail_vep_result.alleles[1],
                      ".",
                      ".",
                      "GT",
                  ]
              )
          )
      )
      hail_vep_result = hail_vep_result.select("vep")
  
      def parse_lof_info_into_dict(ht):
          def tuple2(arr):
              return hl.tuple([arr[0], arr[1]])
  
          return ht.annotate(
              vep=ht.vep.annotate(
                  transcript_consequences=ht.vep.transcript_consequences.map(
                      lambda csq: csq.annotate(
                          lof_info=hl.or_missing(
                              csq.lof_info != "null",
                              hl.dict(
                                  csq.lof_info.split(",").map(
                                      lambda kv: tuple2(kv.split(":"))
                                  )
                              ),
                          )
                      )
                  )
              )
          )
  
      dataproc_result = dataproc_result.annotate(
          vep=hl.parse_json(
              dataproc_result.vep, hail_vep_result.vep.dtype
          )
      )
  
      hail_vep_result = parse_lof_info_into_dict(hail_vep_result)
      dataproc_result = parse_lof_info_into_dict(dataproc_result)
  
      assert hail_vep_result._same(dataproc_result)
  
imports: import unittest
  import hail
  import hail.expr.aggregators
  from hail.utils.misc import new_temp_file
  from ..helpers import *
  from hail.methods.qc import VEPConfigGRCh37Version85, VEPConfigGRCh38Version95
label_desc: Use image node_id 23 for calling the Tests obj's underlying member method code with example usage: obj.test_vep_grch38_against_dataproc() and returns: ht, hl