Class: Google::Apis::GenomicsV1::CoverageBucket
- Inherits:
-
Object
- Object
- Google::Apis::GenomicsV1::CoverageBucket
- 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
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::GenomicsV1::Range
A 0-based half-open genomic coordinate range for search requests.
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::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ CoverageBucket
Returns a new instance of CoverageBucket.
1591 1592 1593 |
# File 'generated/google/apis/genomics_v1/classes.rb', line 1591 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
1589 1590 1591 |
# File 'generated/google/apis/genomics_v1/classes.rb', line 1589 def mean_coverage @mean_coverage end |
#range ⇒ Google::Apis::GenomicsV1::Range
A 0-based half-open genomic coordinate range for search requests.
Corresponds to the JSON property range
1583 1584 1585 |
# File 'generated/google/apis/genomics_v1/classes.rb', line 1583 def range @range end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1596 1597 1598 1599 |
# File 'generated/google/apis/genomics_v1/classes.rb', line 1596 def update!(**args) @range = args[:range] if args.key?(:range) @mean_coverage = args[:mean_coverage] if args.key?(:mean_coverage) end |