Current section
Files
Jump to
Current section
Files
lib/google_api/genomics/v1/model/reference_set.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.ReferenceSet do
@moduledoc """
A reference set is a set of references which typically comprise a reference assembly for a species, such as `GRCh38` which is representative of the human genome. A reference set defines a common coordinate space for comparing reference-aligned experimental data. A reference set contains 1 or more references.
## Attributes
- assemblyId (String.t): Public id of this reference set, such as `GRCh37`. Defaults to: `null`.
- description (String.t): Free text description of this reference set. Defaults to: `null`.
- id (String.t): The server-generated reference set ID, unique across all reference sets. Defaults to: `null`.
- md5checksum (String.t): Order-independent MD5 checksum which identifies this reference set. The checksum is computed by sorting all lower case hexidecimal string `reference.md5checksum` (for all reference in this set) in ascending lexicographic order, concatenating, and taking the MD5 of that value. The resulting value is represented in lower case hexadecimal format. Defaults to: `null`.
- ncbiTaxonId (integer()): ID from http://www.ncbi.nlm.nih.gov/taxonomy (for example, 9606 for human) indicating the species which this reference set is intended to model. Note that contained references may specify a different `ncbiTaxonId`, as assemblies may contain reference sequences which do not belong to the modeled species, for example EBV in a human reference genome. Defaults to: `null`.
- referenceIds ([String.t]): The IDs of the reference objects that are part of this set. `Reference.md5checksum` must be unique within this set. Defaults to: `null`.
- sourceAccessions ([String.t]): All known corresponding accession IDs in INSDC (GenBank/ENA/DDBJ) ideally with a version number, for example `NC_000001.11`. Defaults to: `null`.
- sourceUri (String.t): The URI from which the references were obtained. Defaults to: `null`.
"""
use GoogleApi.Gax.ModelBase
@type t :: %__MODULE__{
:assemblyId => any(),
:description => any(),
:id => any(),
:md5checksum => any(),
:ncbiTaxonId => any(),
:referenceIds => list(any()),
:sourceAccessions => list(any()),
:sourceUri => any()
}
field(:assemblyId)
field(:description)
field(:id)
field(:md5checksum)
field(:ncbiTaxonId)
field(:referenceIds, type: :list)
field(:sourceAccessions, type: :list)
field(:sourceUri)
end
defimpl Poison.Decoder, for: GoogleApi.Genomics.V1.Model.ReferenceSet do
def decode(value, options) do
GoogleApi.Genomics.V1.Model.ReferenceSet.decode(value, options)
end
end
defimpl Poison.Encoder, for: GoogleApi.Genomics.V1.Model.ReferenceSet do
def encode(value, options) do
GoogleApi.Gax.ModelBase.encode(value, options)
end
end