Class: Google::Apis::GenomicsV1beta2::ReadGroupSet
- Inherits:
-
Object
- Object
- Google::Apis::GenomicsV1beta2::ReadGroupSet
- 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
-
#dataset_id ⇒ String
The dataset ID.
-
#filename ⇒ String
The filename of the original source file for this read group set, if any.
-
#id ⇒ String
The read group set ID.
-
#info ⇒ Hash<String,Array<String>>
A string which maps to an array of values.
-
#name ⇒ String
The read group set name.
-
#read_groups ⇒ Array<Google::Apis::GenomicsV1beta2::ReadGroup>
The read groups in this set.
-
#reference_set_id ⇒ String
The reference set the reads in this read group set are aligned to.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ReadGroupSet
constructor
A new instance of ReadGroupSet.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::Hashable
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_id ⇒ String
The dataset ID.
Corresponds to the JSON property datasetId
1931 1932 1933 |
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 1931 def dataset_id @dataset_id end |
#filename ⇒ String
The filename of the original source file for this read group set, if any.
Corresponds to the JSON property filename
1936 1937 1938 |
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 1936 def filename @filename end |
#id ⇒ String
The read group set ID.
Corresponds to the JSON property id
1941 1942 1943 |
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 1941 def id @id end |
#info ⇒ Hash<String,Array<String>>
A string which maps to an array of values.
Corresponds to the JSON property info
1946 1947 1948 |
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 1946 def info @info end |
#name ⇒ String
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
1952 1953 1954 |
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 1952 def name @name end |
#read_groups ⇒ Array<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_id ⇒ String
The reference set the reads in this read group set are aligned to.
Corresponds to the JSON property referenceSetId
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 |