Key points:
- Bento v16 may now use 2 data directories for better resource usage in production.
- The environment variable
BENTOV2_ROOT_DATA_DIR
was replaced with:BENTO_FAST_DATA_DIR
for SSD mountsBENTO_SLOW_DATA_DIR
for HDD mounts
- By default,
Drop-Box
andDRS
are now configured to useBENTO_SLOW_DATA_DIR
as their data directory. All other services useBENTO_FAST_DATA_DIR
. - If needed, the default service specific volume directories defined in bento.env can be overriden in your
local.env
.
- The environment variable
- The WES schema has been updated, so the run database must be cleared.
- The reference service has been updated, so an SQL migration must be run.
- The reference service now supports GFF3 (gene feature annotation) files, and the private portal has moved to using this service to provide gene information for searching and track visualization. All annotations required should be ingested/attached to the reference genome.
- Docker requirements for deployment have changed.
- Docker >= 24.0.4
- Docker Compose >= 2.20.0 (plugin)
- Update the versions on the host machine accordingly
./bentoctl.bash shell reference-db
PGPASSWORD="${POSTGRES_PASSWORD}"
psql --user "${POSTGRES_USER}" reference
Then, begin a transaction:
BEGIN TRANSACTION;
Then, paste the contents of migrate_v0_2.sql from the reference service repository into the SQL command line.
Next, commit the results of the transaction:
COMMIT;
Finally, exit the shell (via successive ^D
).
./bentoctl.bash stop
Before updating, perform the following steps:
- Shut down Bento with
./bentoctl.bash stop
- In
local.env
, replaceBENTOV2_ROOT_DATA_DIR
withBENTO_FAST_DATA_DIR
andBENTO_SLOW_DATA_DIR
To minimize side effects in local environments, we recommend that you use the same directory as before for both new variables.
# local.env
# Old
BENTOV2_ROOT_DATA_DIR=some_dir
# Recommended new variables
BENTO_FAST_DATA_DIR=some_dir
BENTO_SLOW_DATA_DIR=some_dir
IMPORTANT: If you decide to split the data in distinct directories, make sure to migrate the data accordingly.
./bentoctl.bash pull
./bentoctl.bash init-dirs # new volume directory for DRS and Reference temporary files
This is only needed if the data was split into distinct directories in part 1. All service data should be copied into
the corresponding locations as specified in etc/bento.env
.
./bentoctl.bash start
Use the ingestion workflows now provided by the reference service to either ingest a reference genome FASTA with a corresponding GFF3 file, or ingest a GFF3 file to attach to an existing reference genome.
Do this if the instance was previously using the Gohan gene catalog.