Data and statistical models for biomarker shedding.
Project description
Shedding Hub

The Shedding Hub collates data and statistical models for biomarker shedding (such as viral RNA or drug metabolites) in different human specimen (such as stool or sputum samples). Developing wastewater-based epidemiology into a quantitative, reliable epidemiological monitoring tool motivates the project.
Datasets are extracted from appendices, figures, and supplementary materials of peer-reviewed studies. Each dataset is stored as a .yaml file and validated against our data schema to verify its integrity.
📊 Getting the Data
You can obtain the data by downloading it from GitHub. We also provide a convenient Python package so you can download the most recent data directly in your code or obtain a specific version of the data for reproducible analysis. Install the package by running pip install shedding-hub from the command line. The example below downloads the data from Wölfel et al. (2020) as of the commit 259ca0d.
>>> import shedding_hub as sh
>>> sh.load_dataset('woelfel2020virological', ref='259ca0d')
{'title': 'Virological assessment of hospitalized patients with COVID-2019',
'doi': '10.1038/s41586-020-2196-x',
...}
🤝 Contributing
Thank you for contributing your data to the Shedding Hub and supporting wastewater-based epidemiology! If you hit a bump along the road, create a new issue and we'll sort it out together.
We use pull requests to add and update data, allowing for review and quality assurance. Learn more about the general workflow here. To contribute your data, follow these easy steps (if you're already familiar with pull requests, steps 2 and 3 are for you):
- Create a fork of the Shedding Hub repository by clicking here and clone the fork to your computer. You only have to do this once.
- Create a new
my_cool_study/my_cool_study.yamlfile in thedatadirectory and populate it with your data. See here for a comprehensive example from Wölfel et al. (2020). A minimal example for studies with a single analyte (e.g., SARS-CoV-2 RNA concentration in stool samples) is available here, and a minimal example for studies with multiple analytes (e.g., crAssphage RNA concentration in stool samples and caffeine metabolites in urine) is available here. - Optionally, if you have a recent version of Python installed, you can validate your data to ensure it has the right structure before contributing it to the Shedding Hub.
- Run
pip install -r requirements.txtfrom the command line to install all the Python packages you need. - Run
pytestfrom the command line to validate all datasets, including the one you just created.
- Run
- Create a new branch by running
git checkout -b my_cool_study. Branches let you isolate changes you are making to the data, e.g., if you're simultaneously working on adding multiple studies–much appreciated! You should create a new branch from themainbranch for each dataset you contribute; see here for more information. - Add your changes by running
git add data/my_cool_study/my_cool_study.yamland commit them by runninggit commit -m "Add data from Someone et al. (20xx).". Feel free to pick another commit message if you prefer. - Push the dataset to your fork by running
git push origin my_cool_study. This will send the data to GitHub, and the output of the command will include a lineCreate a pull reuqest for 'my_cool_study' on GitHub by visiting: https://github.com/[your-username]/shedding-hub/pull/new/my_cool_study. Click on the link and follow the next steps to create a new pull request.
Congratulations, you've just created your first pull request to contribute a new dataset! We'll now review the changes you've made to make sure everything looks good. Once any questions have been resolved, we'll merge your changes into the repository. You've just contributed your first dataset to help make wastewater-based epidemiology a more quantitative public health monitoring tool–thank you!
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file shedding_hub-0.1.1.tar.gz.
File metadata
- Download URL: shedding_hub-0.1.1.tar.gz
- Upload date:
- Size: 14.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6c2f7f269e8c95b266ab1eccfa70b3a0599e4097dc0a5c332dafa63094459726
|
|
| MD5 |
7ef56a450e950a875b99a18d45100447
|
|
| BLAKE2b-256 |
26b843e67cc446263e09ca6b6e84b30c5f25efc88abda00d19ffa99c03491110
|
Provenance
The following attestation bundles were made for shedding_hub-0.1.1.tar.gz:
Publisher:
publish.yaml on shedding-hub/shedding-hub
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
shedding_hub-0.1.1.tar.gz -
Subject digest:
6c2f7f269e8c95b266ab1eccfa70b3a0599e4097dc0a5c332dafa63094459726 - Sigstore transparency entry: 461181673
- Sigstore integration time:
-
Permalink:
shedding-hub/shedding-hub@cfa9e9b437fe8cc66be409d764aa78af8a13a782 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/shedding-hub
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yaml@cfa9e9b437fe8cc66be409d764aa78af8a13a782 -
Trigger Event:
push
-
Statement type:
File details
Details for the file shedding_hub-0.1.1-py3-none-any.whl.
File metadata
- Download URL: shedding_hub-0.1.1-py3-none-any.whl
- Upload date:
- Size: 13.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
812c3bb1721b6519c1bd8f7850be53b716308d50465e7023f78e9404c27982f4
|
|
| MD5 |
2d0738cfd037b45cace735cfe4c2cda6
|
|
| BLAKE2b-256 |
c97f75f02da3c03602d6f4b2ad5f27bc38ce44f7e9dee8051355c789bd32e9c7
|
Provenance
The following attestation bundles were made for shedding_hub-0.1.1-py3-none-any.whl:
Publisher:
publish.yaml on shedding-hub/shedding-hub
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
shedding_hub-0.1.1-py3-none-any.whl -
Subject digest:
812c3bb1721b6519c1bd8f7850be53b716308d50465e7023f78e9404c27982f4 - Sigstore transparency entry: 461181693
- Sigstore integration time:
-
Permalink:
shedding-hub/shedding-hub@cfa9e9b437fe8cc66be409d764aa78af8a13a782 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/shedding-hub
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yaml@cfa9e9b437fe8cc66be409d764aa78af8a13a782 -
Trigger Event:
push
-
Statement type: