Class: Google::Apis::GenomicsV1::VariantAnnotation
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::GenomicsV1::VariantAnnotation
 
- 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
Instance Attribute Summary collapse
- 
  
    
      #alternate_bases  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The alternate allele for this variant. 
- 
  
    
      #clinical_significance  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Describes the clinical significance of a variant. 
- 
  
    
      #conditions  ⇒ Array<Google::Apis::GenomicsV1::ClinicalCondition> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The set of conditions associated with this variant. 
- 
  
    
      #effect  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Effect of the variant on the coding sequence. 
- 
  
    
      #gene_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Google annotation ID of the gene affected by this variant. 
- 
  
    
      #transcript_ids  ⇒ Array<String> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Google annotation IDs of the transcripts affected by this variant. 
- 
  
    
      #type  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Type has been adapted from ClinVar's list of variant types. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ VariantAnnotation 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of VariantAnnotation. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ VariantAnnotation
Returns a new instance of VariantAnnotation
| 3495 3496 3497 | # File 'generated/google/apis/genomics_v1/classes.rb', line 3495 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#alternate_bases ⇒ String
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
| 3457 3458 3459 | # File 'generated/google/apis/genomics_v1/classes.rb', line 3457 def alternate_bases @alternate_bases end | 
#clinical_significance ⇒ 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
| 3465 3466 3467 | # File 'generated/google/apis/genomics_v1/classes.rb', line 3465 def clinical_significance @clinical_significance end | 
#conditions ⇒ Array<Google::Apis::GenomicsV1::ClinicalCondition>
The set of conditions associated with this variant.
A condition describes the way a variant influences human health.
Corresponds to the JSON property conditions
| 3471 3472 3473 | # File 'generated/google/apis/genomics_v1/classes.rb', line 3471 def conditions @conditions end | 
#effect ⇒ String
Effect of the variant on the coding sequence.
Corresponds to the JSON property effect
| 3476 3477 3478 | # File 'generated/google/apis/genomics_v1/classes.rb', line 3476 def effect @effect end | 
#gene_id ⇒ 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
| 3482 3483 3484 | # File 'generated/google/apis/genomics_v1/classes.rb', line 3482 def gene_id @gene_id end | 
#transcript_ids ⇒ Array<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
| 3488 3489 3490 | # File 'generated/google/apis/genomics_v1/classes.rb', line 3488 def transcript_ids @transcript_ids end | 
#type ⇒ String
Type has been adapted from ClinVar's list of variant types.
Corresponds to the JSON property type
| 3493 3494 3495 | # File 'generated/google/apis/genomics_v1/classes.rb', line 3493 def type @type end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 3500 3501 3502 3503 3504 3505 3506 3507 3508 | # File 'generated/google/apis/genomics_v1/classes.rb', line 3500 def update!(**args) @alternate_bases = args[:alternate_bases] if args.key?(:alternate_bases) @clinical_significance = args[:clinical_significance] if args.key?(:clinical_significance) @conditions = args[:conditions] if args.key?(:conditions) @effect = args[:effect] if args.key?(:effect) @gene_id = args[:gene_id] if args.key?(:gene_id) @transcript_ids = args[:transcript_ids] if args.key?(:transcript_ids) @type = args[:type] if args.key?(:type) end |