Current section
Files
Jump to
Current section
Files
lib/google_api/genomics/v1/model/variant_annotation.ex
# Copyright 2017 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# NOTE: This class is auto generated by the swagger code generator program.
# https://github.com/swagger-api/swagger-codegen.git
# Do not edit the class manually.
defmodule GoogleApi.Genomics.V1.Model.VariantAnnotation do
@moduledoc """
## Attributes
- alternateBases (String.t): 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. Defaults to: `null`.
- clinicalSignificance (String.t): 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/ Defaults to: `null`.
- Enum - one of [CLINICAL_SIGNIFICANCE_UNSPECIFIED, CLINICAL_SIGNIFICANCE_OTHER, UNCERTAIN, BENIGN, LIKELY_BENIGN, LIKELY_PATHOGENIC, PATHOGENIC, DRUG_RESPONSE, HISTOCOMPATIBILITY, CONFERS_SENSITIVITY, RISK_FACTOR, ASSOCIATION, PROTECTIVE, MULTIPLE_REPORTED]
- conditions ([ClinicalCondition]): The set of conditions associated with this variant. A condition describes the way a variant influences human health. Defaults to: `null`.
- effect (String.t): Effect of the variant on the coding sequence. Defaults to: `null`.
- Enum - one of [EFFECT_UNSPECIFIED, EFFECT_OTHER, FRAMESHIFT, FRAME_PRESERVING_INDEL, SYNONYMOUS_SNP, NONSYNONYMOUS_SNP, STOP_GAIN, STOP_LOSS, SPLICE_SITE_DISRUPTION]
- geneId (String.t): Google annotation ID of the gene affected by this variant. This should be provided when the variant is created. Defaults to: `null`.
- transcriptIds ([String.t]): Google annotation IDs of the transcripts affected by this variant. These should be provided when the variant is created. Defaults to: `null`.
- type (String.t): Type has been adapted from ClinVar's list of variant types. Defaults to: `null`.
- Enum - one of [TYPE_UNSPECIFIED, TYPE_OTHER, INSERTION, DELETION, SUBSTITUTION, SNP, STRUCTURAL, CNV]
"""
use GoogleApi.Gax.ModelBase
@type t :: %__MODULE__{
:alternateBases => any(),
:clinicalSignificance => any(),
:conditions => list(GoogleApi.Genomics.V1.Model.ClinicalCondition.t()),
:effect => any(),
:geneId => any(),
:transcriptIds => list(any()),
:type => any()
}
field(:alternateBases)
field(:clinicalSignificance)
field(:conditions, as: GoogleApi.Genomics.V1.Model.ClinicalCondition, type: :list)
field(:effect)
field(:geneId)
field(:transcriptIds, type: :list)
field(:type)
end
defimpl Poison.Decoder, for: GoogleApi.Genomics.V1.Model.VariantAnnotation do
def decode(value, options) do
GoogleApi.Genomics.V1.Model.VariantAnnotation.decode(value, options)
end
end
defimpl Poison.Encoder, for: GoogleApi.Genomics.V1.Model.VariantAnnotation do
def encode(value, options) do
GoogleApi.Gax.ModelBase.encode(value, options)
end
end