Expand description
GC-bias estimation for a BAM over a 2bit genome — deeptools computeGCBias.
For each genomic position sampled at stepSize, the fragment-length window
contributes its G+C count to n_gc (expected, from the genome) and the
number of forward reads starting at that position to f_gc (observed). The
per-GC ratio r_gc = (f/n) * (sum n / sum f) is the bias estimate
(Benjamini & Speed 2012, doi:10.1093/nar/gks001).
Structs§
- GcBias
Opts - GcBias
Table - One row per GC count 0..=fragment_length.
- TwoBit
Functions§
- compute
- write_
freq - deeptools writes the table with numpy
savetxtdefaults: three space-separated columns in%.18e, one row per GC count.