Automated End-to-End RNA-Seq Analysis for Fusion Detection and Immune Profiling
The-FBI-Pipeline (Fusion, BCR/TCR, Immunogenomics) streamlines paired-end RNA-seq data from raw reads to validated fusion calls and immune repertoire profiles. The modular Bash scripts cover fastp QC, RiboDetector rRNA depletion, STAR-Fusion analysis, merged reporting, and MixCR-based TCR/BCR profiling.
- Modular steps that run independently or end-to-end
- Reproducible environments via Conda and Docker
- Checkpoint markers (
.task.complete) to resume safely - Consolidated TSV outputs ready for downstream review
- Step 1 Β· Quality Control (
step-1-quality-control.sh) β fastp trimming, filtering, and interactive QC reports. - Step 2 Β· rRNA Removal (
step-2-rrna-removal.sh) β RiboDetector deep-learning filter for ribosomal reads. - Step 3 Β· Fusion Detection (
step-3-fusion-detection.sh) β STAR-Fusion in Docker with FusionInspector validation and coding-effect assessment. - Step 4 Β· Merge Results (
step-4-merge-fusion-results.sh) β aggregates STAR-Fusion outputs into three master TSV files. - Step 5 Β· TCR/BCR Profiling (
step-5-tcr-bcr-analysis.sh) β MixCR V(D)J assembly and clonotype summarization.
# Clone repository
git clone https://github.com/LiaoWJLab/FBI.git
cd FBI/code
# Prepare environments (run once)
conda create -n rrna -c bioconda fastp -y
conda create -n ribodetector -c bioconda ribodetector -y
conda create -n mixcr -c bioconda mixcr -y
docker pull trinityctat/starfusion
# Execute steps (edit paths inside scripts beforehand)
bash step-1-quality-control.sh
bash step-2-rrna-removal.sh
bash step-3-fusion-detection.sh
bash step-4-merge-fusion-results.sh
bash step-5-tcr-bcr-analysis.shEach script logs progress and writes .task.complete markers so interrupted runs can resume safely.
02-fastp/β cleaned FASTQ files plus fastp HTML/JSON reports03-rribo/β rRNA-depleted paired reads13-starfusion/β per-sample STAR-Fusion folders and merged TSV summaries07-mixcr/β MixCR.vdjcaalignments and clonotype tables
- Chen et al. 2018 β fastp
- Kang et al. 2022 β RiboDetector
- Haas et al. 2019 β STAR-Fusion
- Bolotin et al. 2015 β MixCR
Dongqiang Zeng
Southern Medical University
π§ interlaken@smu.edu.cn
π https://github.com/LiaoWJLab/FBI
Report issues or request features at github.com/LiaoWJLab/FBI/issues.
License: MIT β see LICENSE.
Last Updated: November 15, 2025