原文戳我
提供了对BigWig格式的I/O:
BigWig.Reader
BigWig.Writer
BigWig.Record
函数 | 描述 |
---|
BigWig.chrom(record::Record)::String | 获取区间的chr name |
BigWig.chromid(record::Record)::UInt32 | 获取区间的chr ID |
BigWig.chromstart(rcd)::Int | 获取区间的start |
BigWig.chromend(rcd)::Int | 获取区间的end |
BigWig.value(rcd)::Float32 | 获取区间的value值 |
BigWig.values(reader, chr, range)::Vector{Float32} | 获取指定区间的value向量 |
BigWig.values(reader, interval::Interval)::Vector{Float32} | 获取指定区间的value向量 |
BigWig.chromlist | 获取染色体的(name, length)对 |
BigWig.coverage(reader, chr, start, end; usezoom=false)::Int | 计算指定区间的coverage |
BigWig.maximum(reader, chr, start, end; usezoom=false)::Float32 | 计算指定区间中value的最大值 |
BigWig.minimum(reader, chr, start, end; usezoom=false)::Float32 | 计算区间中value的最小值 |
BigWig.mean(reader, chr, start, end; usezoom=false)::Float32 | 计算区间中value的平均值 |
BigWig.std(reader, chr, start, end; usezoom=false)::Float32 | 计算区间中value的标准差 |