Skip to content

Rowtion/Bioclaw

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

31 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Bioclaw Logo

Bioclaw

ๅผ€ๆบ็”Ÿ็‰ฉ็ง‘็ ”็Žฏๅขƒไธ€้”ฎๅฎ‰่ฃ…ๅŒ…
Zero to Bio-Research Environment in 10 Minutes

License: MIT Install: One-Click Powered by Opencode Language

English โ€ข ็ฎ€ไฝ“ไธญๆ–‡ โ€ข ๅฟซ้€Ÿๅผ€ๅง‹ โ€ข ็‰นๆ€ง โ€ข ๆˆชๅ›พ


๐ŸŽฏ What is Bioclaw?

Bioclaw is an open-source integration package that sets up a complete bio-research environment with one command.

In 10 minutes, you get:

  • ๐Ÿงฌ RStudio Server - Professional statistical computing environment
  • ๐Ÿ JupyterLab - Interactive Python data science notebook
  • ๐Ÿค– AI Assistant - Natural language bio-analysis via messaging apps
  • ๐Ÿ“ฆ Pre-installed Tools - 150+ curated bio-research skills

Perfect for:

  • ๐Ÿ”ฌ Researchers who need a standardized analysis environment
  • ๐ŸŽ“ Students learning bioinformatics
  • ๐Ÿ‘ฅ Teams sharing reproducible workflows
  • ๐Ÿš€ Anyone who hates configuration hell

โœจ Features

๐Ÿš€ One-Command Installation

curl -fsSL https://.../install.sh | bash

No Docker knowledge required. No complex configuration. Just works.

๐Ÿณ Fully Containerized

Everything runs in Docker containers:

  • Isolated from your system
  • Reproducible across machines
  • Easy to update/rollback

๐Ÿ’ฌ AI-Powered Analysis

Talk to your data:

  • "Analyze this gene expression data"
  • "Plot a volcano chart"
  • "Search PubMed for CRISPR papers"

๐Ÿ“Š Professional Tools

Pre-configured with:

  • R 4.3 + Bioconductor (DESeq2, Seurat)
  • Python 3 + scanpy, biopython
  • 150+ bio-research skills

๐Ÿš€ Quick Start

Prerequisites

  • macOS 10.14+ or Linux (Ubuntu 20.04+)
  • Docker Desktop (Install Guide)

Installation

# Download and install
curl -fsSL https://raw.githubusercontent.com/Rowtion/Bioclaw/main/install.sh | bash

# Start Bioclaw
bioclaw start

That's it!

After 5-10 minutes, access your research environment:

Service URL Password
RStudio http://localhost:8787 bioclaw
JupyterLab http://localhost:8888 bioclaw
AI Assistant (Opencode) http://localhost:4096 -

๐Ÿ“ธ Screenshots

RStudio ย ย  JupyterLab

RStudio Server and JupyterLab interfaces


๐ŸŽฌ Demo

# Example 1: Start and analyze data
$ bioclaw start
๐Ÿš€ ๅฏๅŠจ Bioclaw...
๐Ÿค– ๅฏๅŠจ Opencode...

โœ… ๅทฒๅฏๅŠจ!

๐Ÿ“Š ่ฎฟ้—ฎๅœฐๅ€:
   RStudio:    http://localhost:8787
   JupyterLab: http://localhost:8888
   Opencode:   http://localhost:4096
   ๅฏ†็ : bioclaw

# Example 2: Use AI assistant (in Slack/Feishu)
User: "็”จopencodeๅˆ†ๆžๆˆ‘็š„ๅ•็ป†่ƒžๆ•ฐๆฎ"
AI: "ๆญฃๅœจไฝฟ็”จscanpy่ฟ›่กŒๅˆ†ๆž..."
[Generates UMAP plot, saves to ./outputs/]

