code: def test_sample_and_variant_qc_call_rate(self):
      mt = hl.import_vcf(resource("sample.vcf"))
  
      n_rows, n_cols = mt.count()
      mt = mt.filter_entries(mt.GQ > 5)
      mt = hl.variant_qc(hl.sample_qc(mt))
  
      assert mt.aggregate_cols(
          hl.agg.all(
              hl.approx_equal(
                  mt.sample_qc.call_rate, mt.sample_qc.n_called / n_rows
              )
          )
      )
      assert mt.aggregate_rows(
          hl.agg.all(
              hl.approx_equal(
                  mt.variant_qc.call_rate,
                  mt.variant_qc.n_called / n_cols,
              )
          )
      )
  
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 15 for calling the Tests obj's underlying member method code with example usage: obj.test_sample_and_variant_qc_call_rate() without return types