class HTS::Bam::Flag

Defined in:

hts/bam/flag.cr

Constant Summary

TABLE = {"paired?": LibHTS2::BAM_FPAIRED, "proper_pair?": LibHTS2::BAM_FPROPER_PAIR, "unmapped?": LibHTS2::BAM_FUNMAP, "mate_unmapped?": LibHTS2::BAM_FMUNMAP, "reverse?": LibHTS2::BAM_FREVERSE, "mate_reverse?": LibHTS2::BAM_FMREVERSE, "read1?": LibHTS2::BAM_FREAD1, "read2?": LibHTS2::BAM_FREAD2, "secondary?": LibHTS2::BAM_FSECONDARY, "qcfail?": LibHTS2::BAM_FQCFAIL, "duplicate?": LibHTS2::BAM_FDUP, "supplementary?": LibHTS2::BAM_FSUPPLEMENTARY}

Constructors

Instance Method Summary

Constructor Detail

def self.new(flag_value : UInt16) #

[View source]

Instance Method Detail

def &(other) #

[View source]
def <<(other) #

[View source]
def >>(other) #

[View source]
def ^(other) #

[View source]
def |(other) #

[View source]
def ~ #

[View source]
def duplicate? #

[View source]
def has_flag?(m) #

[View source]
def mate_reverse? #

[View source]
def mate_unmapped? #

[View source]
def paired? #

[View source]
def proper_pair? #

[View source]
def qcfail? #

[View source]
def read1? #

[View source]
def read2? #

[View source]
def reverse? #

[View source]
def secondary? #

[View source]
def supplementary? #

[View source]
def to_i : UInt16 #

[View source]
def to_s(io : IO) #
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]
def unmapped? #

[View source]
def value : UInt16 #

[View source]