class Google::Apis::GenomicsV1::CigarUnit

A single CIGAR operation.

Attributes

operation[RW]

Corresponds to the JSON property `operation` @return [String]

operation_length[RW]

The number of genomic bases that the operation runs for. Required. Corresponds to the JSON property `operationLength` @return [String]

reference_sequence[RW]

`referenceSequence` is only used at mismatches (`SEQUENCE_MISMATCH`) and deletions (`DELETE`). Filling this field replaces SAM's MD tag. If the relevant information is not available, this field is unset. Corresponds to the JSON property `referenceSequence` @return [String]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/genomics_v1/classes.rb, line 2004
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/genomics_v1/classes.rb, line 2009
def update!(**args)
  @operation = args[:operation] if args.key?(:operation)
  @operation_length = args[:operation_length] if args.key?(:operation_length)
  @reference_sequence = args[:reference_sequence] if args.key?(:reference_sequence)
end