code: def test_sample_name_command(
      self, sample_name_tumor, sample_name_normal
  ):
      FLAGS.model_type = "WGS"
      FLAGS.ref = "your_ref"
      FLAGS.reads_tumor = "your_tumor_bam"
      FLAGS.reads_normal = "your_normal_bam"
      FLAGS.output_vcf = "your_vcf"
      FLAGS.output_gvcf = None
      FLAGS.num_shards = 64
      FLAGS.regions = None
      FLAGS.sample_name_tumor = sample_name_tumor
      FLAGS.sample_name_normal = sample_name_normal
      FLAGS.customized_model = "/opt/models/wgs/model.ckpt"
      commands = run_deepsomatic.create_all_commands_and_logfiles(
          "/tmp/deepsomatic_tmp_output", used_in_test=True
      )
  
      extra_sample_name_flag = ""
      if sample_name_normal is not None:
          extra_sample_name_flag += (
              f' --sample_name_normal "{sample_name_normal}"'
          )
      if sample_name_tumor is not None:
          extra_sample_name_flag += (
              f' --sample_name_tumor "{sample_name_tumor}"'
          )
  
      self.assertEqual(
          commands[0][0],
          "time seq 0 63 | parallel -q --halt 2 --line-buffer"
          " /opt/deepvariant/bin/make_examples_somatic --mode calling --ref"
          ' "your_ref" --reads_tumor "your_tumor_bam" --reads_normal'
          ' "your_normal_bam" --examples'
          ' "/tmp/deepsomatic_tmp_output/make_examples_somatic.tfrecord@64.gz"'
          ' --channels "insert_size"'
          "%s"
          ' --vsc_max_fraction_indels_for_non_target_sample "0.5"'
          ' --vsc_max_fraction_snps_for_non_target_sample "0.5"'
          ' --vsc_min_fraction_indels "0.05" --vsc_min_fraction_snps "0.029"'
          " --task {}" % extra_sample_name_flag,
      )
      self.assertEqual(
          commands[1][0],
          (
              "time /opt/deepvariant/bin/call_variants --outfile"
              ' "/tmp/deepsomatic_tmp_output/call_variants_output.tfrecord.gz"'
              " --examples"
              ' "/tmp/deepsomatic_tmp_output/make_examples_somatic.tfrecord@64.gz"'
              ' --checkpoint "/opt/models/wgs/model.ckpt"'
          ),
      )
      self.assertEqual(
          commands[2][0],
          "time /opt/deepvariant/bin/postprocess_variants "
          '--ref "your_ref" '
          "--infile "
          '"/tmp/deepsomatic_tmp_output/call_variants_output.tfrecord.gz" '
          '--outfile "your_vcf" '
          "--cpus 0 "
          "--process_somatic=true",
      )
  
file_path: deepvariant/scripts/run_deepsomatic_test.py
imports: from absl import flags
  from absl.testing import absltest
  from absl.testing import flagsaver
  from absl.testing import parameterized
  from deepvariant.opensource_only.scripts import run_deepsomatic
label_desc: Use image node_id 3 for calling the RunDeepSomaticTest obj's underlying member method code with example usage: obj.test_sample_name_command(sample_name_tumor, sample_name_normal) without return types