Class: Google::Apis::GenomicsV1beta2::CoverageBucket
- Inherits:
-
Object
- Object
- Google::Apis::GenomicsV1beta2::CoverageBucket
- 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
Overview
A bucket over which read coverage has been precomputed. A bucket corresponds to a specific range of the reference sequence.
Instance Attribute Summary collapse
-
#mean_coverage ⇒ Float
The average number of reads which are aligned to each individual reference base in this bucket.
-
#range ⇒ Google::Apis::GenomicsV1beta2::Range
A 0-based half-open genomic coordinate range over a reference sequence.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CoverageBucket
constructor
A new instance of CoverageBucket.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ CoverageBucket
Returns a new instance of CoverageBucket
539 540 541 |
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 539 def initialize(**args) update!(**args) end |
Instance Attribute Details
#mean_coverage ⇒ Float
The average number of reads which are aligned to each individual reference
base in this bucket.
Corresponds to the JSON property meanCoverage
532 533 534 |
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 532 def mean_coverage @mean_coverage end |
#range ⇒ Google::Apis::GenomicsV1beta2::Range
A 0-based half-open genomic coordinate range over a reference sequence.
Corresponds to the JSON property range
537 538 539 |
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 537 def range @range end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
544 545 546 547 |
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 544 def update!(**args) @mean_coverage = args[:mean_coverage] unless args[:mean_coverage].nil? @range = args[:range] unless args[:range].nil? end |