Class: Google::Apis::GenomicsV1::CoverageBucket

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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ CoverageBucket

Returns a new instance of CoverageBucket



2557
2558
2559
# File 'generated/google/apis/genomics_v1/classes.rb', line 2557

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

Instance Attribute Details

#mean_coverageFloat

The average number of reads which are aligned to each individual reference base in this bucket. Corresponds to the JSON property meanCoverage

Returns:

  • (Float)


2550
2551
2552
# File 'generated/google/apis/genomics_v1/classes.rb', line 2550

def mean_coverage
  @mean_coverage
end

#rangeGoogle::Apis::GenomicsV1::Range

A 0-based half-open genomic coordinate range for search requests. Corresponds to the JSON property range



2555
2556
2557
# File 'generated/google/apis/genomics_v1/classes.rb', line 2555

def range
  @range
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2562
2563
2564
2565
# File 'generated/google/apis/genomics_v1/classes.rb', line 2562

def update!(**args)
  @mean_coverage = args[:mean_coverage] if args.key?(:mean_coverage)
  @range = args[:range] if args.key?(:range)
end