code: def test_show_examples_end2end_all_optional_parameters(self):
      # Set all the optional parameters to check that they all work together.
      output_prefix = test_utils.test_tmpfile("kitchen_sink")
      FLAGS.examples = testdata.GOLDEN_TRAINING_EXAMPLES
      FLAGS.example_info_json = FLAGS.examples + ".example_info.json"
      FLAGS.output = output_prefix
      FLAGS.annotation = False
      FLAGS.regions = "chr20:10,003,650-10,005,000"
      FLAGS.vcf = testdata.TRUTH_VARIANTS_VCF
      FLAGS.image_type = "both"
      FLAGS.num_records = 5
      FLAGS.verbose = False
      FLAGS.truth_labels = False  # On by default for training examples.
  
      show_examples.run()
      ls = glob.glob("{}*".format(output_prefix))
      filenames = [os.path.basename(path) for path in ls]
  
      self.assertTrue(
          any(
              [
                  "kitchen_sink_chr20" in filename
                  for filename in filenames
              ]
          ),
          msg='image_type=both, so there should be images without "rgb"',
      )
      self.assertTrue(
          any(["rgb" in filename for filename in filenames]),
          msg='image_type=both, so there should be images with "rgb"',
      )
      self.assertTrue(
          all([filename.endswith(".png") for filename in filenames])
      )
      self.assertFalse(
          any(["label" in filename for filename in filenames]),
          msg='Should be no "label" when truth_labels=False',
      )
      self.assertLen(
          filenames,
          10,
          msg="Should be 10 filenames, i.e. 5 records with channels+rgb for each",
      )
      # Despite "Count", this checks that the items are the same, unordered.
      self.assertCountEqual(
          filenames,
          [
              "kitchen_sink_chr20:10004146_A->G.png",
              "kitchen_sink_chr20:10004146_A->G.rgb.png",
              "kitchen_sink_chr20:10004093_A->C.png",
              "kitchen_sink_chr20:10004093_A->C.rgb.png",
              "kitchen_sink_chr20:10003831_G->A.png",
              "kitchen_sink_chr20:10003831_G->A.rgb.png",
              "kitchen_sink_chr20:10003691_A->G.png",
              "kitchen_sink_chr20:10003691_A->G.rgb.png",
              "kitchen_sink_chr20:10003650_T->C.png",
              "kitchen_sink_chr20:10003650_T->C.rgb.png",
          ],
          msg=(
              "Specific examples and their output filenames should be the same "
              "if the inputs are the same."
          ),
      )
  
imports: import glob
  import os
  from absl import flags
  from absl.testing import absltest
  from absl.testing import flagsaver
  from absl.testing import parameterized
  from deepvariant import show_examples
  from deepvariant import testdata
  from third_party.nucleus.testing import test_utils
label_desc: Use image node_id 3 for calling the ShowExamplesEnd2EndTest obj's underlying member method code with example usage: obj.test_show_examples_end2end_all_optional_parameters() without return types