class Google::Apis::GenomicsV1beta2::RangePosition

A 0-based half-open genomic coordinate range over a reference sequence, for representing the position of a genomic resource.

Attributes

end[RW]

The end position of the range on the reference, 0-based exclusive. Corresponds to the JSON property `end` @return [String]

reference_id[RW]

The ID of the Google Genomics reference associated with this range. Corresponds to the JSON property `referenceId` @return [String]

reference_name[RW]

The display name corresponding to the reference specified by referenceId, for example chr1, 1, or chrX. Corresponds to the JSON property `referenceName` @return [String]

reverse_strand[RW]

Whether this range refers to the reverse strand, as opposed to the forward strand. Note that regardless of this field, the start/end position of the range always refer to the forward strand. Corresponds to the JSON property `reverseStrand` @return [Boolean]

reverse_strand?[RW]

Whether this range refers to the reverse strand, as opposed to the forward strand. Note that regardless of this field, the start/end position of the range always refer to the forward strand. Corresponds to the JSON property `reverseStrand` @return [Boolean]

start[RW]

The start position of the range on the reference, 0-based inclusive. Corresponds to the JSON property `start` @return [String]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/genomics_v1beta2/classes.rb, line 1566
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/genomics_v1beta2/classes.rb, line 1571
def update!(**args)
  @end = args[:end] unless args[:end].nil?
  @reference_id = args[:reference_id] unless args[:reference_id].nil?
  @reference_name = args[:reference_name] unless args[:reference_name].nil?
  @reverse_strand = args[:reverse_strand] unless args[:reverse_strand].nil?
  @start = args[:start] unless args[:start].nil?
end