Skip to content

Commit

Permalink
push doc changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Rob Patro committed Aug 7, 2020
1 parent 5a3c9f7 commit 0f9d2e1
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions libradicl/src/quant.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,14 @@ extern crate petgraph;
extern crate serde;
extern crate slog;

//use executors::crossbeam_channel_pool;
//use executors::*;
//use std::sync::mpsc::channel;

use self::indicatif::{ProgressBar, ProgressStyle};
use self::petgraph::prelude::*;
#[allow(unused_imports)]
use self::slog::crit;
use self::slog::info;
use crate as libradicl;
use crossbeam_queue::ArrayQueue;
//use crossbeam_channel::bounded;

// use fasthash::sea;
use needletail::bitkmer::*;
use scroll::Pwrite;
Expand All @@ -47,6 +43,16 @@ use self::libradicl::utils::*;

/// Extracts the parsimonious UMI graphs (PUGs) from the
/// equivalence class map for a given cell.
/// The returned graph is a directed graph (potentially with
/// bidirected edges) where each node consists of an (equivalence
/// class, UMI ID) pair. Note, crucially, that the UMI ID is simply
/// the rank of the UMI in the list of all distinct UMIs for this
/// equivalence class. There is a directed edge between any pair of
/// vertices whose set of transcripts overlap and whose UMIs are within
/// a Hamming distance of 1 of each other. If one node has more than
/// twice the frequency of the other, the edge is directed from the
/// more frequent to the less freuqent node. Otherwise, edges are
/// added in both directions.
fn extract_graph(
eqmap: &EqMap,
log: &slog::Logger,
Expand Down

0 comments on commit 0f9d2e1

Please sign in to comment.