Skip to content

DNBelab C Series HT Multi-omics Analysis Pipeline

Single-Cell Multi-omics Integrated Analysis Guide


Overview

The Multi-omics workflow orchestrates RNA / ATAC / VDJ sub-pipelines, enabling multi-omics joint analysis through a single configuration file and generating integrated reports for cross-omics inspection.

Workflow: Configuration → Module Dispatch → Parallel Analysis → Status Aggregation → Integrated Report

Usage Notes: $dnbc4tools represents the executable path and should be replaced with your actual installation path. Examples use line continuation characters \ for readability; commands can also be written on a single line.

Key Features:

Feature Description
Unified Orchestration One entry command dispatches multiple omics modules (RNA / ATAC / VDJ)
Status Tracking Module-level status management (success / failed / skipped / reused)
Integrated Report Generates integrated HTML report supporting cross-omics browsing and comparison
Flexible Configuration Supports arbitrary module combinations (single / dual / all modules)

Input Configuration

Configuration File Structure

multi run uses a CSV configuration file to define module parameters and input data. Typical sections include:

Section Purpose Key Parameters
[rna] RNA analysis module configuration genomeDir, expectcells, no_bam...
[atac] ATAC analysis module configuration genomeDir, frags_cutoff, need_bam...
[vdj-t] T-cell VDJ analysis configuration ref, beadstrans...
[vdj-b] B-cell VDJ analysis configuration ref, beadstrans...
[libraries] Input data mapping (required) fastqs, feature_types

Detailed Configuration: Please refer to the Multi Parameter Documentation for complete CSV configuration specifications and parameter mappings.

[libraries] input directory requirements:

  • rna: fastqs should point to the RNA FASTQ root directory, which must contain cDNA/ and oligo/ subdirectories.
  • atac: fastqs should point to the FASTQ directory for the current ATAC library, with R1/R2 files placed directly under that directory.
  • vdj-t / vdj-b: fastqs should point to the FASTQ directory for the current VDJ library. TCR and BCR data should be configured separately.
  • Automatic detection relies on R1/R2 markers in file names. The recommended naming patterns are _R1/_R2 or _R1_/_R2_.

Minimal Configuration Example

Configuration Example
[rna]
genomeDir,/database/scRNA/Human
end5,true
[vdj-t]
ref,human

[libraries]
fastqs,feature_types
/rawdata/rna/demo,rna
/rawdata/tcr/demo,vdj-t

Running Command

$dnbc4tools multi run \
  --csv sample.csv \
  --name demo \
  --outdir /data/result \
  --threads 20

Parameter Description:

Parameter Required Description
--csv Yes Path to CSV configuration file
--name Yes Sample name for output directory naming
--outdir No Output directory, defaults to current directory ./
--threads No Number of CPU threads, uses software default if not specified

Pre-Run Checklist

Please verify the following before running:

  1. --csv and --name parameters are properly provided
  2. At least one omics module is enabled in the CSV file (corresponding section present)
  3. Input paths in [libraries] exist and correctly match feature_types
  4. Required reference database parameters (e.g., genomeDir, ref) are complete with valid paths

Main Pipeline

Execution Flow

Stage Description
1. Configuration Parsing Reads CSV file, validates section integrity and parameter validity
2. Task Decomposition Builds RNA / ATAC / VDJ sub-task queues based on enabled modules
3. Sub-Pipeline Execution Sequentially invokes corresponding module commands, records runtime status
4. Status Aggregation Aggregates return codes, runtime, skip/reuse status from each module
5. Report Generation Generates multi-omics HTML integrated report combining core results from all modules

Execution Highlights

Core Principles:

  • Multi handles "orchestration and aggregation"; module algorithms remain in each single-omics sub-pipeline
  • A module failure will not invalidate other completed modules but will be reflected in the final status summary

Typical Runtime Log

Warning: ATAC joint analysis is currently unsupported. Libraries will be analyzed independently and summarized in a single report.

───────────────────────── Running checking libraries — 2026-04-08 13:39:42 ─────────────────────────
 RNA Library check complete
 VDJ-T Library check complete
 VDJ-B Library check complete
 ATAC Library check complete

──────────────────────────── Running RNA pipeline — 2026-04-08 13:40:10 ────────────────────────────

