hibc
is the code repository for the website of "Human Intestinal Bacteria Collection".
It contains the R code to generate the website in the form of a Shiny interactive application. The application is then build as a Docker container and served online to the public at https://hibc.rwth-aachen.de.
Whilst all the code is accessible and pull-requests are welcome, some of the features for the deployment of the shiny application are restricted to RWTH personnel.
- Clone the repository using
git clone https://git.rwth-aachen.de/clavellab/hibc
- Open the Rstudio project in
hibc/app/app.Rproj
to create theapp
project - Rstudio warns you that
One or more packages recorded in the lockfile are not installed
because a couple of R packages and dependencies are needed.- Install the dependencies by typing
renv::restore()
in the Console and agree to the installation of the packages. - Check that all dependencies are set by typing
renv::status()
in the Console where you should haveNo issues found
- Install the dependencies by typing
- Preview the Shiny app via the "Run app" button or by typing
shiny::runApp()
in the R console.
You can test if the Shiny application is ready for deployment by building the docker container locally.
# build the Dockerfile
docker build -t hibc-shiny .
# run the shiny app
docker run -it -d -p 3838:3838 hibc-shiny
# access locally on your browser with
firefox http://localhost:3838
Once the edits and tests are satisfying, the deployment of the website is triggered by the creation of a tagged release.
- Tag the git commit using
git tag -a vX.Y.Z
where X, Y and Z follows the https://semver.org - Push the tag to the remote with
git push --tags
- Create a Gitlab release using the Releases section or https://git.rwth-aachen.de/clavellab/hibc/-/releases/new
Hitch, T.C.A., Masson, J.M., Pauvert, C., Bosch, J., Nüchtern, S., Treichel, N.S., Baloh, M., Razavi, S., Afrizal, A., Kousetzi, N., Aguirre, A.M., Wylensek, D., Coates, A.C., Jennings, S.A.V., Panyot, A., Viehof, A., Schmitz, M.A., Stuhrmann, M., Deis, E.C., Bisdorf, K., Chiotelli, M.D., Lissin, A., Schober, I., Witte, J., Cramer, T., Riedel, T., Wende, M., Winter, K.A., Amend, L., Riva, A., Trinh, S., Mitchell, L., Hartman, J., Berry, D., Seitz, J., Bossert, L.C., Grognot, M., Allers, T., Strowig, T., Pester, M., Abt, B., Reimer, L.C., Overmann, J., Clavel, T., 2025. HiBC: a publicly available collection of bacterial strains isolated from the human gut. Nat Commun 16, 4203. https://doi.org/10.1038/s41467-025-59229-9
This work is supported by the NFDI4Microbiota (https://nfdi4microbiota.de), a German consortium of the National Research Data Infrastructure that supports and train the microbiology community for better research data production and management.