class Google::Apis::GenomicsV1::ReadGroup

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

Attributes

dataset_id[RW]

The dataset to which this read group belongs. 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::GenomicsV1::Experiment]

id[RW]

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

info[RW]

A map of additional read group information. This must be of the form map ( string key mapping to a list of string values). Corresponds to the JSON property `info` @return [Hash<String,Array<Object>>]

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::GenomicsV1::Program>]

reference_set_id[RW]

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

sample_id[RW]

A client-supplied sample identifier for the reads in this read group. Corresponds to the JSON property `sampleId` @return [String]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/genomics_v1/classes.rb, line 1417
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_v1/classes.rb, line 1422
def update!(**args)
  @id = args[:id] if args.key?(:id)
  @dataset_id = args[:dataset_id] if args.key?(:dataset_id)
  @name = args[:name] if args.key?(:name)
  @description = args[:description] if args.key?(:description)
  @sample_id = args[:sample_id] if args.key?(:sample_id)
  @experiment = args[:experiment] if args.key?(:experiment)
  @predicted_insert_size = args[:predicted_insert_size] if args.key?(:predicted_insert_size)
  @programs = args[:programs] if args.key?(:programs)
  @reference_set_id = args[:reference_set_id] if args.key?(:reference_set_id)
  @info = args[:info] if args.key?(:info)
end