Class: Google::Apis::GenomicsV1beta2::CigarUnit
- Inherits:
-
Object
- Object
- Google::Apis::GenomicsV1beta2::CigarUnit
- Includes:
- Core::Hashable
- Defined in:
- generated/google/apis/genomics_v1beta2/classes.rb,
generated/google/apis/genomics_v1beta2/representations.rb,
generated/google/apis/genomics_v1beta2/representations.rb
Overview
A single CIGAR operation.
Instance Attribute Summary collapse
-
#operation ⇒ String
Corresponds to the JSON property
operation
. -
#operation_length ⇒ String
The number of bases that the operation runs for.
-
#reference_sequence ⇒ String
referenceSequence is only used at mismatches (SEQUENCE_MISMATCH) and deletions (DELETE).
Instance Method Summary collapse
-
#initialize(**args) ⇒ CigarUnit
constructor
A new instance of CigarUnit.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ CigarUnit
Returns a new instance of CigarUnit
511 512 513 |
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 511 def initialize(**args) update!(**args) end |
Instance Attribute Details
#operation ⇒ String
Corresponds to the JSON property operation
497 498 499 |
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 497 def operation @operation end |
#operation_length ⇒ String
The number of bases that the operation runs for. Required.
Corresponds to the JSON property operationLength
502 503 504 |
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 502 def operation_length @operation_length end |
#reference_sequence ⇒ String
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
509 510 511 |
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 509 def reference_sequence @reference_sequence end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
516 517 518 519 520 |
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 516 def update!(**args) @operation = args[:operation] unless args[:operation].nil? @operation_length = args[:operation_length] unless args[:operation_length].nil? @reference_sequence = args[:reference_sequence] unless args[:reference_sequence].nil? end |