Class: Google::Apis::GenomicsV1::VariantSet

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 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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ VariantSet

Returns a new instance of VariantSet



1216
1217
1218
# File 'generated/google/apis/genomics_v1/classes.rb', line 1216

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

Instance Attribute Details

#dataset_idString

The dataset to which this variant set belongs. Corresponds to the JSON property datasetId

Returns:

  • (String)


1175
1176
1177
# File 'generated/google/apis/genomics_v1/classes.rb', line 1175

def dataset_id
  @dataset_id
end

#descriptionString

A textual description of this variant set. Corresponds to the JSON property description

Returns:

  • (String)


1214
1215
1216
# File 'generated/google/apis/genomics_v1/classes.rb', line 1214

def description
  @description
end

#idString

The server-generated variant set ID, unique across all variant sets. Corresponds to the JSON property id

Returns:

  • (String)


1209
1210
1211
# File 'generated/google/apis/genomics_v1/classes.rb', line 1209

def id
  @id
end

#metadataArray<Google::Apis::GenomicsV1::VariantSetMetadata>

The metadata associated with this variant set. Corresponds to the JSON property metadata



1198
1199
1200
# File 'generated/google/apis/genomics_v1/classes.rb', line 1198

def 
  @metadata
end

#nameString

User-specified, mutable name. Corresponds to the JSON property name

Returns:

  • (String)


1180
1181
1182
# File 'generated/google/apis/genomics_v1/classes.rb', line 1180

def name
  @name
end

#reference_boundsArray<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



1204
1205
1206
# File 'generated/google/apis/genomics_v1/classes.rb', line 1204

def reference_bounds
  @reference_bounds
end

#reference_set_idString

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

Returns:

  • (String)


1193
1194
1195
# File 'generated/google/apis/genomics_v1/classes.rb', line 1193

def reference_set_id
  @reference_set_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1221
1222
1223
1224
1225
1226
1227
1228
1229
# File 'generated/google/apis/genomics_v1/classes.rb', line 1221

def update!(**args)
  @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)
  @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)
end