Skip to content
/ hibc Public

Shiny application to display data and metadata for The Human Intestinal Bacterial Collection (HiBC)

Notifications You must be signed in to change notification settings

ClavelLab/hibc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hibc

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.

Development

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.

Create the R project via Rstudio

  1. Clone the repository using git clone https://git.rwth-aachen.de/clavellab/hibc
  2. Open the Rstudio project in hibc/app/app.Rproj to create the app project
  3. 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.
    1. Install the dependencies by typing renv::restore() in the Console and agree to the installation of the packages.
    2. Check that all dependencies are set by typing renv::status() in the Console where you should have No issues found
  4. Preview the Shiny app via the "Run app" button or by typing shiny::runApp() in the R console.

Build the docker container locally

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

Create a release to trigger the deployment

Once the edits and tests are satisfying, the deployment of the website is triggered by the creation of a tagged release.

  1. Tag the git commit using git tag -a vX.Y.Z where X, Y and Z follows the https://semver.org
  2. Push the tag to the remote with git push --tags
  3. Create a Gitlab release using the Releases section or https://git.rwth-aachen.de/clavellab/hibc/-/releases/new

Citation

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

Acknowledgements

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.

About

Shiny application to display data and metadata for The Human Intestinal Bacterial Collection (HiBC)

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 6