Softepigen::Region
Inherits Struct < Value < Object
Constants
BYTE_C = 'C'.ord.to_u8
BYTE_G = 'G'.ord.to_u8
Constructors
new(buffer : Bytes, start : Int32, padding : Int32 = 0)
Sourcenew(str : String, offset : Int32) : self
SourceInstance methods
[](range : Range(Int | Nil, Int | Nil)) : self
Sourcecomplexity(k : Int = 4) : Array(Int32)
Sourcecpg_count
Sourceeach_cpg
Sourceeach_downstream(complex_idxs : Array(Int32), & : Region -> ) : Nil
Sourceeach_upstream(complex_idxs : Array(Int32), & : Region -> ) : Nil
Sourceforward(complex_idxs : Array(Int32)) : Array(Region)
Sourceforward
Sourcehas_repeats?(count : Int) : Bool
Sourcepadding
Sourcerange
Sourcereverse(complex_idxs : Array(Int32)) : Array(Region)
Sourcereverse
Sourcesize
Sourcesplit_by_cpg
Sourcestart
Sourcestop
Sourceto_s(complement : Bool = false, replacing replacements : Hash(Char, Char) | Nil = nil) : String
Returns a nicely readable and concise string representation of this object, typically intended for users.
This method should usually not be overridden. It delegates to
#to_s(IO) which can be overridden for custom implementations.
Also see #inspect.
to_s(io : IO, complement : Bool = false, replacing replacements : Hash(Char, Char) | Nil = nil) : Nil
Same as #inspect(io).
to_unsafe
Source