class Google::Apis::GenomicsV1beta2::VariantAnnotation
A Variant annotation.
Attributes
The alternate allele for this variant. If multiple alternate alleles exist at this location, create a separate variant for each one, as they may represent distinct conditions. Corresponds to the JSON property `alternateBases` @return [String]
Describes the clinical significance of a variant. It is adapted from the ClinVar controlled vocabulary for clinical significance described at: http:// www.ncbi.nlm.nih.gov/clinvar/docs/clinsig/ Corresponds to the JSON property `clinicalSignificance` @return [String]
The set of conditions associated with this variant. A condition describes the way a variant influences human health. Corresponds to the JSON property `conditions` @return [Array<Google::Apis::GenomicsV1beta2::VariantAnnotationCondition>]
Effect of the variant on the coding sequence. Corresponds to the JSON property `effect` @return [String]
Google annotation ID of the gene affected by this variant. This should be provided when the variant is created. Corresponds to the JSON property `geneId` @return [String]
Google annotation IDs of the transcripts affected by this variant. These should be provided when the variant is created. Corresponds to the JSON property `transcriptIds` @return [Array<String>]
Type has been adapted from ClinVar's list of variant types. Corresponds to the JSON property `type` @return [String]
Public Class Methods
# File generated/google/apis/genomics_v1beta2/classes.rb, line 3194 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/genomics_v1beta2/classes.rb, line 3199 def update!(**args) @alternate_bases = args[:alternate_bases] unless args[:alternate_bases].nil? @clinical_significance = args[:clinical_significance] unless args[:clinical_significance].nil? @conditions = args[:conditions] unless args[:conditions].nil? @effect = args[:effect] unless args[:effect].nil? @gene_id = args[:gene_id] unless args[:gene_id].nil? @transcript_ids = args[:transcript_ids] unless args[:transcript_ids].nil? @type = args[:type] unless args[:type].nil? end