Class: Google::Apis::GenomicsV1::CodingSequence
- Inherits:
-
Object
- Object
- Google::Apis::GenomicsV1::CodingSequence
- 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
Instance Attribute Summary collapse
-
#end ⇒ Fixnum
The end of the coding sequence on this annotation's reference sequence, 0-based exclusive.
-
#start ⇒ Fixnum
The start of the coding sequence on this annotation's reference sequence, 0-based inclusive.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CodingSequence
constructor
A new instance of CodingSequence.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ CodingSequence
Returns a new instance of CodingSequence
2985 2986 2987 |
# File 'generated/google/apis/genomics_v1/classes.rb', line 2985 def initialize(**args) update!(**args) end |
Instance Attribute Details
#end ⇒ Fixnum
The end of the coding sequence on this annotation's reference sequence,
0-based exclusive. Note that this position is relative to the reference
start, and not the containing annotation start.
Corresponds to the JSON property end
2983 2984 2985 |
# File 'generated/google/apis/genomics_v1/classes.rb', line 2983 def end @end end |
#start ⇒ Fixnum
The start of the coding sequence on this annotation's reference sequence,
0-based inclusive. Note that this position is relative to the reference
start, and not the containing annotation start.
Corresponds to the JSON property start
2976 2977 2978 |
# File 'generated/google/apis/genomics_v1/classes.rb', line 2976 def start @start end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2990 2991 2992 2993 |
# File 'generated/google/apis/genomics_v1/classes.rb', line 2990 def update!(**args) @start = args[:start] if args.key?(:start) @end = args[:end] if args.key?(:end) end |