class Google::Apis::GenomicsV1beta2::ReadGroup

A read group is all the data that's processed the same way by the sequencer.

Attributes

dataset_id[RW]

The ID of the dataset this read group belongs to. Corresponds to the JSON property `datasetId` @return [String]

description[RW]

A free-form text description of this read group. Corresponds to the JSON property `description` @return [String]

experiment[RW]

The experiment used to generate this read group. Corresponds to the JSON property `experiment` @return [Google::Apis::GenomicsV1beta2::ReadGroupExperiment]

id[RW]

The generated unique read group ID. Note: This is different than the @RG ID field in the SAM spec. For that value, see the name field. Corresponds to the JSON property `id` @return [String]

info[RW]

A string which maps to an array of values. Corresponds to the JSON property `info` @return [Hash<String,Array<String>>]

name[RW]

The read group name. This corresponds to the @RG ID field in the SAM spec. Corresponds to the JSON property `name` @return [String]

predicted_insert_size[RW]

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. Corresponds to the JSON property `predictedInsertSize` @return [Fixnum]

programs[RW]

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. Corresponds to the JSON property `programs` @return [Array<Google::Apis::GenomicsV1beta2::ReadGroupProgram>]

reference_set_id[RW]

The reference set the reads in this read group are aligned to. Required if there are any read alignments. Corresponds to the JSON property `referenceSetId` @return [String]

sample_id[RW]

The sample this read group's data was generated from. Note: This is not an actual ID within this repository, but rather an identifier for a sample which may be meaningful to some external system. Corresponds to the JSON property `sampleId` @return [String]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/genomics_v1beta2/classes.rb, line 1815
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/genomics_v1beta2/classes.rb, line 1820
def update!(**args)
  @dataset_id = args[:dataset_id] unless args[:dataset_id].nil?
  @description = args[:description] unless args[:description].nil?
  @experiment = args[:experiment] unless args[:experiment].nil?
  @id = args[:id] unless args[:id].nil?
  @info = args[:info] unless args[:info].nil?
  @name = args[:name] unless args[:name].nil?
  @predicted_insert_size = args[:predicted_insert_size] unless args[:predicted_insert_size].nil?
  @programs = args[:programs] unless args[:programs].nil?
  @reference_set_id = args[:reference_set_id] unless args[:reference_set_id].nil?
  @sample_id = args[:sample_id] unless args[:sample_id].nil?
end