bio-workflows-tcr-pipeline

SkillDev tools

The largest open-source medical AI skills library for OpenClaw🦞.

Instructions available. Your AI can read the instructions. Execution depends on the setup they require.

Add ahel to your AI once: Claude, ChatGPT, Cursor, Claude Code or Codex. Then ask it to use this.

Then ask your AI: use the bio-workflows-tcr-pipeline skill

What this skill tells your AI

The instructions your AI receives, as published by freedomintelligence/openclaw-medical-skills in skills/bio-workflows-tcr-pipeline/SKILL.md and read by ahel’s review.


name: bio-workflows-tcr-pipeline description: End-to-end TCR/BCR repertoire analysis from FASTQ to clonotype diversity metrics. Use when analyzing immune repertoire sequencing data from bulk or single-cell experiments. tool_type: cli primary_tool: MiXCR measurable_outcome: Execute skill workflow successfully with valid output within 15 minutes. allowed-tools:

  • read_file
  • run_shell_command

TCR/BCR Analysis Pipeline

Pipeline Overview

FASTQ → MiXCR align → Assemble → Export → VDJtools diversity → Visualization

Step 1: MiXCR Processing

# Align reads to V(D)J segments
mixcr align -s hsa -p rna-seq \
    R1.fastq.gz R2.fastq.gz \
    aligned.vdjca

# Assemble clonotypes
mixcr assemble aligned.vdjca clones.clns

# Export
mixcr exportClones clones.clns clones.txt

Step 2: VDJtools Analysis

# Convert to VDJtools format
vdjtools Convert -S mixcr clones.txt vdjtools/

# Diversity metrics
vdjtools CalcDiversityStats vdjtools/clones.txt diversity/

# Sample overlap
vdjtools CalcPairwiseDistances vdjtools/*.txt overlap/

Step 3: Visualization

# Spectratype plot
vdjtools PlotFancySpectratype vdjtools/clones.txt spectra/

# V usage
vdjtools PlotFancyVJUsage vdjtools/clones.txt usage/

QC Checkpoints

  1. After alignment: Check V/J assignment rate (>70% typical)
  2. After assembly: Verify clonotype count and coverage
  3. After diversity: Compare metrics to expected range

Related Skills

  • tcr-bcr-analysis/mixcr-analysis - Detailed MiXCR usage
  • tcr-bcr-analysis/vdjtools-analysis - Diversity metrics
  • tcr-bcr-analysis/repertoire-visualization - Plots

Signals

GitHub stars
3k
Forks
412
Last commit
Jul 2026
Advanced
Item type
skill
Key
bio-workflows-tcr-pipeline
Source
github.com/freedomintelligence/openclaw-medical-skills