You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you have not already extract the distribution and cd into the cactus directory:
8
8
```
9
-
tar -xzf cactus-bin-v2.9.9.tar.gz
10
-
cd cactus-bin-v2.9.9
9
+
tar -xzf cactus-bin-v3.0.0.tar.gz
10
+
cd cactus-bin-v3.0.0
11
11
```
12
12
13
-
## GPU Patch:
14
-
15
-
When using GPU support since v2.9.4, please make sure to pass in the patched config file with `--configFile` (download the patch from the [releases](https://github.com/ComparativeGenomicsToolkit/cactus/releases) page).
16
-
17
13
## Setup
18
14
19
15
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):
@@ -461,8 +461,6 @@ Cactus supports incrementally updating existing alignments to add, remove, or up
461
461
462
462
## GPU Acceleration
463
463
464
-
**Important** Since [v2.9.4](https://github.com/ComparativeGenomicsToolkit/cactus/releases/tag/v2.9.4), you must use a patched config file (via `--configFile config-v2.9.9-keg-patch.xml`) to prevent cactus for constructing ancestors with contigs that are too big for KegAlign to read. This file must be passed into all `cactus` and/or `cactus-align` commands. This is a temporary work-around and should be fixed properly in a release in the near future (download the patch from the [releases](https://github.com/ComparativeGenomicsToolkit/cactus/releases) page).
465
-
466
464
[KegAlign](https://github.com/galaxyproject/KegAlign), a GPU-accelerated version of lastz, can be used in the "blast" phase to speed up the runtime considerably, provided the right hardware is available. Unlike lastz, the input sequences do not need to be chunked before running KegAlign, so it also reduces the number of Toil jobs substantially. The [GPU-enabled Docker releases](https://github.com/ComparativeGenomicsToolkit/cactus/releases) have KegAlign turned on by default and require no extra options from the user. Otherwise, it is possible to [manually install it](https://github.com/galaxyproject/KegAlign#-installation) and then enable it in `cactus` using the `--gpu` command line option. One effective way of ensuring that only GPU-enabled parts of the workflow are run on GPU nodes is on Terra with `cactus-prepare --gpu --wdl` (see above example).
467
465
468
466
By default `--gpu` will give all available GPUs to each KegAlign job. This can be tuned by passing in a numeric value, ex `--gpu 8` to assign 8 GPUs to each KegAlign job. In non-single-machine batch systems, it is mandatory to set an exact value with `--gpu`.
**WARNING This is a new, experimental and not well tested feature. Try it out if you are interested in benchmarking FastGA, but some further study is required before it should be considered as a replacement for the lastz or gpu modes.**
482
-
483
479
[FastGA](https://github.com/thegenemyers/FASTGA) is a new, extremely fast whole genome pairwise aligner. You can use it instead of `lastz` in cactus via the (very experimental) `--fastga` option. `FastGA` only aligns up to about 20% divergence, so any gaps in the `FastGA` will be re-aligned with `lastz`. You can disable the `lastz` fallback by setting `<blast fastga_fill="0">` in the config XML.
484
480
485
481
FastGA was designed for use with up to 8 cores. If you use more, there probably won't be much speedup (it's fast enough with 8). If you use many more, then it will probably crash. In cactus versions up to and including v2.9.9, it will default to using all the cores on your system, so it's crucial to specify `--lastzCores 8` alongside `--fastga`. In later releases, it defaults to 8 cores so it is not necessary to specifiy `--lastzCores`.
0 commit comments