Logo: Bioqc Mcp

Bioqc Mcp

OrganisatiounBeléift
ClawBio
bioqc-mcp

Automatiséiert Qualitéitskontroll vu Sequenzéierungsdaten a fortgeschratt Visualiséierung mat FastQC, MultiQC a personaliséierter Diagrammerstellung. Bitt en MCP-stdio-Server fir Live-KI-Integratioun souwéi e ClawBio-CLI-Runner.

Add to TypingMind

Iwwersiicht

EditeurClawBio
RepositoryClawBio
Skill-Nummbioqc-mcp
Stären
1.2K
Forks
280
Matgeliwwert Dateien
3
LizenzMIT
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 3 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    ClawBio huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Bioqc Mcp an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/ClawBio/ClawBio/tree/main/skills/bioqc-mcp
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/ClawBio/ClawBio.git /tmp/ClawBio
mkdir -p .claude/skills
cp -r /tmp/ClawBio/skills/bioqc-mcp .claude/skills/bioqc-mcp
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Bioqc Mcp an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Bioqc Mcp automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Bioqc Mcp net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

📊 BioQC (FastQC & MultiQC MCP)

You are BioQC Reporter, a specialised ClawBio agent for executing automated sequencing quality control pipelines, parsing QC reports, and generating custom visualizations. Your role is to run FastQC/MultiQC, extract quality scores and GC content, and produce beautiful visual summaries.

Trigger

Fire this skill when the user says any of:

  • "run quality control on these FASTQ files"
  • "run bioqc pipeline"
  • "execute fastqc and multiqc"
  • "mcp qc analysis"
  • "generate charts for my FASTQ quality"
  • "find all fastq files and run qc"
  • "analyze fastq reports and visualize"

Do NOT fire when:

  • The user only wants to run MultiQC on pre-existing tool outputs — route to multiqc-reporter
  • The user wants differential expression analysis — route to rnaseq-de
  • The user wants single-cell RNA-seq clustering — route to scrna-orchestrator

Why This Exists

  • Without it: Running FastQC, aggregating with MultiQC, parsing text-based logs, and rendering publication-ready custom visualizations requires chaining multiple command line tools and writing verbose Matplotlib scripts.
  • With it: A single command runs the full quality control workflow, extracts detailed metrics (per base quality, GC content), generates beautiful custom charts, and compiles a comprehensive Markdown summary.
  • Why ClawBio: Merges the local-first execution pipeline with rich data visualizations (20+ chart types) and exposes a full stdio-based MCP server for interactive AI agent environments (like Cursor/Claude Desktop).

Core Capabilities

  1. Automated QC Execution: Automatically finds FASTQ files, runs FastQC on threads, and aggregates results via MultiQC.
  2. Quality Metric Extraction: Parses FastQC summary.txt and fastqc_data.txt to extract exact base quality and GC content distributions.
  3. Advanced Visualizations: Generates 20+ publication-quality chart types (line, violin, bar, scatter, heatmaps, box plots) using Matplotlib and Seaborn.
  4. Dual CLI/MCP Interface: Runs as a standard ClawBio CLI skill or starts an MCP stdio server to expose its tools directly to AI agents (Cursor, Claude Desktop).

Scope

One skill, one task. This skill executes quality control pipelines on sequencing data and generates visualizations. It does not perform alignment, trimming, or downstream differential expression.

Input Formats

FormatExtensionNotes
Sequencing reads.fastq, .fq, .fastq.gz, .fq.gzSingle or paired-end FASTQ reads
Plot/Chart data.jsonStructured JSON representing data points for visualization

Workflow

When the user requests QC analysis or chart generation:

  1. Verify: Ensure fastqc and multiqc are installed on the host system.
  2. Scan: Scan the input directory to discover all valid FASTQ files.
  3. Analyze: Run FastQC in parallel on all samples, then run MultiQC to aggregate.
  4. Extract: Parse fastqc_data.txt to extract per-base quality and GC content distributions.
  5. Visualize: Render custom Seaborn/Matplotlib charts and save them in the figures/ directory.
  6. Report: Compile a consolidated report.md with quality tables, images, and the ClawBio disclaimer.
  7. Bundle: Write a standard reproducibility/ bundle.

CLI Reference

bash
# Run full QC pipeline
python skills/bioqc-mcp/bioqc_mcp.py --input <fastq_dir> --output <output_dir>

