Class: Google::Apis::GenomicsV1beta2::ReadGroupSet

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable
Defined in:
generated/google/apis/genomics_v1beta2/classes.rb,
generated/google/apis/genomics_v1beta2/representations.rb,
generated/google/apis/genomics_v1beta2/representations.rb

Overview

A read group set is a logical collection of read groups, which are collections of reads produced by a sequencer. A read group set typically models reads corresponding to one sample, sequenced one way, and aligned one way.

  • A read group set belongs to one dataset.
  • A read group belongs to one read group set.
  • A read belongs to one read group.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ReadGroupSet

Returns a new instance of ReadGroupSet



1965
1966
1967
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 1965

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#dataset_idString

The dataset ID. Corresponds to the JSON property datasetId

Returns:

  • (String)


1931
1932
1933
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 1931

def dataset_id
  @dataset_id
end

#filenameString

The filename of the original source file for this read group set, if any. Corresponds to the JSON property filename

Returns:

  • (String)


1936
1937
1938
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 1936

def filename
  @filename
end

#idString

The read group set ID. Corresponds to the JSON property id

Returns:

  • (String)


1941
1942
1943
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 1941

def id
  @id
end

#infoHash<String,Array<String>>

A string which maps to an array of values. Corresponds to the JSON property info

Returns:

  • (Hash<String,Array<String>>)


1946
1947
1948
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 1946

def info
  @info
end

#nameString

The read group set name. By default this will be initialized to the sample name of the sequenced data contained in this set. Corresponds to the JSON property name

Returns:

  • (String)


1952
1953
1954
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 1952

def name
  @name
end

#read_groupsArray<Google::Apis::GenomicsV1beta2::ReadGroup>

The read groups in this set. There are typically 1-10 read groups in a read group set. Corresponds to the JSON property readGroups



1958
1959
1960
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 1958

def read_groups
  @read_groups
end

#reference_set_idString

The reference set the reads in this read group set are aligned to. Corresponds to the JSON property referenceSetId

Returns:

  • (String)


1963
1964
1965
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 1963

def reference_set_id
  @reference_set_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1970
1971
1972
1973
1974
1975
1976
1977
1978
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 1970

def update!(**args)
  @dataset_id = args[:dataset_id] unless args[:dataset_id].nil?
  @filename = args[:filename] unless args[:filename].nil?
  @id = args[:id] unless args[:id].nil?
  @info = args[:info] unless args[:info].nil?
  @name = args[:name] unless args[:name].nil?
  @read_groups = args[:read_groups] unless args[:read_groups].nil?
  @reference_set_id = args[:reference_set_id] unless args[:reference_set_id].nil?
end