Usage
Type "juicer.sh -h" to see options and help menu.
The juicer.sh script acts as a workflow orchestrator rather than a single monolithic script, automatically submitting a chain of dependent jobs to the Slurm scheduler using primary group resources. We have re-configured the original juicer.sh script to work with HiPerGator, and provide variant scripts that facilitate selection of a preferred account/qos:
- juicer.sh -- submit all jobs to investment qos of user's default (primary) account.
- juicer-b.sh -- same as juicer.sh; additionally submit alignment jobs to the burst qos of user's primary account.
- juicer_2ndgrp.sh -- submit all jobs to an account specified with the -A option. Facilitates use of secondary account resources.
- juicer_2ndgrp-b.sh -- same as juicer_2ndgrp.sh; additionally submit alignment jobs to the burst qos of specified account.
Example bash script¶
ml juicer/2.0
juicer_2ndgrp-b.sh \
-d /path/to/working/dir \
-A "group" \
-C 40000000 \
-z $HPC_JUICER_REFS/hg38.fa \
-y $HPC_JUICER_SITES/hg38_Arima.txt \
-p $HPC_JUICER_SITES/hg38.chrom.sizes \
Practical Tips¶
- Run directly on a login node or in screen/tmux. Because juicer.sh only submits jobs and exits quickly, it uses minimal CPU on the login node—though running it inside tmux or screen ensures the submission loop isn't interrupted if your SSH connection drops while splitting large files.
- Restart from a specific stage with -S. If a job fails midway (e.g., due to memory limits during .hic creation), you can relaunch from that step using -S (chimeric, merge, dedup, final, postproc, or early).
- Use -e for genome assembly. If you are running Juicer upstream of 3D-DNA, pass the -e (early exit) flag to stop right after merged_nodups.txt is created and skip .hic generation.
Reference Genomes¶
See $HPC_JUICER_DIR/references and $HPC_JUICER_DIR/restriction_sites for available reference data. Users can open a support ticket to request additional references.