──────────────────────────── Parsed FASTQ Inputs — 2026-04-08 13:40:10 ─────────────────────────────
┌─────────────┬────────────────────────────────────────────────────────────────────────────────────┐
│ Type        │ Path                                                                               │
├─────────────┼────────────────────────────────────────────────────────────────────────────────────┤
│ cDNA Read 1 │ /data/cDNA/sample_cDNA_R1.fastq.gz                                                 │
│ cDNA Read 2 │ /data/cDNA/sample_cDNA_R2.fastq.gz                                                 │
│ oligo Read 1 │ /data/oligo/sample_oligo_1_R1.fastq.gz,/data/oligo/sample_oligo_2_R1.fastq.gz      │
│ oligo Read 2 │ /data/oligo/sample_oligo_1_R2.fastq.gz,/data/oligo/sample_oligo_2_R2.fastq.gz      │
└─────────────┴────────────────────────────────────────────────────────────────────────────────────┘
────────────────────────────────────────────────────────────────────────────────────────────────────

──────────────────────────── Chemistry Detection — 2026-04-08 13:40:24 ─────────────────────────────
┌───────────────────────────────────────────────┬──────────────────────────────────────────────────┐
│ Type                                          │ Result                                           │
├───────────────────────────────────────────────┼──────────────────────────────────────────────────┤
│ oligo Read 1                                   │ darkreaction                                     │
│ oligo Read 2                                   │ darkreaction                                     │
└───────────────────────────────────────────────┴──────────────────────────────────────────────────┘
────────────────────────────────────────────────────────────────────────────────────────────────────

──────────────────────────── Chemistry Detection — 2026-04-08 13:40:24 ─────────────────────────────
┌─────────────────────────────────────────────┬────────────────────────────────────────────────────┐
│ Type                                        │ Result                                             │
├─────────────────────────────────────────────┼────────────────────────────────────────────────────┤
│ cDNA Read 1                                  │ darkreaction                                       │
└─────────────────────────────────────────────┴────────────────────────────────────────────────────┘
────────────────────────────────────────────────────────────────────────────────────────────────────

 2026-04-08 13:40:24 Starting oligo library filtering...    

 ...                                        

Results

Output Directory Structure

After completion, results are organized under <outdir>/<name>/:

<outdir>/<name>/
├── outs/                                    # Organized output results
│   ├── <sample>_multi_report.html           # Multi-omics integrated report
│   ├── rna/                                 # RNA results (if enabled)
│   ├── atac/                                # ATAC results (if enabled)
│   ├── vdj-t/                               # VDJ-T results (if enabled)
│   └── vdj-b/                               # VDJ-B results (if enabled)
├── logs/                                    # Logs and runtime status
│   ├── run_manifest.json                    # Module runtime status summary
│   └── *.log                                # Module runtime logs
├── RNA_ANALYSIS_WORKFLOW_PROCESSING/        # Module workflow directories (if enabled)
├── ATAC_ANALYSIS_WORKFLOW_PROCESSING/
├── VDJ-T_ANALYSIS_WORKFLOW_PROCESSING/
└── VDJ-B_ANALYSIS_WORKFLOW_PROCESSING/

Key Output Files

File/Directory Description
outs/<sample>_multi_report.html Multi-omics integrated report displaying core QC and analysis charts from all modules
outs/rna/ RNA module standard outputs (matrix, statistics, module report, etc.)
outs/atac/ ATAC module standard outputs (fragment files, peaks, module report, etc.)
outs/vdj-t/ / outs/vdj-b/ VDJ module standard outputs (clonotypes, annotations, module report, etc.)
logs/run_manifest.json Module runtime status summary including return codes, runtime, and reuse status

Detailed Output Description: Please refer to the Multi Output Documentation for detailed interpretation of the integrated report.


Resource Description
Parameter Settings Complete parameter reference and descriptions
Output Descriptions Detailed interpretation of analysis results
scRNA Pipeline Single-cell RNA analysis workflow guide
scATAC Pipeline Single-cell ATAC analysis workflow guide
scVDJ Pipeline Single-cell VDJ analysis workflow guide

Frequently Asked Questions

This section will be expanded as common usage questions are collected. For the current version, use the run log, parameter reference, and output file documentation as the primary troubleshooting references.


Feedback & Support

This document is continuously maintained. If you identify errors or missing information, please submit feedback via GitHub Issues.

Document Version: 3.1 | Last Updated: May 15, 2026