docstr: Tests reads have their ranges calculated correctly.
docstr_tok: ["Tests","reads","have","their","ranges","calculated","correctly","."]
code: def test_read_range(self):
      """Tests reads have their ranges calculated correctly."""
      start = 10000001
      read = test_utils.make_read(
          "AAACAG",
          chrom="chrX",
          start=start,
          cigar="2M1I3M",
          quals=range(10, 16),
          name="read1",
      )
      self.assertEqual(
          ranges.make_range("chrX", start, start + 5),
          utils.read_range(read),
      )
      read = test_utils.make_read(
          "AAACAG",
          chrom="chrX",
          start=start,
          cigar="2M16D3M",
          quals=range(10, 16),
          name="read1",
      )
      self.assertEqual(
          ranges.make_range("chrX", start, start + 5 + 16),
          utils.read_range(read),
      )
  
file_path: deepvariant/third_party/nucleus/util/utils_test.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import collections
  from absl.testing import absltest
  from absl.testing import parameterized
  import numpy
  import numpy.testing
  from third_party.nucleus.testing import test_utils
  from third_party.nucleus.util import ranges
  from third_party.nucleus.util import utils
label_desc: Use image node_id 1 for calling the UtilsTest obj's underlying member method code with example usage: obj.test_read_range() without return types