class_docstr: Basic tests for the wrapped DeBruijnGraph class.
docstr: Test that pruning removes a path traced by only one read.
docstr_tok: ["Test","that","pruning","removes","a","path","traced","by","only","one","read","."]
code: def test_pruning_1(self):
      """Test that pruning removes a path traced by only one read."""
      ref_str = "GATTACA"
      read_str = "GATGACA"
      read = test_utils.make_read(
          read_str,
          chrom="chr20",
          start=1,
          cigar=[(len(read_str), "M")],
          quals=[30] * len(read_str),
          name="read",
      )
      dbg = debruijn_graph.build(
          ref_str, [read], self.single_k_dbg_options(3)
      )
      self.assertGraphEqual(
          """\
          digraph G {
          0[label=GAT];
          1[label=ATT];
          2[label=TTA];
          3[label=TAC];
          4[label=ACA];
          0->1 [label=1 color=red];
          1->2 [label=1 color=red];
          2->3 [label=1 color=red];
          3->4 [label=1 color=red];
          }
          """,
          dbg,
      )
  
imports: from absl.testing import absltest
  from absl.testing import parameterized
  from third_party.nucleus.io import fasta
  from third_party.nucleus.io import sam
  from third_party.nucleus.testing import test_utils
  from third_party.nucleus.util import ranges
  from deepvariant import testdata
  from deepvariant.protos import realigner_pb2
  from deepvariant.realigner.python import debruijn_graph
label_desc: Use image node_id 5 for calling the DeBruijnGraphWrapTest obj's underlying member method code with example usage: obj.test_pruning_1() without return types