Skip to content

How to create UMAP embeddings from indexed BED files

To create UMAP embeddings from indexed BED files in the BEDbase database, you can use the bedboss download-umap command. This command generates UMAP embeddings for visualizing the relationships between different BED files based on their genomic regions.

Key features of the bedboss download-umap command:

Section titled “Key features of the bedboss download-umap command:”
  • User can specify the number of dimensions to return (2 or 3).
  • If user selected 2 dimensions, script can generate a umap plot.
  • If user choose to generate a plot, user can specify what metadata column to color the points by.
Full bedboss download-umap help
bedboss download-umap --help
Usage: bedboss download-umap [OPTIONS]
Download UMAP
╭─ Options ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ * --config TEXT Path to the bedbase config file [default: None] [required] │
│ * --output-file TEXT Path to the output file where UMAP embeddings will be saved [default: None] [required] │
│ --n-components INTEGER Number of UMAP components [default: 3] │
│ --plot-name TEXT Name of the plot file [default: None] │
│ --plot-label TEXT Label for the plot [default: None] │
│ --top-assays INTEGER Number of top assays to include [default: 15] │
│ --top-cell-lines INTEGER Number of top cell lines to include [default: 15] │
│ --help Show this message and exit. │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