Utilities: utils#
General utility functions used across CREsted.
Functions
|
(Alias function for the) class to optimize the mutated sequence based on the original prediction. |
|
Calculate the nucleotide distribution of a genome in a set of regions or sequences. |
|
Use |
|
Fetch sequences from a genome file for a list of regions using pysam. |
|
Reverse the strand of a region strand or tuple. |
Decode a one hot encoded sequence to a DNA sequence string. |
|
|
One hot encode a DNA sequence. |
|
Parse a region string or tuple, returning a consistent |
|
Extract per-base or binned pair values from a bigWig file for a set of genomic region. |
|
Perform reverse complement on either a one-hot encoded array or a (list of) DNA sequence string(s). |
|
Set up loguru logging for the package. |