Science Score: 67.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
✓DOI references
Found 5 DOI reference(s) in README -
✓Academic publication links
Links to: zenodo.org -
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (17.5%) to scientific vocabulary
Repository
Codecheck
Basic Info
- Host: GitHub
- Owner: delapazruiz
- License: mit
- Language: NetLogo
- Default Branch: main
- Size: 217 KB
Statistics
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 2
Metadata Files
README.md
Reproducible results. Wastewater-based epidemiology framework:
Collaborative modeling for sustainable disease surveillance
Journal article: https://doi.org/10.1016/j.scitotenv.2025.178889
Néstor DelaPaz-Ruíz, Ellen-Wien Augustijn, Mahdi Farnaghi, Shaheen A. Abdulkareem, Raul Zurita-Milla. September, 2024
Affiliation: Department of Geo-Information Process (GIP), Faculty of Geo-Information Science and Earth Observation (ITC), University of Twente, Drienerlolaan 5, 7522 NB Enschede, The Netherlands
About
This repository provides access to the materials (code-data), software-environments (NetLogo, Rstudio, Docker containers), and the steps for reproducing the results from the publication: Wastewater-based epidemiology framework: Collaborative modeling for sustainable disease surveillance.
The information below guides you to execute two NetLogo simulations. The main outputs are the figures representing the results of the mentioned publication.
Getting Started
Pre-requirements
Used computational environment:
```
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 11 x64 (build 22631)
Processor: Intel(R) Core(TM) i7-10750H CPU @ 2.60GHz 2.59 GHz
Logical processors: 12
Installed RAM 32.0 GB (31.6 GB usable)
System type 64-bit operating system, x64-based processor
R version 4.3.1 (2023-06-16 ucrt) RStudio 2023.12.1
NetLogo 6.3 ```
You will need the following:
- Data:
- Download or copy this repository to a local folder .
- Open-source software:
Quick reproducibility (requires NetLogo/Rstudio experience):
- Install and run Git Bash. See: https://gitforwindows.org/
- Install and run NetLogo. See: https://ccl.northwestern.edu/netlogo/6.3
- Install Rstudio. See: https://dailies.rstudio.com/version/2023.12.1+402/
- NetLogo configuration: Copy the provided
NetLogo.cfgfile and replace it at the folder:C:\Program Files\NetLogo 6.3.0\app. In this way, you are free to use several processors. Please, refer to the following link: FAQ: How big can my model be? How many turtles, patches, procedures, buttons, and so on can my model contain?. After the NetLogo installation, make sure to execute the. ./code/newfiles.txtin Git Bash.
- Libraries and extensions:
- NetLogo: The first time running the Netlogo file, you will get a windows to install the time extension. Follow the instructions to install it.
- Rstudio: The first time that you open the R project execute the
renv::restore()in the R console to load the required libraries. You can explore the library requirements in therenv.lockfile.
Quick reproducibility
This section is for Windows users familiar with NetLogo, Rstudio, and Git bash. Mac or Linux users should not try to reproduce results. Jump to the long-term reproducibility section, which uses Docker to reproduce results as the alternative for non-experienced users.
Steps for a quick reproduction:
- In a new folder, execute the following commands in git bash:
bash
git clone https://github.com/delapazruiz/ddw.framework.git
bash
cd ddw.framework/
bash
. ./code/newfiles.txt
- Open the NetLogo (v. 6.3) file and run the experiment. In Tools/BehaviorSpace, select number of processors to run the experiment. (time: around 30 min)
First simulation (around 30 min):
bash
s4.framework.wastewater.surveillance.nlogo
Second simulation (around 30 min):
bash
s5.framework.wastewater.tss.loads.nlogo
- Open the Rstudio project file and verify the library requirements (between 15-30 min).
R Project file:
bash
ddw.framework.Rproj
Make sure that ‘renv’ is installed and loaded.
bash
install.packages("renv")
Load the ‘renv’ library.
bash
library(renv)
Run the following in the R console to install the required libraries.
bash
renv::restore()
- Open the Quarto file (.qmd) and render it to generate the report: (time: around 10 min)
bash
Framework.wastewater.surveillance.qmd
Long-term reproducibility (Docker-Rstudio)
Pre-requirements
Used computational environment:
```
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 11 x64 (build 22631)
Processor: Intel(R) Core(TM) i7-10750H CPU @ 2.60GHz 2.59 GHz
Logical processors: 12
Installed RAM 32.0 GB (31.6 GB usable)
System type 64-bit operating system, x64-based processor
NetLogo 6.3
Docker Desktop v.4.16.3 ```
Data:
```
You are expected to download this repo and run the NetLogo simulations:
s4.framework.wastewater.surveillance.nlogo (around 30 min) s5.framework.wastewater.tss.loads.nlogo (around 30 min) ```
Steps: Docker-Rstudio
Follow the next steps after you get the NetLogo .csv output files. Experience with docker is expected.
- Verify that you are in the folder 'ddw.framework'. In git bash, execute:
bash
docker run -p 8787:8787 -e ROOT=TRUE -e PASSWORD=123 rocker/geospatial:4.3.1
- Open a web browser using the link below and sign in with the defined password:
bash
http://localhost:8787/
- Create a zip file of the folder:
bash
ddw.framework
- In Rstudio, upload the following file (look for the yellow-up-arrow icon in the panel to navigate through files):
bash
ddw.framework.zip
- In Rstudio, from the 'ddw.framework' folder, open the R project.
bash
ddw.framework.Rproj
- In the R console, execute:
bash
renv::status()
- Install the 'yaml' package if you get a warning message for its installation:
bash
install.packages("yaml")
- Execute and type "y"" when required to download and install the required packages (10-15 min):
bash
renv::restore()
- Execute the following function to verify that you get 'No issues found'.
bash
renv::status()
- Open the following quarto notebook file and press the "Render" icon (if required, accept the installation of packages):
bash
Framework.wastewater.surveillance.qmd
- A new browser should open, or in the files directory, look for the following html:
bash
Framework.wastewater.surveillance.html
Support
This repository is expected to be in continuous improvement. For major changes, please open an issue first to discuss what you would like to improve.
License
This project is licensed under the MIT license. Feel free to edit and distribute this template as you like. See LICENSE for more information.
Acknowledgements
The authors wish to express their gratitude for the valuable support in the local implementation of this study, without which this research cannot be consolidated: Carlos Pailles, Ana Velasco, Lucía Guardamino, Rodrigo Tapia-McClung, Araceli Chávez, Diana Ramos, Daniela Goméz, José Luis Pérez, Natalia Volkow, and the anonymous facilitators from Mexico City, citizens of Tepeji del Río, and the INEGI department of microdata. Scholarship funder: CONACYT-Alianza FiiDEM.
Owner
- Name: Nes
- Login: delapazruiz
- Kind: user
- Repositories: 2
- Profile: https://github.com/delapazruiz
Citation (CITATION.cff)
# This CITATION.cff file was generated with cffinit.
# Visit https://bit.ly/cffinit to generate yours today!
cff-version: 1.2.0
title: >-
Software. Reproducible results. Wastewater-based epidemiology
framework: Collaborative modeling for sustainable disease surveillance
message: >-
If you use this software, please cite it using the
metadata from this file.
type: software
authors:
- given-names: Néstor
family-names: DelaPaz-Ruíz
email: n.delapazruiz@utwente.nl
affiliation: 'ITC, University of Twente, Enschede, NL'
orcid: 'https://orcid.org/0000-0002-8941-4677'
- given-names: Ellen-Wien
family-names: Augustijn
affiliation: 'ITC, University of Twente, Enschede, NL'
orcid: 'https://orcid.org/0000-0002-3389-7585'
- orcid: 'https://orcid.org/0000-0002-3071-5563'
affiliation: 'ITC, University of Twente, Enschede, NL'
given-names: Mahdi
family-names: Farnaghi
- given-names: Shaheen A.
family-names: Abdulkareem
affiliation: 'University of Duhok, Kurdistan-region, IQ'
orcid: 'https://orcid.org/0000-0002-9837-0207'
- orcid: 'https://orcid.org/0000-0002-1769-6310'
affiliation: 'ITC, University of Twente, Enschede, NL'
given-names: Raul
family-names: Zurita-Milla
identifiers:
- type: doi
value: 10.5281/zenodo.13734543
description: Software repository in Zenodo
repository-code: >-
https://github.com/delapazruiz/ddw.framework
abstract: >-
This repository provides access to the materials
(code-data), software-environments (NetLogo, Rstudio,
Docker containers), and the steps for reproducing the
results from the publication: Wastewater-based epidemiology
framework: Integrating modeling for disease surveillance
keywords:
- R
- NetLogo
- ABM
- Wastewater
- Epidemiology
license: CC-BY-4.0
GitHub Events
Total
- Push event: 4
Last Year
- Push event: 4