third_party/nucleus/util/cigar.py
def format_cigar_units(cigar_units):
  """Returns the string version of an iterable of CigarUnit protos.

  Args:
    cigar_units: iterable[CigarUnit] protos.

  Returns:
    A string representation of the CigarUnit protos that conforms to the
    CIGAR string specification.
  """
  return ''.join(
      str(unit.operation_length) + CIGAR_OPS_TO_CHAR[unit.operation]
      for unit in cigar_units)
Returns the string version of an iterable of CigarUnit protos.

  Args:
    cigar_units: iterable[CigarUnit] protos.

  Returns:
    A string representation of the CigarUnit protos that conforms to the
    CIGAR string specification.
  
Returns the string version of an iterable of CigarUnit protos.
Returns the string version of an iterable of CigarUnit protos .
def format_cigar_units(cigar_units):
  return ''.join(
      str(unit.operation_length) + CIGAR_OPS_TO_CHAR[unit.operation]
      for unit in cigar_units)
def format_cigar_units ( cigar_units ) : return '' . join ( str ( unit . operation_length ) + CIGAR_OPS_TO_CHAR [ unit . operation ] for unit in cigar_units )
Returns the string version of an iterable of CigarUnit protos.
Returns the string version of an iterable of CigarUnit protos .
"""Returns the string version of an iterable of CigarUnit protos.

  Args:
    cigar_units: iterable[CigarUnit] protos.

  Returns:
    A string representation of the CigarUnit protos that conforms to the
    CIGAR string specification.
  """
A string representation of the CigarUnit protos that conforms to the
CIGAR string specification.
A string representation of the CigarUnit protos that conforms to the CIGAR string specification .
cigar_units
None