Module bigtools::bed::bedparser

source ·
Expand description

Utilities for parsing a bed file.

There are roughly two layers of abstraction here, each with a different purpose.

The first layer of abstraction is enscapsulated in the StreamingBedValues trait. Briefly, implementors of this trait return “raw” bed-like data. This is the chromosome (as a &str) and data specific to each type of bed

The second layer of abstraction (BedParser) manages the state information for when values switch from one chromosome to another. The is important because bigwig/bigbed writing is “chunked” by chromosome.

Structs§

Enums§

Traits§

  • Essentially a combined lending iterator over the chrom (&str) and remaining values of bed-like data

Functions§

Type Aliases§