tywei08/bioskills-plugin/tcr-pipeline

Claude Code and agent skill by tywei08/bioskills-plugin

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

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.

Install

npx vskill@latest install tywei08/bioskills-plugin/tcr-pipeline

SKILL.md

The same SKILL.md was published earlier as tywei08/bioskills-plugin/tcr-pipeline.

Version Compatibility

Reference examples tested with: MiXCR 4.6+, VDJtools 1.2.1+

Before using code patterns, verify installed versions match. If versions differ:

  • CLI: <tool> --version then <tool> --help to confirm flags

If code throws ImportError, AttributeError, or TypeError, introspect the installed package and adapt the example to match the actual API rather than retrying.

TCR/BCR Analysis Pipeline

"Analyze my TCR/BCR repertoire sequencing data end-to-end" → Orchestrate MiXCR clonotype extraction, VDJtools diversity/repertoire analysis, Immcantation SHM and lineage analysis, and visualization of V/J gene usage and clonal dynamics.

Pipeline Overview

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

Step 1: MiXCR Processing

bash
# 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

bash
# 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

bash
# 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

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/tywei08/bioskills-plugin/tcr-pipeline/badge)](https://verified-skill.com/skills/tywei08/bioskills-plugin/tcr-pipeline)

Something wrong with this skill or its page? Tell us.