Container info#
The devcontainer used in this project is based on the one used for nf-core training on
nextflow, which you can find in the
Nextflow training
.devcontainer directory. Their latest version can be different from the currently used
one in this project, so if things break, have a look there.
The devcontainer uses the
nextflow-io/training container
from GitHub Container Registry, as provided by the nextflow team. I copied the
Dockerfile
which was used to build the container image 2.1.7 for reference of what the container contains.
The Dockerimage is published based on a devcontainer configuration file in the nextflow training repo,
.devcontainer/codespaces-dev/devcontainer.json
and then published to the GitHub Container Registry using an action.
Additional software#
Using an
setup.sh script
which is linked to the .devcontainer.json file,
additional software is installed in the container. This includes:
gdownfor downloading on devcontainer startup the relevantmzMLfiles from a private Google Drive folder (:warning: to be changed!)acoreandvuecoreto run the analysis notebook for the downstream data analysisset’s up conda so the notebook kernel is recognized by VSCode
Regular checks#
Once a month I check that the website builds, including execution of the downstream analysis notebook 2_data_analysis.ipynb.
That the devcontainer is working is not yet automatically checked, but means manually running one.
How to update#
check for changes in
nextflow-io/trainingrepo and then set a new image tag in.devcontainer.jsonfileupdate the
setup.shscript script if needed, e.g. to install new software or new data sources