Crate rumi_lib

Source

Structs§

Config
Group
A group of reads that have been deduplicated
Node
Position
ReadFreq
A Read or Reads and the number of times that read signature has been seen Read signature meaning Position + UMI
Stats

Enums§

ReadCollection
Abstraction so ReadFreq can hold a single best read for it’s read signature or hold all reads for it’s read signature (used for –group_only).
RecordEvent

Functions§

build_graph
Create a graph from the UmiMap TODO: Inline?
check_record
connect_graph
Create the connections between the umis via an all vs all comparison. A Connection will only be formed from a larger node to a smaller node. Larger being defined as node_a >= 2x node_b - 1, the provides the directionality. TODO: Keep a seen list here instead of later? Some connections will be redundant.
group_reads
Group reads together based on their positions.
run_dedup
The main function to coordinate the deduplication process
run_group

Type Aliases§

ReadMap
UmiMap