-
Notifications
You must be signed in to change notification settings - Fork 0
Installing ChoCallate
Aleksey Ermolaev edited this page Apr 25, 2026
·
6 revisions
ChoCallate is tested on Linux. macOS and Windows are not currently tested.
- Conda (Miniconda/Anaconda) or Mamba
- Git
To install the latest ChoCallate version, follow these steps.
Clone the repository
git clone --depth 1 https://github.com/alermol/ChoCallate.gitCreate and activate the environment
cd ChoCallate
conda env create -y -f environment.yaml
conda activate ChoCallateVerify the installation (optional)
cd test_run
bash run_test.shClean up test output (optional)
bash cleanup.sh-
Install Docker using the official instructions.
-
Pull the latest image from DockerHub
docker pull alermol/chocallate:latest- Prepare a working directory with your input files
input_data
├── reads
| ├── sample1_F.fq
| ├── sample1_R.fq
| ├── sample2_F.fq
| └── sample2_R.fq
├── samples.tsv
├── config.yaml
├── include.bed
├── exclude.bed
├── genome_assembly.fna
└── genome_assembly.fna.mmi
The folder structure can be different. Just make sure the file paths in
config.yamlandsamples.tsvmatch the paths inside the container (in the container default$WORKDIRis/workspace).
Example config.yaml paths (mounted root is /workspace):
input:
samples_tsv: /workspace/samples.tsv
reference_genome: /workspace/genome_assembly.fna
reference_index_dir: /workspace/
include_bed: /workspace/include.bed
exclude_bed: /workspace/exclude.bed
...
output:
directory: /workspace/ChoCallate_output
Example samples.tsv (TAB-separated):
sample1<TAB>/workspace/reads/sample1_F.fq<TAB>/workspace/reads/sample1_R.fq
sample2<TAB>/workspace/reads/sample2_F.fq<TAB>/workspace/reads/sample2_R.fq
- Run ChoCallate
docker run --rm \
-u "$(id -u):$(id -g)" \
-v "${PWD}/input_data:/workspace" \
-w /workspace \
alermol/chocallate:latest \
-params-file config.yamlWait for completion.
- Output results will appear in
ChoCallate_outputinside yourinput_datadirectory
input_data
├── reads
| ├── sample1_F.fq
| ├── sample1_R.fq
| ├── sample2_F.fq
| └── sample2_R.fq
├── ChoCallate_output
| ├── consensus.bcf
| ├── pipeline_report.html
| ├── timeline_report.html
| └── trace.txt
├── samples.tsv
├── config.yaml
├── include.bed
├── exclude.bed
├── genome_assembly.fna
└── genome_assembly.fna.mmi