Class: Google::Apis::GenomicsV1::ReadGroupSet
- Inherits:
-
Object
- Object
- Google::Apis::GenomicsV1::ReadGroupSet
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/genomics_v1/classes.rb,
generated/google/apis/genomics_v1/representations.rb,
generated/google/apis/genomics_v1/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. For more genomics resource definitions, see Fundamentals of Google Genomics
Instance Attribute Summary collapse
-
#dataset_id ⇒ String
The dataset to which this read group set belongs.
-
#filename ⇒ String
The filename of the original source file for this read group set, if any.
-
#id ⇒ String
The server-generated read group set ID, unique for all read group sets.
-
#info ⇒ Hash<String,Array<Object>>
A map of additional read group set information.
-
#name ⇒ String
The read group set name.
-
#read_groups ⇒ Array<Google::Apis::GenomicsV1::ReadGroup>
The read groups in this set.
-
#reference_set_id ⇒ String
The reference set to which the reads in this read group set are aligned.
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::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ReadGroupSet
Returns a new instance of ReadGroupSet
3415 3416 3417 |
# File 'generated/google/apis/genomics_v1/classes.rb', line 3415 def initialize(**args) update!(**args) end |
Instance Attribute Details
#dataset_id ⇒ String
The dataset to which this read group set belongs.
Corresponds to the JSON property datasetId
3413 3414 3415 |
# File 'generated/google/apis/genomics_v1/classes.rb', line 3413 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
3387 3388 3389 |
# File 'generated/google/apis/genomics_v1/classes.rb', line 3387 def filename @filename end |
#id ⇒ String
The server-generated read group set ID, unique for all read group sets.
Corresponds to the JSON property id
3408 3409 3410 |
# File 'generated/google/apis/genomics_v1/classes.rb', line 3408 def id @id end |
#info ⇒ Hash<String,Array<Object>>
A map of additional read group set information.
Corresponds to the JSON property info
3403 3404 3405 |
# File 'generated/google/apis/genomics_v1/classes.rb', line 3403 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
3393 3394 3395 |
# File 'generated/google/apis/genomics_v1/classes.rb', line 3393 def name @name end |
#read_groups ⇒ Array<Google::Apis::GenomicsV1::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
3382 3383 3384 |
# File 'generated/google/apis/genomics_v1/classes.rb', line 3382 def read_groups @read_groups end |
#reference_set_id ⇒ String
The reference set to which the reads in this read group set are aligned.
Corresponds to the JSON property referenceSetId
3398 3399 3400 |
# File 'generated/google/apis/genomics_v1/classes.rb', line 3398 def reference_set_id @reference_set_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3420 3421 3422 3423 3424 3425 3426 3427 3428 |
# File 'generated/google/apis/genomics_v1/classes.rb', line 3420 def update!(**args) @read_groups = args[:read_groups] if args.key?(:read_groups) @filename = args[:filename] if args.key?(:filename) @name = args[:name] if args.key?(:name) @reference_set_id = args[:reference_set_id] if args.key?(:reference_set_id) @info = args[:info] if args.key?(:info) @id = args[:id] if args.key?(:id) @dataset_id = args[:dataset_id] if args.key?(:dataset_id) end |