← LeaderboardThe Skill Leaderboard

bio-workflows-tcr-pipeline

Skill file skills/bio-workflows-tcr-pipeline/SKILL.md in FreedomIntelligence/OpenClaw-Medical-Skills. Read the publisher’s upstream source.

Description awaits a fresh source check.

Published by FreedomIntelligence ↗FreedomIntelligence/OpenClaw-Medical-Skills

Try your first task

bio-workflows-tcr-pipeline

Start a fresh conversation. Replace the highlighted placeholders.

Use bio-workflows-tcr-pipeline to Draft a research intake form for an immune repertoire analysis using the bio-workflows-tcr-pipeline to process [sample_count] FASTQ files, outlining the conceptual steps from MiXCR alignment to VDJtools diversity metrics. Require a check of prerequisites and tool permissions before later execution. Keep this to a sanitized or synthetic research intake/readiness plan grounded in the cited historical source version. Check current documentation, permissions and prerequisites before any later execution, and wait for my explicit confirmation before any external action, live data access, tool execution, installation, file changes or deployment. Do not diagnose, recommend treatment, generate biological sequences or provide experimental protocols.

Required inputs

  • [sample_count]

User-approved starter prompt based on a pinned source version; check current skill requirements before running. Task evidence ↗

SKILL.md


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