code: def get_batch_for_key(data):
      
      batches = _get_batches(data, require_bam=False)
      if len(batches) == 1:
          return batches[0]
      else:
          return tuple(batches)
docs: Retrieve batch information useful as a unique key for the sample.