Class: Google::Apis::GenomicsV1::Exon
- Inherits:
-
Object
- Object
- Google::Apis::GenomicsV1::Exon
- 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 position of the exon on this annotation's reference sequence, 0-based exclusive.
-
#frame ⇒ Fixnum
The frame of this exon.
-
#start ⇒ Fixnum
The start position of the exon on this annotation's reference sequence, 0-based inclusive.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Exon
constructor
A new instance of Exon.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Exon
Returns a new instance of Exon
3006 3007 3008 |
# File 'generated/google/apis/genomics_v1/classes.rb', line 3006 def initialize(**args) update!(**args) end |
Instance Attribute Details
#end ⇒ Fixnum
The end position of the exon on this annotation's reference sequence,
0-based exclusive. Note that this is relative to the reference start, and
not the containing annotation start.
Corresponds to the JSON property end
3004 3005 3006 |
# File 'generated/google/apis/genomics_v1/classes.rb', line 3004 def end @end end |
#frame ⇒ Fixnum
The frame of this exon. Contains a value of 0, 1, or 2, which indicates
the offset of the first coding base of the exon within the reading frame
of the coding DNA sequence, if any. This field is dependent on the
strandedness of this annotation (see
Annotation.reverse_strand).
For forward stranded annotations, this offset is relative to the
exon.start. For reverse
strand annotations, this offset is relative to the
exon.end - 1.
Unset if this exon does not intersect the coding sequence. Upon creation
of a transcript, the frame must be populated for all or none of the
coding exons.
Corresponds to the JSON property frame
2997 2998 2999 |
# File 'generated/google/apis/genomics_v1/classes.rb', line 2997 def frame @frame end |
#start ⇒ Fixnum
The start position of the exon on this annotation's reference sequence,
0-based inclusive. Note that this is relative to the reference start, and
not the containing annotation start.
Corresponds to the JSON property start
2981 2982 2983 |
# File 'generated/google/apis/genomics_v1/classes.rb', line 2981 def start @start end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3011 3012 3013 3014 3015 |
# File 'generated/google/apis/genomics_v1/classes.rb', line 3011 def update!(**args) @start = args[:start] if args.key?(:start) @frame = args[:frame] if args.key?(:frame) @end = args[:end] if args.key?(:end) end |