class
HTS::Bam::Flag
- HTS::Bam::Flag
- Reference
- Object
Defined in:
hts/bam/flag.crConstant Summary
-
DUP =
new(LibHTS2::BAM_FDUP.to_u16) -
MREVERSE =
new(LibHTS2::BAM_FMREVERSE.to_u16) -
MUNMAP =
new(LibHTS2::BAM_FMUNMAP.to_u16) -
NONE =
new(0_u16) -
Named FLAG bit constants, as Flag values so they compose with
#|. e.g. Bam::Flag::UNMAP | Bam::Flag::SECONDARY | Bam::Flag::DUP -
PAIRED =
new(LibHTS2::BAM_FPAIRED.to_u16) -
PROPER_PAIR =
new(LibHTS2::BAM_FPROPER_PAIR.to_u16) -
QCFAIL =
new(LibHTS2::BAM_FQCFAIL.to_u16) -
READ1 =
new(LibHTS2::BAM_FREAD1.to_u16) -
READ2 =
new(LibHTS2::BAM_FREAD2.to_u16) -
REVERSE =
new(LibHTS2::BAM_FREVERSE.to_u16) -
SECONDARY =
new(LibHTS2::BAM_FSECONDARY.to_u16) -
SUPPLEMENTARY =
new(LibHTS2::BAM_FSUPPLEMENTARY.to_u16) -
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} -
UNMAP =
new(LibHTS2::BAM_FUNMAP.to_u16)
Constructors
Instance Method Summary
- #&(other)
- #<<(other)
- #>>(other)
- #^(other)
- #|(other)
- #~
- #duplicate?
- #has_flag?(m)
- #mate_reverse?
- #mate_unmapped?
- #paired?
- #proper_pair?
- #qcfail?
- #read1?
- #read2?
- #reverse?
- #secondary?
- #supplementary?
- #to_i : UInt16
-
#to_s(io : IO)
Appends a short String representation of this object which includes its class name and its object address.
- #unmapped?
- #value : UInt16
Constructor Detail
Instance Method Detail
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>