Skip to content

comprehensive support for SCFM (Single Cell Foundation Model) workflows in the CLI and REPL, enabling foundation model-based single-cell analysis#28

Merged
HendricksJudy merged 6 commits intoaristoteleo:mainfrom
HendricksJudy:main
Feb 13, 2026
Merged

Conversation

@HendricksJudy
Copy link
Collaborator

This pull request introduces comprehensive support for SCFM (Single Cell Foundation Model) workflows in the CLI and REPL, enabling foundation model-based single-cell analysis. It adds a new prompt generator, expands the REPL command routing, updates help and suggestions, and includes robust test coverage for the new functionality.

SCFM Workflow Integration:

  • Added scfm_workflow.py prompt generator for SCFM analysis, supporting multiple foundation models (scGPT, scBERT, Geneformer, scFoundation, UCE) and user analysis goals. (pantheon_cli/cli/prompt/scfm_workflow.py)
  • Implemented /bio scfm command routing in the REPL, including subcommands for init, run, and list_models, with detailed help and model selection logic. (pantheon_cli/repl/bio_handler.py) [1] [2]

User Experience Improvements:

  • Updated REPL help output and command suggestions to include SCFM commands, making them discoverable and easy to use. (pantheon_cli/repl/bio_handler.py) [1] [2]

Command Mapping:

  • Added SCFM entries to the BIO_COMMAND_MAP for proper routing and integration with the existing command system. (pantheon_cli/repl/bio_handler.py)

Testing:

  • Added a new test suite covering SCFM routing, prompt generation, integration with existing commands, and command mapping, ensuring robust functionality and preventing regressions. (tests/test_scfm_router.py)

claude and others added 6 commits February 13, 2026 23:24
…l support

Add /bio scfm command routing to pantheon-cli with init, run, and
list_models subcommands. Includes workflow prompt template supporting
scGPT, scBERT, Geneformer, scFoundation, and UCE models. 18 tests
verify routing, prompt generation, integration with existing handlers,
and command map registration.

https://claude.ai/code/session_01WJcK8Jbk1ySamhGr5W1Gxg
…i-Y9Fe6

feat(scfm): add SCFM router and tests for Single Cell Foundation Mode…
Enable users to pass custom analysis goals via --question when running
SCFM through the Pantheon CLI, ensuring the LLM tailors model selection,
preprocessing and evaluation to the user's specific question.

https://claude.ai/code/session_01WJcK8Jbk1ySamhGr5W1Gxg
…i-Y9Fe6

feat(scfm): add --question flag for user prompts in SCFM workflow
@HendricksJudy HendricksJudy merged commit 29d5c46 into aristoteleo:main Feb 13, 2026
Nanguage pushed a commit that referenced this pull request Mar 2, 2026
Added Natural Language to Tool Mapping Guide
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants