tfmindi.fetch_motif_annotations

tfmindi.fetch_motif_annotations#

tfmindi.fetch_motif_annotations(species='hgnc', version='v10nr_clust')#

Download motif annotations from aertslab resources.

Parameters:
  • species (str (default: 'hgnc')) – Species name. Available options: - ‘hgnc’ (human): v9, v10nr_clust - ‘mgi’ (mouse): v9, v10nr_clust - ‘flybase’ (fly): v8, v9, v10nr_clust - ‘chicken’: v10nr_clust only

  • version (str (default: 'v10nr_clust')) – Motif collection version. Available options: ‘v8’, ‘v9’, ‘v10nr_clust’

Return type:

str

Returns:

Path to downloaded annotations file

Examples

>>> annotations_file = fetch_motif_annotations("hgnc", "v10nr_clust")
>>> print(annotations_file)
/path/to/cache/motifs-v10nr_clust-nr.hgnc-m0.001-o0.0.tbl