Utils#
CREsted provides a few utility function to help with sequence encoding, function optimization, …
|
Class to optimize the mutated sequence based on the original prediction. |
|
Extract per-base or binned pair values from a bigWig file for a set of genomic region. |
Decode a one hot encoded sequence to a DNA sequence string. |
|
|
One hot encode a DNA sequence. |
|
Fetch sequences from a genome file for a list of regions using pysam. |
|
Perform reverse complement on either a one-hot encoded array or a (list of) DNA sequence string(s). |
|
Add a permutation layer to the input of a model to change the shape from (B, W, C) to (B, C, W) or vice versa. |
|
Set up loguru logging for the package. |