ChromfoundScatacFoundationModel Agent

From mdbabumiamssm/LLMs-Universal-Life-Science-and-Clinical-Skills- · View interactive version

ChromfoundScatacFoundationModel Agent is an AI agent skill from the GitHub repository mdbabumiamssm/LLMs-Universal-Life-Science-and-Clinical-Skills-. Apply ChromFound, a genome-wide foundation model for single-cell chromatin accessibility (scATAC-seq), to enable cell-type annotation, regulatory element discovery, and cross-tissue transfer.

How to use this skill

Skill file

<!--

COPYRIGHT NOTICE

This file is part of the "Universal AI Agentic Skills" project.

Copyright (c) 2026 MD BABU MIA, PhD <md.babu.mia@mssm.edu>

All Rights Reserved.

#

This code is proprietary and confidential.

Unauthorized copying of this file, via any medium is strictly prohibited.

#

Provenance: Authenticated by MD BABU MIA

-->

<!-- AUTHOR_SIGNATURE: 9a7f3c2e-MD-BABU-MIA-2026-MSSM-SECURE -->


name: 'chromfound-scatac-foundation-model'

description: 'Apply ChromFound, a genome-wide foundation model for single-cell chromatin accessibility (scATAC-seq), to enable cell-type annotation, regulatory element discovery, and cross-tissue transfer.'

measurable_outcome: 'Execute skill workflow successfully with valid output within 15 minutes.'

allowed-tools:


ChromFound scATAC Foundation Model Agent

Overview

This skill operationalizes ChromFound, a genome-wide foundation model purpose-built for single-cell chromatin accessibility (scATAC-seq) data. It guides agents through environment setup, loading pretrained ChromFound weights, embedding scATAC cells, and applying the embeddings to downstream epigenomics tasks such as cell-type annotation, regulatory element discovery, and cross-tissue transfer. Use this skill when an analysis demands a chromatin-native foundation model rather than RNA-centric models (e.g., scFoundation, scGPT) or methylation-specific models (e.g., MethylGPT).

When to Use This Skill

Core Capabilities

  1. Environment & Repository Setup — Clone the SAIS-LifeScience/ChromFound GitHub repository, install Python dependencies (PyTorch, AnnData, scanpy/snapatac2), and verify pretrained checkpoints are downloaded.
  2. Data Ingestion for scATAC — Convert fragment files, peak-by-cell matrices, or AnnData (.h5ad) objects into the genome-wide tokenization scheme expected by ChromFound; perform QC (TSS enrichment, fragment size distributions, doublet filtering) before embedding.
  3. Cell Embedding Generation — Run inference with the pretrained ChromFound model to produce per-cell latent embeddings suitable for clustering, UMAP, and downstream classifiers.
  4. Cell-Type Annotation — Train lightweight heads (k-NN, logistic regression, MLP) on ChromFound embeddings against reference labels, or transfer labels from an annotated reference dataset using embedding similarity.
  5. Regulatory Element Discovery — Use attention/attribution signals or embedding-space neighborhoods to nominate cell-type-specific cis-regulatory regions and accessibility programs.
  6. Cross-Tissue / Cross-Dataset Transfer — Apply embeddings learned on one tissue to query datasets from a different tissue, donor, or technology, enabling label transfer and batch integration without per-dataset retraining.
  7. Fine-Tuning Hooks — Where supported by the upstream repo, fine-tune ChromFound on a user-provided cohort with a task head (classification, regression on accessibility scores, or contrastive integration with paired scRNA).
  8. Comparison & Reporting — Generate side-by-side metrics versus ATAC-only baselines and emit a concise report with figures (UMAP, confusion matrices, top CREs per cluster).

Inputs / Outputs

Inputs

Outputs

References

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.