code: def test_make_examples_somatic_end2end_check_calling_examples_suffixes(
      self,
  ):
      FLAGS.ref = testdata.CHR20_FASTA
      FLAGS.reads_normal = testdata.CHR20_BAM
      FLAGS.reads_tumor = testdata.CHR20_BAM
      FLAGS.sample_name_normal = "NORMAL"
      FLAGS.sample_name_tumor = "TUMOR"
      FLAGS.mode = "calling"
      FLAGS.examples = test_utils.test_tmpfile(
          "TEST_SUFFIX.tfrecord.gz"
      )
      with_normal_suffix = test_utils.test_tmpfile(
          "TEST_SUFFIX_normal.tfrecord.gz"
      )
      with_tumor_suffix = test_utils.test_tmpfile(
          "TEST_SUFFIX_tumor.tfrecord.gz"
      )
      options = make_examples_somatic.default_options(add_flags=True)
      FLAGS.regions = "chr20:10,000,000-10,010,000"
      options = make_examples_somatic.default_options(add_flags=True)
      make_examples_core.make_examples_runner(options)
      # This shows that tumor examples in calling mode are generated without the
      # _tumor suffixes, because it's the only samples generating output.
      self.assertFalse(os.path.exists(with_normal_suffix))
      self.assertFalse(os.path.exists(with_tumor_suffix))
      self.assertTrue(os.path.exists(FLAGS.examples))
  
file_path: deepvariant/deepvariant/make_examples_somatic_test.py
imports: import os
  from absl import flags
  from absl import logging
  from absl.testing import absltest
  from absl.testing import flagsaver
  from absl.testing import parameterized
  from deepvariant import make_examples_core
  from deepvariant import make_examples_somatic
  from deepvariant import testdata
  from third_party.nucleus.testing import test_utils
label_desc: Use image node_id 2 for calling the MakeExamplesSomaticEnd2EndTest obj's underlying member method code with example usage: obj.test_make_examples_somatic_end2end_check_calling_examples_suffixes() without return types