Agent skill
bio-workflows-tcr-pipeline
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 this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/tcr-pipeline
SKILL.md
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
- After alignment: Check V/J assignment rate (>70% typical)
- After assembly: Verify clonotype count and coverage
- 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
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?