Skip to content

Commit 16fae1c

Browse files
authored
Merge pull request #1844 from ComparativeGenomicsToolkit/docker-fixes
prep release 3.1.0
2 parents 124e0a8 + a5c4ae6 commit 16fae1c

5 files changed

Lines changed: 29 additions & 10 deletions

File tree

BIN-INSTALL.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,17 @@ pre-compile binary, static linked distribution.
66
## Extracting
77
If you have not already extract the distribution and cd into the cactus directory:
88
```
9-
tar -xzf cactus-bin-v3.0.1.tar.gz
10-
cd cactus-bin-v3.0.1
9+
tar -xzf cactus-bin-v3.1.0.tar.gz
10+
cd cactus-bin-v3.1.0
1111
```
1212

1313
## Setup
1414

1515
To build a python virtualenv and activate, do the following steps. This requires Python version >= 3.9 (so Ubuntu 18.04 users should use `-p python3.9` below):
1616
```
17-
virtualenv -p python3 venv-cactus-v3.0.1
18-
printf "export PATH=$(pwd)/bin:\$PATH\nexport PYTHONPATH=$(pwd)/lib:\$PYTHONPATH\nexport LD_LIBRARY_PATH=$(pwd)/lib:\$LD_LIBRARY_PATH\n" >> venv-cactus-v3.0.1/bin/activate
19-
source venv-cactus-v3.0.1/bin/activate
17+
virtualenv -p python3 venv-cactus-v3.1.0
18+
printf "export PATH=$(pwd)/bin:\$PATH\nexport PYTHONPATH=$(pwd)/lib:\$PYTHONPATH\nexport LD_LIBRARY_PATH=$(pwd)/lib:\$LD_LIBRARY_PATH\n" >> venv-cactus-v3.1.0/bin/activate
19+
source venv-cactus-v3.1.0/bin/activate
2020
python3 -m pip install -U setuptools pip wheel
2121
python3 -m pip install -U .
2222
python3 -m pip install -U -r ./toil-requirement.txt

ReleaseNotes.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,22 @@
1+
# Release 3.1.0 2025-11-27
2+
3+
This release contains several changes to address sensitivity problems with Progressive Cactus.
4+
5+
- Fix bug where `docker run --user $(id -u):$(id -g)` did not work with the cactus release docker images
6+
- `cactus-update-prepare` regressions fixed (thanks @gwct)
7+
- Update `vcfwave` to bring in important patch that fixes a genotype-dropping issue
8+
- Update to vg 1.70.0. Note that `giraffe` indexes from this vg won't be compatible with older versions
9+
- Use reference paths to guide snarl-tree construction (this could lead to better VCFs in very complex graphs)
10+
- Don't bother writing VCF variants with `AC=0`, which can arise in some weird cases.
11+
- Add `--lrGiraffe` option to produce long-read giraffe indexes
12+
- Use `jemalloc`, which significantly improves performance when `--consCores` is anything higher than about 20
13+
- Use nested parallelism in BAR stage (together with jemalloc, I've been getting more than a 2X speedup in `cactus_consolidated`)
14+
- Add `--maskMode` option that can toggle between `RED` and `FasTAN` for masking in the preprocessor.
15+
- Update to the latest versions of `KegAlign` and `FastGA`
16+
- More aggressive `lastz` default parameters. Also reduce branch length thresholds at which more sensitive parameters kick in.
17+
- Option to re-mask fully-masked contigs with the preprocessor (`--remask`)
18+
-
19+
120
# Release 3.0.1 2025-10-15
221

322
This release patches some bugs in new functionality

doc/progressive.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -289,12 +289,12 @@ The Cactus Docker image contains everything you need to run Cactus (python envir
289289

290290
```
291291
wget -q https://raw.githubusercontent.com/ComparativeGenomicsToolkit/cactus/master/examples/evolverMammals.txt -O evolverMammals.txt
292-
docker run --user $(id -u):$(id -g) -v $(pwd):/data --rm -it quay.io/comparative-genomics-toolkit/cactus:v3.0.1 cactus /data/jobStore /data/evolverMammals.txt /data/evolverMammals.hal
292+
docker run --user $(id -u):$(id -g) -v $(pwd):/data --rm -it quay.io/comparative-genomics-toolkit/cactus:v3.1.0 cactus /data/jobStore /data/evolverMammals.txt /data/evolverMammals.hal
293293
```
294294

295295
Or you can proceed interactively by running
296296
```
297-
docker run -v $(pwd):/data --rm -it quay.io/comparative-genomics-toolkit/cactus:v3.0.1 bash
297+
docker run -v $(pwd):/data --rm -it quay.io/comparative-genomics-toolkit/cactus:v3.1.0 bash
298298
cactus /data/jobStore /data/evolverMammals.txt /data/evolverMammals.hal
299299
300300
```
@@ -511,7 +511,7 @@ cp <CACTUS-INSTALLATION-DIR>/src/cactus_progressive_config.xml ./config.xml
511511
If you are running cactus directly from `docker run`, then do (making sure to use the same docker image that you will use to run cactus):
512512

513513
```
514-
docker run --user $(id -u):$(id -g) -v $(pwd):/data --rm -it quay.io/comparative-genomics-toolkit/cactus:v3.0.1 cp /home/cactus/cactus_env/lib/python3.10/site-packages/cactus/cactus_progressive_config.xml /data/config.xml
514+
docker run --user $(id -u):$(id -g) -v $(pwd):/data --rm -it quay.io/comparative-genomics-toolkit/cactus:v3.1.0 cp /home/cactus/cactus_env/lib/python3.10/site-packages/cactus/cactus_progressive_config.xml /data/config.xml
515515
```
516516

517517
You can then edit `config.xml` and use it to override cactus's defaults by adding `--configFile config.xml` to any cactus command. If you are using `docker run -v $(pwd):/data` then you would add `--configFile /data/config.xml` to your command instead.

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
setup(
1818
name = "Cactus",
19-
version = "3.0.1",
19+
version = "3.1.0",
2020
author = "Benedict Paten",
2121
package_dir = {'': 'src'},
2222
packages = find_packages(where='src'),

src/cactus/shared/common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ def getDockerTag(gpu=False):
320320
return "latest"
321321
else:
322322
# must be manually kept current with each release
323-
return 'v3.0.1' + ('-gpu' if gpu else '')
323+
return 'v3.1.0' + ('-gpu' if gpu else '')
324324

325325
def getDockerImage(gpu=False):
326326
"""Get fully specified Docker image name."""

0 commit comments

Comments
 (0)