geniml

Train Region2Vec embeddings on genomic interval data from BED files.

557|98|Updated Nov 7, 2025
One-click install
npx skills add https://github.com/jimmc414/Kosmos --skill geniml-jimmc414
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: geniml
Source: https://github.com/jimmc414/Kosmos/tree/main/kosmos-claude-scientific-skills/scientific-skills/geniml
Command: npx skills add https://github.com/jimmc414/Kosmos --skill geniml-jimmc414

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires uv, torch, scanpy, starspace, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines machine learning tasks involving genomic interval data (BED files), enabling advanced analysis of DNA accessibility, region embeddings, and single-cell data.

Core Features & Use Cases

  • Genomic Region Embeddings (Region2Vec): Train unsupervised embeddings for genomic regions.
  • Joint Embeddings (BEDspace): Create shared embeddings for regions and metadata labels.
  • Single-Cell Embeddings (scEmbed): Analyze scATAC-seq data for cell clustering.
  • Consensus Peak Building: Generate standardized reference peak sets from multiple datasets.
  • Use Case: Analyze single-cell ATAC-seq data to identify distinct cell populations by training scEmbed models and visualizing cell clusters using scanpy.

Quick Start

Use the geniml skill to train a Region2Vec model on your tokenized BED files.

Frequently Asked Questions about geniml

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate embeddings for genomic regions from BED files?

You can generate embeddings for genomic regions from BED files by tokenizing the intervals and training an unsupervised Region2Vec model to capture latent genomic features and relationships.

Can I analyze single-cell ATAC-seq data for cell clustering using scanpy?

Yes, you can analyze scATAC-seq data for cell clustering by training scEmbed models to generate embeddings and visualizing distinct cell populations using scanpy.

Do I need PyTorch and StarSpace to run region-metadata joint embeddings?

Yes, you need PyTorch for underlying machine learning dependencies and the external StarSpace tool to run BEDspace for creating joint embeddings of genomic regions and metadata labels.

What is the best way to build consensus peaks from multiple genomic datasets?

The best way to build consensus peaks from multiple datasets is using the toolkit's consensus peak building utilities, which generate a standardized reference peak set from multiple BED files.

Does this toolkit provide utilities for BED file manipulation and randomization?

Yes, the toolkit provides utilities for BED file manipulation and randomization, allowing you to process, randomize, and evaluate genomic interval data for downstream analysis.

How does joint embedding of genomic regions and metadata labels work?

Joint embedding works by mapping genomic intervals and associated metadata labels into a shared embedding space using BEDspace, enabling simultaneous analysis of regions and their biological annotations.