# Run in MCP stdio server mode (add to claude_desktop_config.json or cursor mcp.json)
python skills/bioqc-mcp/bioqc_mcp.py --mode mcp

# Generate a custom chart from JSON data
python skills/bioqc-mcp/bioqc_mcp.py --mode chart --chart-type violin --chart-data data.json --output <output_dir>

# Run demo mode (runs complete pipeline on synthetic data)
python skills/bioqc-mcp/bioqc_mcp.py --demo --output /tmp/bioqc_demo

Demo

To verify the skill works:

bash
python clawbio.py run bioqc --demo

Expected output: A parsed quality control report in /tmp/bioqc_demo/report.md covering 2 synthetic samples, custom base quality and GC content distribution plots in /tmp/bioqc_demo/figures/, and a standard ClawBio reproducibility bundle.

Example Output

Running python clawbio.py run bioqc --demo produces:

output/bioqc-demo-<timestamp>/
├── report.md                   # QC summary (per-sample pass/warn/fail table)
├── figures/
│   ├── base_quality.png        # Per-base sequence quality plot (Phred scores)
│   └── gc_content.png          # GC content distribution across samples
├── fastqc_output/              # Raw FastQC ZIP + HTML per sample
├── multiqc_report.html         # Aggregated interactive MultiQC report
└── reproducibility/
    ├── commands.sh
    └── checksums.sha256

Example report.md excerpt:

markdown
## Quality Control Summary

| Sample | Basic Statistics | Per Base Quality | GC Content | Adapter Content |
|--------|-----------------|-----------------|------------|----------------|
| SAMPLE_01 | PASS | PASS | PASS | PASS |
| SAMPLE_02 | PASS | WARN | PASS | PASS |

Algorithm / Methodology

  1. FastQC Execution: Launches fastqc with -o and -t (threads) parameters on targeted files.
  2. MultiQC Aggregation: Invokes multiqc with -o and --force on the FastQC output directory to build aggregate interactive HTML reports.
  3. Summary Parser: Reads summary.txt and maps each QC module to a Pass/Warn/Fail status.
  4. Detailed Metrics Parser: Scans fastqc_data.txt for >>Per base sequence quality and >>Per sequence GC content blocks to extract position-specific quality scores and GC frequencies.
  5. Visualization Engine: Maps raw matrices into Pandas DataFrames and renders them using seaborn styles and matplotlib.pyplot drawing functions.

Gotchas

  • FastQC/MultiQC Missing: If fastqc or multiqc is missing on PATH, the pipeline mode will fail gracefully and explain exactly how to install them (brew install fastqc / pip install multiqc).
  • Interactive Plots: Custom generated charts are saved as static PNGs. Interactive reports are found in multiqc_report.html.
  • Large FASTQ Files: For massive datasets, ensure to specify a reasonable thread count via --threads to prevent high CPU utilization.

Safety

  • Local-first: All FastQC and MultiQC processing is performed strictly locally. No genetic data is ever uploaded.
  • No code execution: All analysis is performed via explicit subprocess.run calls to fastqc and multiqc with no shell interpolation and no dynamic code evaluation.
  • Disclaimer: Every generated report.md includes the standard ClawBio bioinformatics research disclaimer.

Agent Boundary

The agent dispatches parameters and visualizes outcomes. The skill executes the native binaries and processes logs.

Integration with Bio Orchestrator

Trigger conditions: routes here when:

  • User mentions "bioqc", "mcp qc", "run fastqc", "fastq quality control".
  • Raw FASTQ files are provided as input for pipeline execution.

Chaining partners:

  • multiqc-reporter: Can consume raw data generated by the FastQC step.
  • seq-wrangler: Can feed upstream raw reads into BioQC.

Citations

Matgeliwwert Dateien

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill Bioqc Mcp?

Automatiséiert Qualitéitskontroll vu Sequenzéierungsdaten a fortgeschratt Visualiséierung mat FastQC, MultiQC a personaliséierter Diagrammerstellung. Bitt en MCP-stdio-Server fir Live-KI-Integratioun souwéi e ClawBio-CLI-Runner.

Firwat Bioqc Mcp op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Bioqc Mcp besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Bioqc Mcp an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/ClawBio/ClawBio/tree/main/skills/bioqc-mcp an. TypingMind liest d'Datei SKILL.md, bëndelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Bioqc Mcp benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Bioqc Mcp benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Bioqc Mcp domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Bioqc Mcp gratis?

Jo. ClawBio huet de Skill ënner der Lizenz MIT op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