class Google::Apis::GenomicsV1::VariantAnnotation

Attributes

alternate_bases[RW]

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]

clinical_significance[RW]

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]

conditions[RW]

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::GenomicsV1::ClinicalCondition>]

effect[RW]

Effect of the variant on the coding sequence. Corresponds to the JSON property `effect` @return [String]

gene_id[RW]

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]

transcript_ids[RW]

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[RW]

Type has been adapted from ClinVar's list of variant types. Corresponds to the JSON property `type` @return [String]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/genomics_v1/classes.rb, line 328
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/genomics_v1/classes.rb, line 333
def update!(**args)
  @type = args[:type] if args.key?(:type)
  @effect = args[:effect] if args.key?(:effect)
  @alternate_bases = args[:alternate_bases] if args.key?(:alternate_bases)
  @gene_id = args[:gene_id] if args.key?(:gene_id)
  @transcript_ids = args[:transcript_ids] if args.key?(:transcript_ids)
  @conditions = args[:conditions] if args.key?(:conditions)
  @clinical_significance = args[:clinical_significance] if args.key?(:clinical_significance)
end