Class: Google::Apis::GenomicsV1beta2::LinearAlignment
- Inherits:
-
Object
- Object
- Google::Apis::GenomicsV1beta2::LinearAlignment
- 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 linear alignment can be represented by one CIGAR string. Describes the mapped position and local alignment of the read to the reference.
Instance Attribute Summary collapse
-
#cigar ⇒ Array<Google::Apis::GenomicsV1beta2::CigarUnit>
Represents the local alignment of this sequence (alignment matches, indels, etc) against the reference.
-
#mapping_quality ⇒ Fixnum
The mapping quality of this alignment.
-
#position ⇒ Google::Apis::GenomicsV1beta2::Position
An abstraction for referring to a genomic position, in relation to some already known reference.
Instance Method Summary collapse
-
#initialize(**args) ⇒ LinearAlignment
constructor
A new instance of LinearAlignment.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ LinearAlignment
Returns a new instance of LinearAlignment
1189 1190 1191 |
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 1189 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cigar ⇒ Array<Google::Apis::GenomicsV1beta2::CigarUnit>
Represents the local alignment of this sequence (alignment matches, indels,
etc) against the reference.
Corresponds to the JSON property cigar
1173 1174 1175 |
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 1173 def cigar @cigar end |
#mapping_quality ⇒ Fixnum
The mapping quality of this alignment. Represents how likely the read maps to
this position as opposed to other locations.
Corresponds to the JSON property mappingQuality
1179 1180 1181 |
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 1179 def mapping_quality @mapping_quality end |
#position ⇒ Google::Apis::GenomicsV1beta2::Position
An abstraction for referring to a genomic position, in relation to some
already known reference. For now, represents a genomic position as a reference
name, a base number on that reference (0-based), and a determination of
forward or reverse strand.
Corresponds to the JSON property position
1187 1188 1189 |
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 1187 def position @position end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1194 1195 1196 1197 1198 |
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 1194 def update!(**args) @cigar = args[:cigar] unless args[:cigar].nil? @mapping_quality = args[:mapping_quality] unless args[:mapping_quality].nil? @position = args[:position] unless args[:position].nil? end |