KBase Datalake Applications - A collection of apps for interacting with the KBase data lake, including data retrieval, processing, and analysis utilities.
This is a KBase module generated by the KBase Software Development Kit (SDK).
This project was created with the create-new-project Claude command and includes:
- Virtual environment management via venvman
- Claude Code integration via claude-commands
- Cursor workspace configuration
- Python 3.11+
- KBase SDK installed (Learn more)
- venvman for virtual environment management
- claude-commands for Claude Code integration
-
Open the Cursor workspace:
code !KBDatalakeApps.code-workspace -
Activate the virtual environment:
source activate.sh # or venvman activate KBDatalakeApps
-
Install dependencies:
pip install -r requirements.txt
Add your KBase developer token to test_local/test.cfg and run:
make
kb-sdk testAfter making any additional changes to this repo, run kb-sdk test again to verify that everything still works.
KBDatalakeApps/
├── agent-io/ # Claude command execution tracking
├── lib/
│ └── KBDatalakeApps/
│ └── KBDatalakeAppsImpl.py # Implementation code
├── ui/
│ └── narrative/
│ └── methods/ # Narrative UI definitions
├── test/ # Unit tests
├── data/ # Reference data (<100MB)
├── scripts/ # Utility scripts
├── .claude/ # Claude Code configuration
│ ├── CLAUDE.md # System prompt
│ └── commands/ # Claude commands (managed by claude-commands)
├── KBDatalakeApps.spec # KIDL specification
├── kbase.yml # Module metadata
├── Dockerfile # Container definition
└── !KBDatalakeApps.code-workspace # Cursor workspace
Query the KBase datalake for various data types including:
- Genomes
- Metabolic Models
- Media definitions
- Assemblies
- Define the function in
KBDatalakeApps.spec - Run
maketo compile the spec - Implement the function in
lib/KBDatalakeApps/KBDatalakeAppsImpl.py - Create UI files in
ui/narrative/methods/<app_name>/ - Write tests in
test/
This module uses KBUtilLib for common functionality:
KBWSUtils- Workspace operationsKBCallbackUtils- Callback server handlingSharedEnvUtils- Configuration and token management
This project includes Claude Code integration:
- Command tracking stored in
agent-io/for project history - Commands automatically installed to
.claude/commands/(managed by claude-commands) - Update commands:
claude-commands update
To use this code in another SDK module:
kb-sdk install KBDatalakeApps- chenry - Owner and primary author
See LICENSE file.