This repository provides a Docker container for DaPars (Dynamic analysis of Alternative PolyAdenylation from RNA-seq), a tool for discovering and analyzing alternative polyadenylation events from RNA-seq data.
DaPars is a bioinformatics tool that directly infers dynamic alternative polyadenylation (APA) usage by comparing standard RNA-seq data. Given the annotated gene model, DaPars can identify de novo proximal APA sites as well as quantify the long and short 3'UTR expression levels. This enables researchers to study changes in 3'UTR usage across different conditions.
Supports both x86_64 and ARM64 platforms (works on Apple Silicon Macs)
# Pull the image from Docker Hub
docker pull maximumko/dapars-docker:latest
# (Alternative) From GitHub Container Registry
docker pull maximumko/dapars-docker:latest
# View usage instructions
docker run -it --rm maximumko/dapars-docker:latest --help
# Run the integrated workflow
docker run --rm -v $(pwd):/data maximumko/dapars-docker:latest run_complete_dapars \
--gene-bed /data/gene.bed \
--symbol-map /data/symbol_map.txt \
--sample-file /data/sample_list.txt \
--output-dir /data/outputdocker run --rm -v $(pwd):/data maximumko/dapars-docker:latest \
/opt/dapars/src/DaPars_Extract_Anno.py \
-b /data/gene.bed \
-s /data/symbol_map.bed \
-o /data/extracted_3UTR.beddocker run --rm -v $(pwd):/data maximumko/dapars-docker:latest \
/data/config_file.txtdocker run --rm -v $(pwd):/data maximumko/dapars-docker:latest run_complete_dapars \
--gene-bed /data/gene.bed \
--symbol-map /data/symbol_map.bed \
--sample-file /data/sample_list.txt \
--output-dir /data/outputdocker run --rm -v $(pwd):/data maximumko/dapars-docker:latest run_complete_dapars --helpThe container includes an example dataset to help you get started with DaPars:
# Run a shell in the container to copy the example data
docker run --rm -it -v $(pwd):/data maximumko/dapars-docker:latest bash
# Then inside the container:
cp -r /opt/dapars/example_data/* /data/
exit
# Now you can run DaPars with the example data
docker run --rm -v $(pwd):/data maximumko/dapars-docker:latest run_complete_dapars \
--gene-bed /data/RefSeq_hg19.bed \
--symbol-map /data/RefSeq_hg19_GeneName.bed \
--sample-file /data/Example_sample_list.txt \
--output-dir /data/outputInput Files DaPars requires the following input files:
Alignment files: Wig files for each sample (referenced in the sample list file)
--gene-bed(BED format): Standard 12-column BED file representing gene models;--symbol-map: Tab-separated file mapping transcript IDs to gene symbols;--sample-file: Configuration file specifying file paths for the groups to compare
The sample list file should contain:
Group1_Tophat_aligned_Wig=/data/sample1_condition1.wig,/data/sample2_condition1.wig
Group2_Tophat_aligned_Wig=/data/sample1_condition2.wig,/data/sample2_condition2.wig
Num_least_in_group1=1
Num_least_in_group2=1
If you use DaPars-Docker in your research, please cite:
Xia, Z., et al. (2014). Dynamic analyses of alternative polyadenylation from RNA-seq reveal a 3′-UTR landscape across seven tumour types. Nature Communications, 5:5274. PMID: 25409906
Yi Zhang. (2025). dapars-docker. GitHub. https://github.com/maximumko/dapars-docker
For more details about DaPars, visit the original repository: https://github.com/ZhengXia/dapars