Current section
Files
Jump to
Current section
Files
lib/google_api/genomics/v1/model/read_group.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.ReadGroup do
@moduledoc """
A read group is all the data that's processed the same way by the sequencer.
## Attributes
- info (%{optional(String.t) => [ErrorUnknown]}): A map of additional read group information. This must be of the form map<string, string[]> (string key mapping to a list of string values). Defaults to: `null`.
- datasetId (String.t): The dataset to which this read group belongs. Defaults to: `null`.
- description (String.t): A free-form text description of this read group. Defaults to: `null`.
- experiment (Experiment): The experiment used to generate this read group. Defaults to: `null`.
- id (String.t): The server-generated read group ID, unique for all read groups. Note: This is different than the @RG ID field in the SAM spec. For that value, see name. Defaults to: `null`.
- name (String.t): The read group name. This corresponds to the @RG ID field in the SAM spec. Defaults to: `null`.
- predictedInsertSize (integer()): The predicted insert size of this read group. The insert size is the length the sequenced DNA fragment from end-to-end, not including the adapters. Defaults to: `null`.
- programs ([Program]): The programs used to generate this read group. Programs are always identical for all read groups within a read group set. For this reason, only the first read group in a returned set will have this field populated. Defaults to: `null`.
- referenceSetId (String.t): The reference set the reads in this read group are aligned to. Defaults to: `null`.
- sampleId (String.t): A client-supplied sample identifier for the reads in this read group. Defaults to: `null`.
"""
use GoogleApi.Gax.ModelBase
@type t :: %__MODULE__{
:info => map(),
:datasetId => any(),
:description => any(),
:experiment => GoogleApi.Genomics.V1.Model.Experiment.t(),
:id => any(),
:name => any(),
:predictedInsertSize => any(),
:programs => list(GoogleApi.Genomics.V1.Model.Program.t()),
:referenceSetId => any(),
:sampleId => any()
}
field(:info, type: :map)
field(:datasetId)
field(:description)
field(:experiment, as: GoogleApi.Genomics.V1.Model.Experiment)
field(:id)
field(:name)
field(:predictedInsertSize)
field(:programs, as: GoogleApi.Genomics.V1.Model.Program, type: :list)
field(:referenceSetId)
field(:sampleId)
end
defimpl Poison.Decoder, for: GoogleApi.Genomics.V1.Model.ReadGroup do
def decode(value, options) do
GoogleApi.Genomics.V1.Model.ReadGroup.decode(value, options)
end
end
defimpl Poison.Encoder, for: GoogleApi.Genomics.V1.Model.ReadGroup do
def encode(value, options) do
GoogleApi.Gax.ModelBase.encode(value, options)
end
end