code: def vcf_stats_report_command(
      vcf_path: str, title: Optional[str] = None
  ) -> Tuple[str, Optional[str]]:
      """Returns a vcf_stats_report (command, logfile) for subprocess.
  
      Args:
        vcf_path: Path to VCF, which will be passed to --input_vcf and
          suffix-trimmed for --outfile_base.
        title: Passed straight to command unless it's None.
  
      Returns:
        [command string for subprocess, optional log directory path]
      """
      command = ["time", "/opt/deepvariant/bin/vcf_stats_report"]
      command.extend(["--input_vcf", '"{}"'.format(vcf_path)])
      outfile_base = trim_suffix(trim_suffix(vcf_path, ".gz"), ".vcf")
      command.extend(["--outfile_base", '"{}"'.format(outfile_base)])
      if title is not None:
          command.extend(["--title", '"{}"'.format(title)])
  
      logfile = None
      if _LOGGING_DIR.value:
          logfile = "{}/vcf_stats_report.log".format(_LOGGING_DIR.value)
      return (" ".join(command), logfile)
  
imports: import os
  import subprocess
  import sys
  import tempfile
  from typing import Any, Dict, Optional, Tuple
  from absl import app
  from absl import flags
  from absl import logging
  import tensorflow
label_desc: Use image node_id 10 for calling a global function with example usage: vcf_stats_report_command(vcf_path, title) and returns: str,  logfile