Module bustools_cli::count

source ·
Expand description

Recreating bustools count to aggregate a busfile into a count-matrix

This turns a busfolder into a count matrix.

The strategy:

  1. iterate over CBs, turn each cell (Busrecords from same cell) into an [ExpressionVector] (HashMap<Genename, u32>). Those all have slightly different key/genenes sets
  2. Determine ALL genes: from the EC2Gene file
  3. turn into a big sparse crate::countmatrix::CountMatrix via expression_vectors_to_matrix()

Functions§

  • busfile to count matrix, analogous to “bustools count”