# Example 3: Check status
$ bioclaw status
๐Ÿ“Š ๆœๅŠก็Šถๆ€:
   โœ… Opencode ๆญฃๅœจ่ฟ่กŒ (http://localhost:4096)

# Example 4: Stop when done
$ bioclaw stop
โœ… ๅทฒๅœๆญข

๐Ÿ—๏ธ Architecture

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚                     Your Computer                            โ”‚
โ”‚  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”    โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”    โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ”‚
โ”‚  โ”‚   Browser   โ”‚    โ”‚  Slack/้ฃžไนฆ   โ”‚    โ”‚   Terminal     โ”‚ โ”‚
โ”‚  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”˜    โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”˜    โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ”‚
โ”‚         โ”‚                   โ”‚                    โ”‚          โ”‚
โ”‚         โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜          โ”‚
โ”‚                             โ”‚                               โ”‚
โ”‚                    โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”                      โ”‚
โ”‚                    โ”‚  OpenClaw       โ”‚                      โ”‚
โ”‚                    โ”‚  (AI Gateway)   โ”‚                      โ”‚
โ”‚                    โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜                      โ”‚
โ”‚                             โ”‚ HTTP                          โ”‚
โ”‚                    โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”                      โ”‚
โ”‚                    โ”‚  Opencode       โ”‚                      โ”‚
โ”‚                    โ”‚  (Port 4096)    โ”‚                      โ”‚
โ”‚                    โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜                      โ”‚
โ”‚                             โ”‚                               โ”‚
โ”‚         โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”          โ”‚
โ”‚         โ”‚           Docker Environment           โ”‚          โ”‚
โ”‚         โ”‚  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”    โ”‚          โ”‚
โ”‚         โ”‚  โ”‚  RStudio (:8787)              โ”‚    โ”‚          โ”‚
โ”‚         โ”‚  โ”‚  โ€ข R + Bioconductor           โ”‚    โ”‚          โ”‚
โ”‚         โ”‚  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜    โ”‚          โ”‚
โ”‚         โ”‚  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”    โ”‚          โ”‚
โ”‚         โ”‚  โ”‚  JupyterLab (:8888)           โ”‚    โ”‚          โ”‚
โ”‚         โ”‚  โ”‚  โ€ข Python + scanpy            โ”‚    โ”‚          โ”‚
โ”‚         โ”‚  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜    โ”‚          โ”‚
โ”‚         โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜          โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

๐Ÿ› ๏ธ Installation Methods

Method 1: One-Line Install (Recommended)

curl -fsSL https://raw.githubusercontent.com/Rowtion/Bioclaw/main/install.sh | bash

Method 2: Manual Installation

# Clone repository
git clone https://github.com/Rowtion/Bioclaw.git ~/.bioclaw
cd ~/.bioclaw

# Run setup
bash install.sh

๐Ÿ“š Usage Guide

Basic Commands

# Start Bioclaw
bioclaw start

# Check status
bioclaw status

# View logs
bioclaw logs

# Stop Bioclaw
bioclaw stop

# Update to latest version
bioclaw update

Working with Data

Upload data:

# Copy files to data directory
cp my_data.csv ~/.bioclaw/data/

# Access in RStudio/JupyterLab
# Path: /home/rstudio/data/

Save results:

# Results automatically saved to
~/.bioclaw/outputs/

AI Assistant Usage

Option 1: Feishu/Lark (้ฃžไนฆ)

  1. Create Feishu App:

    • Go to Feishu Developer Console
    • Create a new enterprise app
    • Enable "Bot" capability
    • Get App ID, App Secret, Encrypt Key, Verification Token
  2. Configure OpenClaw:

    cd ~/.bioclaw
    cp openclaw-config/openclaw.json.example openclaw-config/openclaw.json
    # Edit and fill in your Feishu credentials
    nano openclaw-config/openclaw.json
  3. Start all services:

    bioclaw start
  4. Configure OpenClaw Gateway (ไฝฟ็”จ CLI):

    ๆ–นๆณ• A: ไฝฟ็”จๅˆซๅๅ‘ฝไปค๏ผˆๆŽจ่๏ผ‰

    # ้…็ฝฎ Gateway ๆจกๅผ
    bioclaw-openclaw config set gateway.mode local
    
    # ็™ปๅฝ•้ฃžไนฆ้€š้“
    bioclaw-openclaw channels login feishu
    
    # ๆฃ€ๆŸฅ็Šถๆ€
    bioclaw-openclaw doctor
    
    # ้‡ๅฏ Gateway ็”Ÿๆ•ˆ
    bioclaw restart

    ๆ–นๆณ• B: ไฝฟ็”จ docker exec

    docker exec bioclaw-openclaw node /app/openclaw.mjs config set gateway.mode local
    docker exec -it bioclaw-openclaw node /app/openclaw.mjs channels login feishu
    docker exec bioclaw-openclaw node /app/openclaw.mjs doctor

    ๆ–นๆณ• C: Web UI ้…็ฝฎ

    • ๆ‰“ๅผ€ http://localhost:18790
    • ็‚นๅ‡ป "Channels" โ†’ ๆทปๅŠ ้ฃžไนฆ
    • ๅกซๅ…ฅ App ID / App Secret / Encrypt Key / Verification Token
  5. Add bot to Feishu group and chat:

    "ๅธฎๆˆ‘็”จDESeq2ๅšๅทฎๅผ‚่กจ่พพๅˆ†ๆž"
    "Plot a heatmap of top 50 genes"
    "Search PubMed for COVID-19 vaccine papers"
    

Option 2: Direct Browser Access

Open http://localhost:4096 for direct Opencode interface.

OpenClaw CLI ๅ‘ฝไปคๅ‚่€ƒ

ๅ‰ๆ: ๅฎ‰่ฃ…ๆ—ถๅทฒ่‡ชๅŠจๆทปๅŠ ๅˆซๅ bioclaw-openclaw๏ผŒๅฆ‚ๆžœไธๅฏ็”จ่ฏท้‡ๆ–ฐๅŠ ่ฝฝ shell ้…็ฝฎ๏ผšsource ~/.zshrc ๆˆ– source ~/.bashrc

ๅธธ็”จๅ‘ฝไปค:

# ่ฏŠๆ–ญๆฃ€ๆŸฅ
bioclaw-openclaw doctor

# ๆŸฅ็œ‹/ไฟฎๆ”น้…็ฝฎ
bioclaw-openclaw config get                    # ๆŸฅ็œ‹ๆ‰€ๆœ‰้…็ฝฎ
bioclaw-openclaw config set gateway.mode local # ่ฎพ็ฝฎๆœฌๅœฐๆจกๅผ

# ้€š้“็ฎก็†
bioclaw-openclaw channels status              # ๆŸฅ็œ‹้€š้“็Šถๆ€
bioclaw-openclaw channels login feishu        # ็™ปๅฝ•้ฃžไนฆ
bioclaw-openclaw channels logout feishu       # ้€€ๅ‡บ้ฃžไนฆ

# ๆŸฅ็œ‹ๆ—ฅๅฟ—
bioclaw-openclaw logs gateway                 # ๆŸฅ็œ‹ Gateway ๆ—ฅๅฟ—

# ้‡ๅฏๆœๅŠก
bioclaw restart                               # ้‡ๅฏๆ‰€ๆœ‰ๆœๅŠก

ๅฆ‚ๆžœๅˆซๅไธๅฏ็”จ๏ผŒไฝฟ็”จๅฎŒๆ•ดๅ‘ฝไปค:

docker exec bioclaw-openclaw node /app/openclaw.mjs <ๅ‘ฝไปค>

๐Ÿ”ง Advanced Configuration

Change Default Password

Edit .env file:

cd ~/.bioclaw
nano .env

# Change these:
RSTUDIO_PASSWORD=your_secure_password
JUPYTER_TOKEN=your_secure_token

Restart:

docker-compose restart

Enable Remote Access

See docs/REMOTE_ACCESS.md

Add Custom Skills

Drop your skills into:

~/.bioclaw/scientific-skills/

๐Ÿ› Troubleshooting

Installation Issues

Q: Docker not found

# macOS: Install Docker Desktop from https://docs.docker.com/desktop/install/mac-install/
# Ubuntu: sudo apt-get install docker.io

Q: Port already in use

# Check what's using port 8787
lsof -i :8787

# Kill process or change port in docker-compose.yml

Q: Build fails

# Check Docker daemon is running
docker info

# Retry build
cd ~/.bioclaw && docker-compose build --no-cache

Runtime Issues

Q: Cannot access localhost:8787

Q: Forgot password

  • Default: bioclaw
  • Change in ~/.bioclaw/.env

More issues? See FAQ.md


๐Ÿค Contributing

We welcome contributions!

Ways to Contribute

  • ๐Ÿ› Report bugs
  • ๐Ÿ’ก Suggest features
  • ๐Ÿ“ Improve documentation
  • ๐Ÿ”ง Submit pull requests

Development Setup

# Fork and clone
git clone https://github.com/YOUR_USERNAME/Bioclaw.git
cd Bioclaw

# Test changes
bash install.sh

See CONTRIBUTING.md for guidelines.


๐Ÿ“„ License

This project is licensed under the MIT License.


๐Ÿ™ Acknowledgments

Bioclaw wouldn't be possible without:


Made with โค๏ธ for the research community
โญ Star us on GitHub โ€ข ๐Ÿ› Report Issues

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors