scRNA Analysis Parameters¶
DNBelab C Series HT scRNA Parameter Configuration Guide
Overview ¶
This document explains the parameter meanings, default behaviors, and common usage patterns for each subcommand of dnbc4tools rna, covering single-sample analysis (run), reference library construction (mkref), and multi-sample task generation (multi).
Tip
Parameter descriptions are based on the current command-line help information. Examples can be used directly as templates and adjusted as needed.
Main Analysis Pipeline (run) ¶
Usage ¶
$ dnbc4tools rna run
dnbc4tools 3.1
Process a single-cell RNA-seq sample.
Usage: dnbc4tools rna run [OPTIONS]
optional arguments:
--help show this help message and exit
Input Files:
Choose one input method: either `--fastqs` (directory input) or all four individual FASTQ files.
--fastqs <DIR> Directory containing cDNA and oligo FASTQ subfolders (e.g., `cDNA/sample_cdna_R1.fastq.gz`, `oligo/sample_oligo_L01_R1.fastq.gz`). The pipeline automatically detects paired-end files.
--cDNAfastq1 <FILE> cDNA Read 1 FASTQ list. Supports wildcard and comma-separated inputs (e.g., `sample1_R1.fastq.gz,sample2_R1.fastq.gz`).
--cDNAfastq2 <FILE> cDNA Read 2 FASTQ list. Order must match `--cDNAfastq1` (e.g., `sample1_R2.fastq.gz,sample2_R2.fastq.gz`).
--oligofastq1 <FILE> Oligo Read 1 FASTQ list for barcode merging. Supports wildcard and comma-separated inputs.
--oligofastq2 <FILE> Oligo Read 2 FASTQ list. Order must match `--oligofastq1` (e.g., `sample1_oligo_R2.fastq.gz`).
Basic Settings:
--name <STR> Unique identifier for the sample. Used for naming output files and reports (e.g., `sample1`).
--genomeDir <DIR> Reference genome directory path containing STAR index files (e.g., `./genome_index`).
--outdir <DIR> Output directory path for results and reports [default: current directory] (e.g., `./output`).
--threads <INT> Number of CPU threads for parallel processing [default: all available cores] (e.g., `16`).
Filtering Settings:
--calling_method <STR> Cell detection method [default: emptydrops]. Supported values: `barcoderanks`, `emptydrops`.
--expectcells <INT> Expected number of cells to guide detection [default: auto] (e.g., `3000`).
--forcecells <INT> Force pipeline to use exactly this number of cells, overriding expected cell detection (e.g., `5000`).
--minumi <INT> Minimum UMI count per cell to retain [default: 1000].
--consistent_cells <FILE> Headered CSV for merge/cell-calling constraints. Supported schemas: `cell`; `cell,barcode`; `cell,is_cell_barcode`; `cell,barcode,is_cell_barcode`. Other columns are ignored.
Library Settings:
--chemistry <STR> Library chemistry version [default: auto]. Options: `scRNAv1HT`, `scRNAv2HT`, `scRNAv3HT`, `scRNA5Pv1`, `auto` (automatic detection).
--darkreaction <STR> Dark cycle setting for cDNA and oligo libraries [default: auto]. Provide two comma-separated values in the form `<cDNA>,<oligo>`. Each field may be one of: `auto`, `R1R2`, `R1`, `unset`.
--customize <STR> Custom read structure string. Format: `<type>,<read>:<start>-<end>` joined by `;`. cDNA (e.g., `cb,R1:1-10;cb,R1:11-20;umi,R1:21-30;R2,R2:1-100`). Oligo (e.g., `cb,R1:1-10;cb,R1:11-20;R1,R1:21-45`). For
RNA, provide `--customize` twice when both cDNA and oligo are customized: first cDNA, then oligo.
Analysis Settings:
--no_introns Exclude intronic reads from the expression matrix to increase specificity.
--end5 Enable 5'-end scRNA-seq analysis for 5' gene-expression profiling.
--no_bam Skip BAM file generation to save time and disk space.
--sample_read_pairs <INT> Subsample this number of cDNA read pairs for analysis (e.g., `1000000`).
Parameter Description¶
Required Parameters¶
Essential parameters that must be specified for a successful analysis
--name (Required)¶
Provide a unique name for this analysis run.
- Function: This name will be used as a prefix for all output files and the HTML report.
- Display: In the final web report, this name will be shown as the Sample ID.
Default: None
Example:
--name sample_001
--genomeDir (Required)¶
Specify the path to the reference genome directory.
- Requirement: The directory must contain the index and annotation resources generated by the
mkrefcommand. - Content: Includes genome sequence, STAR alignment index, etc.
Default: None
Example:
--genomeDir /path/to/genome/database
Input File Parameters¶
Choose one input method: directory input or individual FASTQ files
--fastqs (Method 1)¶
Specify the path to the directory containing all FASTQ files.
- Function: The pipeline will automatically detect paired files within this directory (including cDNA and oligo subdirectories).
- Directory requirement (RNA): The
--fastqsdirectory must contain bothcDNA/andoligo/subdirectories, and each subdirectory should include paired R1/R2 files. - Naming requirement: Automatic detection relies on R1/R2 markers in file names. Supported R1 patterns are
_R1_,_R1,_1, and_read1; supported R2 patterns are_R2_,_R2,_2, and_read2. Supported extensions are.fastq.gz,.fq.gz,.fastq, and.fq. - Note: This is a convenience option and cannot be used simultaneously with
--cDNAfastq1/--cDNAfastq2/--oligofastq1/--oligofastq2.
Recommended directory structure:
fastq_directory/
├── cDNA/
│ ├── sample_cDNA_L01_R1.fastq.gz
│ └── sample_cDNA_L01_R2.fastq.gz
└── oligo/
├── sample_oligo_L01_R1.fastq.gz
└── sample_oligo_L01_R2.fastq.gz
Default: None
Example:
--fastqs ./fastq_directory
--cDNAfastq1 (Method 2A)¶
Specify one or more cDNA Read 1 FASTQ files individually.
- Support: You can use wildcards (
*) to match files or a comma-separated list for multiple files. - Requirement: Must be used in pairs with the
--cDNAfastq2parameter, and the file order must match exactly.
Default: None
Example:
--cDNAfastq1 sample_cDNA_L01_R1.fastq.gz,sample_cDNA_L02_R1.fastq.gz
--cDNAfastq2 (Method 2B)¶
Specify one or more cDNA Read 2 FASTQ files individually.
- Support: You can use wildcards (
*) to match files or a comma-separated list for multiple files. - Requirement: Must be used in pairs with the
--cDNAfastq1parameter, and the file order must match exactly.
Default: None
Example:
--cDNAfastq2 sample_cDNA_L01_R2.fastq.gz,sample_cDNA_L02_R2.fastq.gz
--oligofastq1 (Method 2C)¶
Specify one or more oligo Read 1 FASTQ files individually.
- Support: You can use wildcards (
*) to match files or a comma-separated list for multiple files. - Requirement: Must be used in pairs with the
--oligofastq2parameter, and the file order must match exactly.
Default: None
Example:
--oligofastq1 sample_oligo_L01_R1.fastq.gz
--oligofastq2 (Method 2D)¶
Specify one or more oligo Read 2 FASTQ files individually.
- Support: You can use wildcards (
*) to match files or a comma-separated list for multiple files. - Requirement: Must be used in pairs with the
--oligofastq1parameter, and the file order must match exactly.
Default: None
Example:
--oligofastq2 sample_oligo_L01_R2.fastq.gz
Input Method Selection:
- Method 1: Use
--fastqsto specify a directory containingcDNA/andoligo/subdirectories. - Method 2: Use
--cDNAfastq1,--cDNAfastq2,--oligofastq1, and--oligofastq2to specify the paired FASTQ files explicitly.
Compatible aliases
Important Note: Files provided for the same input group must come from the same library and use consistent sequencing mode and dark-reaction settings. Data from different libraries must not be merged for analysis.
Basic Settings¶
--outdir (Optional)¶
Specify the output directory for all analysis results and reports.
- Function: All analysis results will be saved in this directory, and the pipeline will automatically create a structured subdirectory named after the sample.
Default: ./ (current directory)
Example:
--outdir ./output_results
--threads (Optional)¶
Set the number of CPU threads to be used during the analysis.
- Function: Increasing the number of threads can significantly speed up the analysis.
- Recommendation: Adjust based on the number of available CPU cores for optimal performance.
Default: Use all available CPU cores
Example:
--threads 16
Filtering Settings¶
--calling_method (Optional)¶
Set the cell identification method to distinguish real cells from empty droplets.
Method Comparison
barcoderanks
- Principle: Uses an empirical threshold based on total UMI counts, identifying cells via the "knee point" of the UMI rank plot.
- Use Case: Quick preliminary analysis or in scenarios where cells are clearly distinct from the background.
emptydrops (Default)
- Principle: Based on a statistical test of the expression profile to determine if a cell's profile is significantly different from the ambient RNA background.
- Use Case: Standard analysis (recommended), accurately identifies cells with low RNA content and controls for false positives.
Default: emptydrops
Example:
# Switch to barcoderanks for cell identification
dnbc4tools rna run --name sample1 --fastqs ./fq --genomeDir ./ref --calling_method barcoderanks
--expectcells (Optional)¶
Set the expected number of recovered cells.
- Function: Provides initial guidance for the emptydrops algorithm's preliminary screening.
- Recommendation: The default
automode is recommended, which automatically estimates the cell count based on UMI distribution features. If the effective cell count is known, you can also manually set it to 50% of that number as a preliminary screening basis.
Default: auto
Example:
# Expect to recover 3000 cells
dnbc4tools rna run --name sample1 --fastqs ./fq --genomeDir ./ref --expectcells 3000
--forcecells (Optional)¶
Force the pipeline to use an exact number of cells, overriding the software's automatic cell detection.
- Function: Use when you want to analyze a cell population of a known quantity.
- Priority: This is the highest-priority filtering parameter.
Default: None
Example:
# Force the output of 5000 cells for analysis
dnbc4tools rna run --name sample1 --fastqs ./fq --genomeDir ./ref --forcecells 5000
--minumi (Optional)¶
Set the minimum UMI count to retain a cell.
- Function: This is a core cell quality control parameter. Cells below this threshold are considered to have poor data quality and will be excluded from subsequent analysis.
- Recommendation: Use the default value for the initial analysis, then determine a more appropriate threshold based on the "UMI Count Distribution" plot in the web report.
Default: 1000
Example:
# Lower the UMI threshold for cell filtering to 500
dnbc4tools rna run --name sample1 --fastqs ./fq --genomeDir ./ref --minumi 500
--consistent_cells (Optional)¶
Provide a CSV file (with header) for cell-merge/cell-calling constraints.
- Function: Adds external constraints during barcode merging and final cell calling to improve consistency across data batches.
- Supported header schemas:
cell,cell,barcode,cell,is_cell_barcode,cell,barcode,is_cell_barcode. - Note: Any additional columns are ignored and do not affect pipeline execution.
- Caution: If both
cellandbarcodeare present, the oligo data analysis results will not contribute to the final merging. Any other oligo data not from this sample can be used without affecting the analysis results.
Default: None
Example:
--consistent_cells ./constraints/consistent_cells.csv
Cell Identification Analysis Recommendations
Cell identification is critical for downstream reliability. Start with defaults, then tune based on QC plots.
Click to view diagnostics and strategy
- Too few cells: Usually
--minumiis too strict or ambient RNA is high. Lower--minumiand re-check UMI rank. - Too many cells: Usually threshold is too loose. Increase
--minumior constrain with--forcecells. - No clear knee point: Check library/sequencing quality first, then tune parameters.
- Multiple knee points: May indicate mixed populations or doublets; follow with doublet filtering.
Library Settings¶
--chemistry (Optional)¶
Configure the chemistry version of the scRNA kit, which determines the sequence structure of barcodes and UMIs.
- Function: Guides parsing of barcode and UMI sequence structure.
- Supported Versions:
scRNAv1HT,scRNAv2HT,scRNAv3HT,scRNA5Pv1. - Smart Detection (auto): Recommended for first-pass analysis; manual override only when auto-detection fails.
Default: auto
Example:
# Scenario: Known library is scRNAv3HT with no dark reaction and auto-analysis failed
dnbc4tools rna run --name sample2 --fastqs ./fq --genomeDir ./ref --chemistry scRNAv3HT --darkreaction unset,unset
Important Note: Incorrect settings may lead to cell barcode identification failure. Specify manually only if you know the library structure or if auto-detection fails. When manually specified, it is recommended to set --darkreaction together.
--darkreaction (Optional)¶
Configure the dark cycle settings for the cDNA and oligo libraries.
- Function: Guides parsing of dark-cycle patterns from sequencing chemistry.
- Format:
<cDNA_setting>,<oligo_setting>. - Options:
auto,R1R2,R1,unset. - Smart Detection (auto): Recommended default; manually set only when auto-detection fails.
Default: auto
Examples:
# Example 1: cDNA library has dark cycle on R1, oligo library has dark cycles on both ends
--darkreaction R1,R1R2
# Example 2: Both libraries have dark cycles on R1 only
--darkreaction R1,R1
# Example 3: Neither library has dark cycles
--darkreaction unset,unset
Important Note: Incorrect settings may lead to cell barcode identification failure. Specify manually only if you know the library structure or if auto-detection fails. When manually specified, it is recommended to set --chemistry together.
--customize (Advanced)¶
Precisely define the extraction structure for barcodes, UMIs, and effective sequences (reads) for non-standard libraries. This is an advanced feature that overrides --chemistry and --darkreaction settings.
- Syntax:
"<type>,<read>:<start>-<end>", with multiple segments separated by semicolons (;). - Parameter Types (type):
cb(cell barcode),umi(UMI),R1(effective sequence in Read 1),R2(effective sequence in Read 2, paired-end only). - Dual Configuration: Specify
--customizetwice when both cDNA and oligo libraries are customized. - Notes: Enclose the full string in quotes; coordinates are 1-based and must not exceed read length.
Examples:
# For a cDNA library with structure: Barcode 1(1-10bp) + Barcode 2(11-20bp) + UMI(21-30bp) in R1; sequence(1-100bp) in R2
--customize "cb,R1:1-10;cb,R1:11-20;umi,R1:21-30;R1,R2:1-100"
# For a cDNA library with structure: Barcode 1(7-16bp) + Barcode 2(23-32bp) + UMI(38-47bp) in R1; sequence(1-100bp) in R2
--customize "cb,R1:7-16;cb,R1:23-32;umi,R1:38-47;R1,R2:1-100"
# For a 5'-end transcript cDNA library using data from both ends
--customize "cb,R1:1-10;cb,R1:11-20;umi,R1:21-30;R1,R1:31-120;R2,R2:1-150"
# Example: Custom sequence structures for cDNA and oligo libraries respectively
--customize "cb,R1:1-10;cb,R1:11-20;umi,R1:21-30;R1,R2:1-100" --customize "cb,R1:1-10;cb,R1:11-20;R1,R2:1-30"
Risk Warning: Incorrect custom configurations can lead to data loss or analysis failure. Use only when standard configurations do not meet your needs.
Analysis Settings¶
--no_introns (Flag)¶
Enable this parameter to filter out reads from intronic regions during analysis.
- Function: Retains only reads from exonic regions for expression quantification, avoiding interference from immature transcripts.
Default: If not set, reads from intronic regions are included.
--end5 (Flag)¶
Enable 5'-end single-cell transcriptome data analysis mode.
- Function: Specifically for analyzing mRNA captured at the 5' end.
- Note: Use this parameter only when using a 5'-end scRNA kit.
Default: Not set.
--no_bam (Flag)¶
Enable this parameter to skip the generation of BAM files.
- Function: Saves time and disk space, significantly reducing computation time and storage requirements.
- Note: Downstream analysis requiring BAM files will not be possible.
Default: If not set, BAM files are generated.
--sample_read_pairs (Optional)¶
Extract a specified number of read pairs from the input cDNA FASTQ files for analysis.
- Function: Used for quick testing of large datasets before a full analysis, or for down-sampling analysis when resources are limited.
Default: None (uses all data)
Example:
--sample_read_pairs 100000000
Analysis Recommendation
For the initial analysis, it is recommended to use the default parameters and then adjust them as needed based on the results report.
Reference Database Construction (mkref) ¶
Usage¶
$ dnbc4tools rna mkref
dnbc4tools 3.1
Build an RNA reference database.
Usage: dnbc4tools rna mkref [OPTIONS]
optional arguments:
--help show this help message and exit
Input Files:
Input genome FASTA files and gene-annotation GTF files. For mixed-species analysis, separate multiple files with commas.
--fasta <FILE> Reference-genome FASTA file path(s). Separate multiple files with commas (e.g., `genome1.fa,genome2.fa`).
--ingtf <FILE> Gene-annotation GTF file path(s). Separate multiple files with commas (e.g., `anno1.gtf,anno2.gtf`).
Basic Settings:
--genomeDir <DIR> Output directory path for generated reference files [default: current directory] (e.g., `./ref`).
--species <STR> Species identifier(s). Use commas for mixed-species analysis [default: undefined] (e.g., `human,mouse`).
--threads <INT> Number of CPU threads for parallel processing [default: 10] (e.g., `16`).
Advanced Settings:
--chrM <STR> Mitochondrial chromosome identifier in the reference genome [default: auto] (e.g., `MT`).
--limitram <INT> Maximum RAM, in GB, allowed for index generation (e.g., `64`). Also affects memory usage and alignment speed during mapping.
--extra-args <STR> Additional STAR parameters to pass directly to STAR index generation (e.g., `"--sjdbOverhang 100"`).
--noindex Skip the STAR index-generation step.
Parameter Description¶
Required Parameters¶
--fasta (Required)¶
Provide the reference genome sequence file.
- Requirement: Standard FASTA format, primary assembly version is recommended.
Default: None
Example:
--fasta Homo_sapiens.GRCh38.dna.primary_assembly.fa
--ingtf (Required)¶
Provide the gene structure annotation file.
- Function: Used for gene expression quantification and annotation.
- Requirement: Standard GTF format.
- Required Features: Must include
gene/transcriptandexonentries. - Required Attributes: Must include
gene_id/gene_nameandtranscript_id/transcript_name. - Chromosome Names: Must match chromosome names in the FASTA genome.
- Coordinates: Start and end coordinates must be valid.
Default: None
Example:
--ingtf Homo_sapiens.GRCh38.108.gtf
Dual-Species Analysis Configuration
For dual-species analysis, provide two file paths separated by commas in both --fasta and --ingtf.
- Example:
--fasta human.fa,mouse.fa --ingtf human.gtf,mouse.gtf - Important: File order must exactly match the
--speciesorder.
Settings¶
--genomeDir (Optional)¶
Specify the output directory for the generated reference database.
- Function: All generated reference files (index, annotations, etc.) will be stored in this directory.
Directory Structure Preview
genomeDir/ ├── fasta/ │ └── genome.fa # Processed genome sequence file ├── genes/ │ └── genes.gtf # Processed gene annotation file ├── star/ │ ├── SA # STAR index file │ ├── SAindex # STAR index core file │ ├── chrLength.txt # Chromosome length information │ ├── chrName.txt # Chromosome name information │ ├── chrNameLength.txt # Chromosome name and length │ ├── chrStart.txt # Chromosome start position │ ├── Genome # Genome sequence compressed file │ ├── genomeParameters.txt # Genome parameter configuration │ ├── Log.out # STAR index construction log │ ├── sjdbInfo.txt # Splice junction database information │ ├── sjdbList.fromGTF.out.tab # Splice junctions extracted from GTF │ ├── sjdbList.out.tab # List of all splice junctions │ └── mtgene.list # List of mitochondrial genes └── ref.json # Database configuration and metadata file
Default: ./ (current directory)
Example:
dnbc4tools rna mkref --fasta genome.fa --ingtf genes.gtf --genomeDir /database/scRNA/GRCh38
--species (Optional)¶
Specify one or more species names for the reference database.
- Function: This name is recorded in the configuration file and used for species identification, gene annotation, and cell annotation in subsequent analyses.
Dual-Species Analysis Configuration
- Naming Format: Use commas to separate multiple species names (e.g.,
hg38,mm10). - Order Requirement: Must be strictly consistent with the order of
--fastaand--ingtffiles. - Automatic Processing: The pipeline automatically adds a species prefix to genes (e.g.,
hg38_GENE1) and separates statistical information in the results.
Cell Annotation Support
Providing this parameter for specific species enables automatic downstream cell type annotation.
- Supported:
Homo_sapiens(orhg38),Mus_musculus(ormm10). - Not Supported: Other species do not support cell annotation.
Default: undefined
Examples:
# Single species
--species Homo_sapiens
# Dual species (human + mouse)
--species hg38,mm10
--threads (Optional)¶
Set the number of CPU threads to be used during STAR index construction.
- Performance Impact: Increasing the number of threads can significantly shorten the index construction time.
- Resource Balance: Be mindful of the balance between the number of threads and available RAM; too many threads can lead to insufficient memory.
Default: 10
Example:
--threads 16
Advanced Settings¶
--chrM (Optional)¶
Specify the name of the mitochondrial chromosome.
- Function: Used to assess cell quality. High mitochondrial gene expression often indicates cell stress or death.
- Auto-detection: By default, it will automatically identify from common names (e.g.,
chrM,MT).
Default: auto
Example:
# If the mitochondrial chromosome name is "mitochondrion"
dnbc4tools rna mkref --fasta genome.fa --ingtf genes.gtf --chrM mitochondrion
--limitram (Optional)¶
Limit the maximum memory usage (in GB) during STAR genome index generation.
- Function: This parameter controls the memory consumption during STAR index construction. The memory configuration of the index directly affects the memory usage and runtime speed of subsequent
rna runanalysis. - Impact: A higher memory limit enables the generation of higher-performance indexes, thereby speeding up RNA analysis, but increases memory consumption; a lower memory limit reduces index performance and may slow down analysis speed.
- Recommendation: Set according to available system memory to avoid index construction failures due to insufficient memory.
Default: None
Example:
--limitram 64
--extra-args (Advanced)¶
Pass additional command-line arguments directly to STAR index generation.
- Function: For special requirements and performance optimization.
- Note: Improper parameter settings can lead to index construction failure or subsequent analysis issues.
Default: None
Example:
--extra-args "--sjdbOverhang 99 --runThreadN 20"
--noindex (Flag)¶
If this parameter is set, it will only generate the configuration file without building the genome index.
- Function: Use this parameter to skip the time-consuming index construction step when the index files already exist.
Default: Not set
Example:
# Generate only the configuration file, do not build the index
dnbc4tools rna mkref --fasta genome.fa --ingtf genes.gtf --noindex
Database Construction Technical Notes:
- For genomes with numerous and variably sized chromosomes, database construction automatically determines optimized values for
genomeSAindexNbasesandgenomeChrBinNbits. - After construction, a
ref.jsonfile is generated in the database directory to record all key configuration metadata. - Dual-species analysis automatically adds a species prefix to each gene (for example,
hg38_GENE1andmm10_GENE2) to distinguish genes across species. - All build parameters and version information are recorded in
ref.jsonto ensure reproducibility.
Single-Species ref.json Example:
{
"chrmt": "chrM",
"genome": "/database/scRNA/Homo_sapiens/fasta/genome.fa",
"genomeDir": "/database/scRNA/Homo_sapiens/star",
"gtf": "/database/scRNA/Homo_sapiens/genes/genes.gtf",
"input_fasta_files": [
"genome.fa"
],
"input_gtf_files": [
"genes.gtf"
],
"mtgenes": "/database/scRNA/Homo_sapiens/star/mtgene.list",
"species": "Homo_sapiens",
"version": "3.1"
}
Dual-Species ref.json Example:
{
"chrmt": "hg38_chrM,mm10_chrM",
"genome": "/database/scRNA/hg38_and_mm10/fasta/genome.fa",
"genomeDir": "/database/scRNA/hg38_and_mm10/star",
"gtf": "/database/scRNA/hg38_and_mm10/genes/genes.gtf",
"input_fasta_files": [
"hg38_genome.fa",
"mm10_genome.fa"
],
"input_gtf_files": [
"hg38_genes.gtf",
"mm10_genes.gtf"
],
"mtgenes": "/database/scRNA/hg38_and_mm10/star/mtgene.list",
"species": "hg38_and_mm10",
"version": "3.1"
}
Performance Optimization Recommendations:
- For common genomes (for example, human and mouse), pre-build indexes and reuse them across projects.
- Dual-species index construction takes longer; run it when sufficient compute resources are available.
- Regularly check updates from Ensembl and similar databases, and refresh reference genomes and annotations in time.
Multi-sample Operations (multi) ¶
Usage¶
$ dnbc4tools rna multi
dnbc4tools 3.1
Process multiple RNA-seq samples.
Usage: dnbc4tools rna multi [OPTIONS]
optional arguments:
--help show this help message and exit
Input Files:
--list <FILE> Sample list file path. Each line must contain sample name, cDNA FASTQ file path(s), and oligo FASTQ file path(s).
Basic Settings:
--genomeDir <DIR> Reference genome directory path containing required reference files.
--outdir <DIR> Output directory path for analysis results [default: current directory] (e.g., `./output`).
--threads <INT> Number of CPU threads for parallel processing.
Analysis Settings:
--end5 Enable 5'-end single-cell transcriptome analysis.
Parameter Description¶
Required Parameters¶
--list (Required)¶
Specify the path to the list file containing information for multiple samples.
- File Format: Tab-separated (
\t) text file, UTF-8 encoding recommended. - Column Structure:
- Sample Name
- cDNA Data Path
- Oligo Data Path
- Multiple FASTQ files: Paths for multiple FASTQ files from the same library should be separated by commas (
,). - R1 and R2 files: Paths for paired R1 and R2 files should be separated by semicolons (
;). - Path Type: Both absolute and relative paths are supported.
Path Format Rules
Default: None
Example:
# Example 1: SampleA, with 1 pair of R1/R2 files for cDNA and oligo each
SampleA /path/to/A_cDNA_R1.fq.gz;/path/to/A_cDNA_R2.fq.gz /path/to/A_oligo_R1.fq.gz;/path/to/A_oligo_R2.fq.gz
# Example 2: SampleB, with 2 pairs of R1/R2 files for cDNA, and 1 pair for oligo
SampleB /path/to/B_cDNA_L01_R1.fq.gz,/path/to/B_cDNA_L02_R1.fq.gz;/path/to/B_cDNA_L01_R2.fq.gz,/path/to/B_cDNA_L02_R2.fq.gz /path/to/B_oligo_R1.fq.gz;/path/to/B_oligo_R2.fq.gz
Parameter Inheritance Note
For other analysis parameter settings, please refer to the corresponding parameters of the
dnbc4tools rna runcommand. All samples should use the same reference database.Execution Behavior
dnbc4tools rna multigenerates per-sample execution scripts (for example,sample1.sh) for batch submission and reuse. By default, it does not automatically run all sample analyses serially.
Related Documentation¶
| Resource | Description |
|---|---|
| scRNA Pipeline | Single-cell RNA analysis workflow guide |
| scRNA Output | Detailed output file interpretation |
Feedback & Support
This document is continuously maintained. If you identify errors or additional information is required, please submit feedback via GitHub Issues.
Document Version: 3.1 | Last Updated: May 15, 2026