code: def gwas(batch, vcf, phenotypes):
      """
      QC data and get association test statistics
      """
      cores = 2
      g = batch.new_job(name="run-gwas")
      g.image("us-docker.pkg.dev/<MY_PROJECT>/1kg-gwas:latest")
      g.cpu(cores)
      g.declare_resource_group(
          ofile={
              "bed": "{root}.bed",
              "bim": "{root}.bim",
              "fam": "{root}.fam",
              "assoc": "{root}.assoc",
          }
      )
      g.command(
          f"""
  python3 /run_gwas.py \
      --vcf {vcf} \
      --phenotypes {phenotypes} \
      --output-file {g.ofile} \
      --cores {cores}
  """
      )
      return g
  
label_desc: Use image node_id 1 for calling a global function with example usage: gwas(batch, vcf, phenotypes) and returns: g