class
Depth::FileIO::OutputManager
- Depth::FileIO::OutputManager
- Reference
- Object
Defined in:
depth/io/output_manager.crConstructors
Instance Method Summary
- #close_all
- #f_global : File | Nil
- #f_perbase : File | HTS::Bgzf | Nil
- #f_quantized : File | HTS::Bgzf | Nil
- #f_region : File | Nil
- #f_regions : File | HTS::Bgzf | Nil
- #f_summary : File | Nil
- #f_thresholds : File | HTS::Bgzf | Nil
- #write_per_base_interval(chrom : String, start : Int32, stop : Int32, depth : Int32)
- #write_quantized_interval(chrom : String, start : Int32, stop : Int32, label : String)
- #write_region_stat(chrom : String, start : Int32, stop : Int32, name : String | Nil, value : Float64)
- #write_summary_line(region : String, stat : Depth::Stats::DepthStat)
-
#write_summary_total(total : Depth::Stats::DepthStat)
Optionally call at end to add a total line like mosdepth
- #write_threshold_counts(chrom : String, start : Int32, stop : Int32, name : String | Nil, counts : Array(Int32))
- #write_thresholds_header(thresholds : Array(Int32))
Constructor Detail
Instance Method Detail
def write_per_base_interval(chrom : String, start : Int32, stop : Int32, depth : Int32)
#
def write_quantized_interval(chrom : String, start : Int32, stop : Int32, label : String)
#
def write_region_stat(chrom : String, start : Int32, stop : Int32, name : String | Nil, value : Float64)
#
def write_summary_total(total : Depth::Stats::DepthStat)
#
Optionally call at end to add a total line like mosdepth
def write_threshold_counts(chrom : String, start : Int32, stop : Int32, name : String | Nil, counts : Array(Int32))
#