tf-binding-rs 0.1.4

Fast transcription factor binding site prediction and FASTA manipulation in Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use polars::prelude::*;
use std::collections::HashMap;

/// Represents a Position Weight Matrix (PWM)
/// Stored as a DataFrame with columns A, C, G, T
pub type PWM = DataFrame;

/// Collection of PWMs indexed by motif ID
pub type PWMCollection = HashMap<String, PWM>;

/// Represents an Exponential Weight Matrix (EWM)
/// Stored as a DataFrame with columns A, C, G, T
pub type EWM = DataFrame;

/// Collection of EWMs indexed by motif ID
pub type EWMCollection = HashMap<String, EWM>;