Class: Google::Apis::GenomicsV1::ReadGroup
- Inherits:
-
Object
- Object
- Google::Apis::GenomicsV1::ReadGroup
- 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 is all the data that's processed the same way by the sequencer.
Instance Attribute Summary collapse
-
#dataset_id ⇒ String
The dataset to which this read group belongs.
-
#description ⇒ String
A free-form text description of this read group.
-
#experiment ⇒ Google::Apis::GenomicsV1::Experiment
The experiment used to generate this read group.
-
#id ⇒ String
The server-generated read group ID, unique for all read groups.
-
#info ⇒ Hash<String,Array<Object>>
A map of additional read group information.
-
#name ⇒ String
The read group name.
-
#predicted_insert_size ⇒ Fixnum
The predicted insert size of this read group.
-
#programs ⇒ Array<Google::Apis::GenomicsV1::Program>
The programs used to generate this read group.
-
#reference_set_id ⇒ String
The reference set the reads in this read group are aligned to.
-
#sample_id ⇒ String
A client-supplied sample identifier for the reads in this read group.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ReadGroup
constructor
A new instance of ReadGroup.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ReadGroup
Returns a new instance of ReadGroup
144 145 146 |
# File 'generated/google/apis/genomics_v1/classes.rb', line 144 def initialize(**args) update!(**args) end |
Instance Attribute Details
#dataset_id ⇒ String
The dataset to which this read group belongs.
Corresponds to the JSON property datasetId
137 138 139 |
# File 'generated/google/apis/genomics_v1/classes.rb', line 137 def dataset_id @dataset_id end |
#description ⇒ String
A free-form text description of this read group.
Corresponds to the JSON property description
127 128 129 |
# File 'generated/google/apis/genomics_v1/classes.rb', line 127 def description @description end |
#experiment ⇒ Google::Apis::GenomicsV1::Experiment
The experiment used to generate this read group.
Corresponds to the JSON property experiment
142 143 144 |
# File 'generated/google/apis/genomics_v1/classes.rb', line 142 def experiment @experiment end |
#id ⇒ String
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
108 109 110 |
# File 'generated/google/apis/genomics_v1/classes.rb', line 108 def id @id end |
#info ⇒ Hash<String,Array<Object>>
A map of additional read group information. This must be of the form
mapinfo
101 102 103 |
# File 'generated/google/apis/genomics_v1/classes.rb', line 101 def info @info end |
#name ⇒ String
The read group name. This corresponds to the @RG ID field in the SAM spec.
Corresponds to the JSON property name
90 91 92 |
# File 'generated/google/apis/genomics_v1/classes.rb', line 90 def name @name end |
#predicted_insert_size ⇒ Fixnum
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
122 123 124 |
# File 'generated/google/apis/genomics_v1/classes.rb', line 122 def predicted_insert_size @predicted_insert_size end |
#programs ⇒ Array<Google::Apis::GenomicsV1::Program>
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
116 117 118 |
# File 'generated/google/apis/genomics_v1/classes.rb', line 116 def programs @programs end |
#reference_set_id ⇒ String
The reference set the reads in this read group are aligned to.
Corresponds to the JSON property referenceSetId
95 96 97 |
# File 'generated/google/apis/genomics_v1/classes.rb', line 95 def reference_set_id @reference_set_id end |
#sample_id ⇒ String
A client-supplied sample identifier for the reads in this read group.
Corresponds to the JSON property sampleId
132 133 134 |
# File 'generated/google/apis/genomics_v1/classes.rb', line 132 def sample_id @sample_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
149 150 151 152 153 154 155 156 157 158 159 160 |
# File 'generated/google/apis/genomics_v1/classes.rb', line 149 def update!(**args) @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) @programs = args[:programs] if args.key?(:programs) @predicted_insert_size = args[:predicted_insert_size] if args.key?(:predicted_insert_size) @description = args[:description] if args.key?(:description) @sample_id = args[:sample_id] if args.key?(:sample_id) @dataset_id = args[:dataset_id] if args.key?(:dataset_id) @experiment = args[:experiment] if args.key?(:experiment) end |