class_docstr: Class for reading from native SAM/BAM/CRAM files.
  
  Most users will want to use SamReader instead, because it dynamically
  dispatches between reading native SAM/BAM/CRAM files and TFRecord files based
  on the filename's extensions.
class_docstr_tok: ["Class","for","reading","from","native","SAM\/BAM\/CRAM","files",".","Most","users","will","want","to","use","SamReader","instead",",","because","it","dynamically","dispatches","between","reading","native","SAM\/BAM\/CRAM","files","and","TFRecord","files","based","on","the","filename","'s","extensions","."]
code: def __exit__(self, exit_type, exit_value, exit_traceback):
      self._reader.__exit__(exit_type, exit_value, exit_traceback)
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from third_party.nucleus.io import genomics_reader
  from third_party.nucleus.io import genomics_writer
  from third_party.nucleus.io.python import sam_reader
  from third_party.nucleus.io.python import sam_writer
  from third_party.nucleus.protos import reads_pb2
  from third_party.nucleus.util import ranges
  from third_party.nucleus.util import utils
label_desc: Use image node_id 4 for calling the NativeSamReader obj's underlying member method code with example usage: obj.__exit__(exit_type, exit_value, exit_traceback) without return types