Class: Google::Apis::GenomicsV1::VariantSet
- Inherits:
-
Object
- Object
- Google::Apis::GenomicsV1::VariantSet
- 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 variant set is a collection of call sets and variants. It contains summary statistics of those contents. A variant set belongs to a dataset. For more genomics resource definitions, see Fundamentals of Google Genomics
Instance Attribute Summary collapse
-
#dataset_id ⇒ String
The dataset to which this variant set belongs.
-
#description ⇒ String
A textual description of this variant set.
-
#id ⇒ String
The server-generated variant set ID, unique across all variant sets.
-
#metadata ⇒ Array<Google::Apis::GenomicsV1::VariantSetMetadata>
The metadata associated with this variant set.
-
#name ⇒ String
User-specified, mutable name.
-
#reference_bounds ⇒ Array<Google::Apis::GenomicsV1::ReferenceBound>
A list of all references used by the variants in a variant set with associated coordinate upper bounds for each one.
-
#reference_set_id ⇒ String
The reference set to which the variant set is mapped.
Instance Method Summary collapse
-
#initialize(**args) ⇒ VariantSet
constructor
A new instance of VariantSet.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ VariantSet
Returns a new instance of VariantSet
1448 1449 1450 |
# File 'generated/google/apis/genomics_v1/classes.rb', line 1448 def initialize(**args) update!(**args) end |
Instance Attribute Details
#dataset_id ⇒ String
The dataset to which this variant set belongs.
Corresponds to the JSON property datasetId
1428 1429 1430 |
# File 'generated/google/apis/genomics_v1/classes.rb', line 1428 def dataset_id @dataset_id end |
#description ⇒ String
A textual description of this variant set.
Corresponds to the JSON property description
1423 1424 1425 |
# File 'generated/google/apis/genomics_v1/classes.rb', line 1423 def description @description end |
#id ⇒ String
The server-generated variant set ID, unique across all variant sets.
Corresponds to the JSON property id
1418 1419 1420 |
# File 'generated/google/apis/genomics_v1/classes.rb', line 1418 def id @id end |
#metadata ⇒ Array<Google::Apis::GenomicsV1::VariantSetMetadata>
The metadata associated with this variant set.
Corresponds to the JSON property metadata
1407 1408 1409 |
# File 'generated/google/apis/genomics_v1/classes.rb', line 1407 def @metadata end |
#name ⇒ String
User-specified, mutable name.
Corresponds to the JSON property name
1433 1434 1435 |
# File 'generated/google/apis/genomics_v1/classes.rb', line 1433 def name @name end |
#reference_bounds ⇒ Array<Google::Apis::GenomicsV1::ReferenceBound>
A list of all references used by the variants in a variant set
with associated coordinate upper bounds for each one.
Corresponds to the JSON property referenceBounds
1413 1414 1415 |
# File 'generated/google/apis/genomics_v1/classes.rb', line 1413 def reference_bounds @reference_bounds end |
#reference_set_id ⇒ String
The reference set to which the variant set is mapped. The reference set
describes the alignment provenance of the variant set, while the
referenceBounds describe the shape of the actual variant data. The
reference set's reference names are a superset of those found in the
referenceBounds.
For example, given a variant set that is mapped to the GRCh38 reference set
and contains a single variant on reference 'X', referenceBounds would
contain only an entry for 'X', while the associated reference set
enumerates all possible references: '1', '2', 'X', 'Y', 'MT', etc.
Corresponds to the JSON property referenceSetId
1446 1447 1448 |
# File 'generated/google/apis/genomics_v1/classes.rb', line 1446 def reference_set_id @reference_set_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1453 1454 1455 1456 1457 1458 1459 1460 1461 |
# File 'generated/google/apis/genomics_v1/classes.rb', line 1453 def update!(**args) @metadata = args[:metadata] if args.key?(:metadata) @reference_bounds = args[:reference_bounds] if args.key?(:reference_bounds) @id = args[:id] if args.key?(:id) @description = args[:description] if args.key?(:description) @dataset_id = args[:dataset_id] if args.key?(:dataset_id) @name = args[:name] if args.key?(:name) @reference_set_id = args[:reference_set_id] if args.key?(:reference_set_id) end |