D4::Track
Constructors
Instance methods
aggregate_region(region : Region, reducer : D) forall D
Sourcecheck_open
Sourcechromosomes
SourceUsed by the reusable scanner; callers should normally use scan_values.
each_aggregate(regions : Enumerable(Region), reducer : D, *, workers : Int32 = 1, batch_size : Int32 = 256, &) forall D
Sourceeach_aggregate(regions : Indexable(Region), reducer : D, *, workers : Int32 = 1, batch_size : Int32 = 256) forall D
Sourceeach_interval(chromosome : String, start : Int = 0, stop : Int | Nil = nil, & : RawInterval -> Nil) : Nil
Sourcehistogram_into(region : Region, counts : Slice(Int64), *, value_range : Range(Int32, Int32)) : HistogramTails
Sourcematerialization_limit
Sourcemean(chromosome : String, start : Int = 0, stop : Int | Nil = nil, *, index : IndexPolicy = IndexPolicy::Auto) : Float64 | Nil
Sourcemetadata
Sourcename
Sourcescaled
Sourcescan_values(chromosome : String, buffer : Slice(Int32), start : Int = 0, stop : Int | Nil = nil, *, cancelled : Proc(Bool) | Nil = nil, & : Int64, Slice(Int32), Int32 -> Nil) : Nil
Calls cancelled at block boundaries and raises CancelledError when
it returns true. Cancellation is cooperative; an in-flight source read
is allowed to finish before the next checkpoint.
scan_values(region : Region, buffer : Slice(Int32), *, cancelled : Proc(Bool) | Nil = nil, & : Int64, Slice(Int32), Int32 -> Nil) : Nil
Sourcesecondary_table
Sourcesum(chromosome : String, start : Int = 0, stop : Int | Nil = nil, *, index : IndexPolicy = IndexPolicy::Auto, cancelled : Proc(Bool) | Nil = nil) : Int64
Calls cancelled between scan blocks and sum-index I/O chunks, raising
CancelledError when the callback returns true.
sum(region : Region, *, index : IndexPolicy = IndexPolicy::Auto, cancelled : Proc(Bool) | Nil = nil) : Int64
Sourcesum_index_granularity
The number of bases represented by one sum-index block, or nil when this track has no embedded sum index.
summary(region : Region) : Summary
Source