CDesk is an integrated multi-omics analysis pipeline designed for processing data from various sequencing-based assays, including RNA-seq, scRNA-seq, ATAC-seq, CUT&Tag, ChIP-seq, and Hi-C. It comprises multiple subcommands that cover a comprehensive range of analysis tasks, from raw sequencing data process to downstream various advanced functions. Dedicated conda environment YAML files are supplied. To install, simply create the Conda environment from thess files (some functions may require additional software) and prepare the necessary species-specific data. Once configured, users can perform the desired analyses by entering the corresponding command on the command line.

git clone https://github.com/jerry1gotobed/CDesk_develop.git
mamba env create -f CDesk.yml
mamba env create -f CDesk_py3.7.yml
mamba env create -f CDesk_py2.7.yml
mamba env create -f CDesk_R.yml
We provide Conda environments containing the required software, R, and Python dependencies used in the scripts (some tools may require additional manual installation). We recommend using mamba instead of conda for faster environment setup.
Each time you run CDesk, it first checks for the presence of the required CDesk Conda or Mamba environments. You can also specify custom environment paths in the configuration file. If no Conda/Mamba environment is found, CDesk will fall back to your system's default environment. However, this may lead to compatibility issues if dependencies are missing or mismatched.
You need to prepare reference data for the species of interest and specify the corresponding file paths in the config.json configuration file. This file stores paths to genomic data, annotation files, and any additional software installations.
An example configuration is provided below. You can customize it to support additional species or data types. Note that not all fields are required — the specific data and tools needed depend on the task you intend to run. CDesk will check for required resources and exit with an informative error message if any are missing.
{ "software":{ "cellranger":".../bin/cellranger", "DrSeq":".../bin/DrSeq", "dnbc4tools":".../dnbc4tools", "juicer_tools_jar":".../juicer_tools_1.22.01.jar", "dipc":".../dip-c", "hickit":".../hickit", "hickit_js":".../hickit.js", "celescope_path":".../celescope/bin" }, "conda_env":{ "CDesk":".../miniconda3/envs/CDesk", "CDesk_R":".../miniconda3/envs/CDesk_R", "CDesk_py3.7":".../miniconda3/envs/CDesk_py3.7", "CDesk_py2.7":".../miniconda3/envs/CDesk_py2.7" }, "data":{ "mm10": { "hisat2_index": ".../mm10/mm10", "refseq_gtf": ".../mm10/mm10.ncbiRefSeq.WithUCSC.gtf", "refseq_bed": ".../mm10/mm10.refseq.bed", "chromInfo": ".../mm10/mm10.len", "fasta": ".../mm10/mm10.fa", "tf_file": ".../mm10/Mus_musculus_TF.txt", "promoter_file": ".../mm10.promoter.ncbiRefSeq.WithUCSC.bed", "TE_idx": ".../mm10.exclusive.idx", "scRef10x": ".../mm10Self", "effective_genome_size": "mm", "gff3":".../mm10.gff3", "refgenes":".../mm10.refgenes.txt", "bowtie2_mapindex":".../mm10", "singleron_mapindex":"../mm10", "dnbc_mapindex":".../mm10" }, "hg38": { "hisat2_index": ".../hg38/hg38", "refseq_gtf": ".../hg38.ncbiRefSeq.WithUCSC.gtf", "refseq_bed": ".../hg38.refseq.bed", "chromInfo": ".../hg38.len", "fasta": ".../hg38.fa", "tf_file": ".../Homo_sapiens_TF.txt", "promoter_file": ".../hg38.Promoter.bed", "TE_idx": ".../hg38.exclusive.idx", "scRef10x": ".../hg38", "effective_genome_size": "hs", "gff3":".../hg38.gff3", "refgenes":".../hg38.refgenes.txt", "bowtie2_mapindex":".../hg38", "singleron_mapindex":".../hg38", "dnbc_mapindex":".../hg38" }, } } - software: Saves the ptional software requiring manual installation - conda_env: The conda environments path - data: Saves the genome reference data of different species - hisat2_index: Genome index files for HISAT2 alignment - refseq_gtf: Gene annotation file in GTF format based on RefSeq - refseq_bed: BED-formatted gene annotation derived from RefSeq - chromInfo: Chromosome name and length information for the genome - fasta: Reference genome sequence in FASTA format - tf_file: List of transcription factors associated (https://guolab.wchscu.cn/AnimalTFDB#!/download) - promoter_file: BED file defining promoter regions of genes in the genome based on RefSeq annotation - TE_idx: Exclusive index for transposable elements (TEs) in the genome (https://github.com/JiekaiLab/scTE-1) - scRef10x: Reference dataset for single-cell RNA-seq analysis compatible with 10x Genomics pipelines - effective_genome_size: Effective genome size parameter - gff3: Genome annotation in GFF3 format - refgenes: Custom gene annotation file (http://genome.ucsc.edu/cgi-bin/hgTables) - bowtie2_mapindex: Bowtie2 index files for short-read alignment to the reference genome - singleron_mapindex: Reference index directory for Singleron single-cell data analysis - dnbc_mapindex: Genome index for DNBC4Tools pipeline
We have provided pre-built reference configuration files for CDesk for mm10 and hg38, including refseq_bed, tf_file, promoter_file, TE_idx, and refgenes in Zenodo at https://doi.org/10.5281/zenodo.18666888.
0.1 Tools: Data download
0.2 Tools: Prepare
1.1 bulkRNA: Preprocess
1.2 bulkRNA: Correlation
1.3 bulkRNA: DEG
1.4 bulkRNA: Enrich
1.5 bulkRNA: Similarity
1.6 bulkRNA: Clustering
1.7 bulkRNA: Splice
2.1 scRNA: Preprocess
2.2 scRNA: Cluster
2.3 scRNA: Annotation
2.4 scRNA: Marker
2.5 scRNA: Trajectory
2.6 scRNA: Similarity
2.7 scRNA: Interaction
2.8 scRNA: Integrate
3.1 ATAC: Preprocess
3.2 ATAC: Correlation
3.3 ATAC: Dynamic
3.4 ATAC: Motif
3.5 ATAC: Accessbility
3.6 ATAC: IGV
3.7 ATAC: Similarity
4.1 ChIPseqCUTTag: Preprocess
4.2 ChIPseqCUTTag: Correlation
4.3 ChIPseqCUTTag: Pattern
4.4 ChIPseqCUTTag: Motif
4.5 ChIPseqCUTTag: Accessbility
4.6 ChIPseqCUTTag: IGV
4.7 ChIPseqCUTTag: Similarity
5.1 HiC: Preprocess
5.2 HiC: Correlation
5.3 HiC: Matrix balancing and Format transformation
5.4 HiC: TAD
5.5 HiC: Compartment
5.6 HiC: Loop
5.7 HiC: 3D reconstruction
5.8 HiC: Distance-contact
5.9 HiC: Contact compare