grelu.resources.utils#

Utility functions for accessing resource files bundled with gReLU.

Functions#

get_meme_file_path(→ str)

Return the path to a MEME file.

get_blacklist_file(→ str)

Return the path to a blacklist file

Module Contents#

grelu.resources.utils.get_meme_file_path(meme_motif_db: str) str[source]#

Return the path to a MEME file.

Parameters:

meme_motif_db – Path to a MEME file or the name of a MEME file included with gReLU. Current name options are “hocomoco_v12”, “hocomoco_v13”, and “consensus”.

Returns:

Path to the specified MEME file.

grelu.resources.utils.get_blacklist_file(genome: str) str[source]#

Return the path to a blacklist file

Parameters:

genome – Name of a genome whose blacklist file is included with gReLU. Current name options are “hg19”, “hg38” and “mm10”.

Returns:

Path to the specified blacklist file.