class Google::Apis::GenomicsV1::LinearAlignment

A linear alignment can be represented by one CIGAR string. Describes the mapped position and local alignment of the read to the reference.

Attributes

cigar[RW]

Represents the local alignment of this sequence (alignment matches, indels, etc) against the reference. Corresponds to the JSON property `cigar` @return [Array<Google::Apis::GenomicsV1::CigarUnit>]

mapping_quality[RW]

The mapping quality of this alignment. Represents how likely the read maps to this position as opposed to other locations. Specifically, this is -10 log10 Pr(mapping position is wrong), rounded to the nearest integer. Corresponds to the JSON property `mappingQuality` @return [Fixnum]

position[RW]

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` @return [Google::Apis::GenomicsV1::Position]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/genomics_v1/classes.rb, line 1935
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/genomics_v1/classes.rb, line 1940
def update!(**args)
  @position = args[:position] if args.key?(:position)
  @mapping_quality = args[:mapping_quality] if args.key?(:mapping_quality)
  @cigar = args[:cigar] if args.key?(:cigar)
end