class HTS::Bam::BaseMod::Modification

Overview

Individual base modification information

Defined in:

hts/bam/base_mod.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(modified_base : Int32, canonical_base : Int32, strand : Int32, qual : Int32) #

[View source]

Instance Method Detail

def canonical : String #

Canonical base as single character string (A/C/G/T/N)


[View source]
def canonical_base : Int32 #

[View source]
def code : String #

Single-letter code or negative ChEBI number as String


[View source]
def modified_base : Int32 #

[View source]
def probability : Float64 | Nil #

0.0..1.0 probability, or nil if unknown (-1)


[View source]
def qual : Int32 #

[View source]
def strand : Int32 #

[View source]
def to_s(io : IO) : Nil #
Description copied from class Reference

Appends a short String representation of this object which includes its class name and its object address.

class Person
  def initialize(@name : String, @age : Int32)
  end
end

Person.new("John", 32).to_s # => #<Person:0x10a199f20>

[View source]