Class: Google::Apis::GenomicsV1beta2::TranscriptCodingSequence

Inherits:
Object
  • Object
show all
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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ TranscriptCodingSequence

Returns a new instance of TranscriptCodingSequence.



2998
2999
3000
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 2998

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#endString

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

Returns:

  • (String)


2989
2990
2991
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 2989

def end
  @end
end

#startString

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

Returns:

  • (String)


2996
2997
2998
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 2996

def start
  @start
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3003
3004
3005
3006
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 3003

def update!(**args)
  @end = args[:end] unless args[:end].nil?
  @start = args[:start] unless args[:start].nil?
end