Class: Google::Apis::GenomicsV1::CigarUnit
- Inherits:
-
Object
- Object
- Google::Apis::GenomicsV1::CigarUnit
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/genomics_v1/classes.rb,
generated/google/apis/genomics_v1/representations.rb,
generated/google/apis/genomics_v1/representations.rb
Overview
A single CIGAR operation.
Instance Attribute Summary collapse
-
#operation ⇒ String
Corresponds to the JSON property
operation. -
#operation_length ⇒ Fixnum
The number of genomic bases that the operation runs for.
-
#reference_sequence ⇒ String
referenceSequenceis 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::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ CigarUnit
Returns a new instance of CigarUnit
2192 2193 2194 |
# File 'generated/google/apis/genomics_v1/classes.rb', line 2192 def initialize(**args) update!(**args) end |
Instance Attribute Details
#operation ⇒ String
Corresponds to the JSON property operation
2190 2191 2192 |
# File 'generated/google/apis/genomics_v1/classes.rb', line 2190 def operation @operation end |
#operation_length ⇒ Fixnum
The number of genomic bases that the operation runs for. Required.
Corresponds to the JSON property operationLength
2185 2186 2187 |
# File 'generated/google/apis/genomics_v1/classes.rb', line 2185 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
2180 2181 2182 |
# File 'generated/google/apis/genomics_v1/classes.rb', line 2180 def reference_sequence @reference_sequence end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2197 2198 2199 2200 2201 |
# File 'generated/google/apis/genomics_v1/classes.rb', line 2197 def update!(**args) @reference_sequence = args[:reference_sequence] if args.key?(:reference_sequence) @operation_length = args[:operation_length] if args.key?(:operation_length) @operation = args[:operation] if args.key?(:operation) end |