crested.get_motif_db

Contents

crested.get_motif_db#

crested.get_motif_db()#

Fetch the motif database. This function retrieves the Aerts lab motif database for use in motif analysis, downloading if not already cached, and returns the paths to the dataset.

These two paths can be passed to crested.import_bigwigs() / crested.import_beds().

Note

The cache location can be changed by setting environment variable $CRESTED_DATA_DIR.

Returns:

A tuple consisting of the motif db .meme file path and the transcription factor info .tsv file path.

Example

>>> motif_db_path, motif_tf_collection_path = crested.get_motif_db()