Current section

Files

Jump to
google_api_genomics lib google_api genomics v1 model reference_set.ex
Raw

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. For more genomics resource definitions, see [Fundamentals of Google Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
## Attributes
- assemblyId (String): Public id of this reference set, such as `GRCh37`. Defaults to: `null`.
- description (String): Free text description of this reference set. Defaults to: `null`.
- id (String): The server-generated reference set ID, unique across all reference sets. Defaults to: `null`.
- md5checksum (String): 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 (List[String]): The IDs of the reference objects that are part of this set. `Reference.md5checksum` must be unique within this set. Defaults to: `null`.
- sourceAccessions (List[String]): 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): The URI from which the references were obtained. Defaults to: `null`.
"""
defstruct [
:"assemblyId",
:"description",
:"id",
:"md5checksum",
:"ncbiTaxonId",
:"referenceIds",
:"sourceAccessions",
:"sourceUri"
]
end
defimpl Poison.Decoder, for: GoogleApi.Genomics.V1.Model.ReferenceSet do
def decode(value, _options) do
value
end
end
defimpl Poison.Encoder, for: GoogleApi.Genomics.V1.Model.ReferenceSet do
def encode(value, options) do
GoogleApi.Genomics.V1.Deserializer.serialize_non_nil(value, options)
end
end