Install from GitHub releases or from PyPI using
pip install --user divvy: install into user space.
pip install --user --upgrade divvy: update in user space.
pip install divvy: install into an active virtual environment.
pip install --upgrade divvy: update in virtual environment.
See if your install worked by calling
divvy -h on the command line. If the
divvy executable in not in your
$PATH, append this to your
.bash_profile on macOS):
On a fresh install,
divvy comes pre-loaded with some built-in compute packages, which you can explore by typing
divvy list. If you need to tweak these or create your own packages, you will need to configure divvy manually. Start by initializing an empty
divvy config file:
export DIVCFG="divvy_config.yaml" divvy init -c $DIVCFG
init command will create a default config file, along with a folder of templates.
divvy write and
list commands require knowing where this genome config file is. You can pass it on the command line all the time (using the -c parameter), but this gets old. An alternative is to set up the $DIVCFG environment variable. Divvy will automatically use the config file in this environmental variable if it exists. Add this line to your
.profile if you want it to persist for future command-line sessions. You can always specify -c if you want to override the value in the $DIVCFG variable on an ad-hoc basis:
More details can be found in the configuring divvy how-to guide.