Biomarker-Based Analysis of Pain in Patients with Tick-Borne Infections before and after Antibiotic Treatment
This study investigates the correlation between pain and biomarkers in tick-borne infection (TBI) patients from an Irish hospital. We found that age and gender do not influence pain ratings at baseline (T0) or follow-up (T2), but pain ratings significantly decreased post-treatment. Notable changes in transferrin, transferrin saturation %, platelets, neutrophils, and CD4% were observed. Temporal analysis showed correlations between pain ratings and said biomarkers, but also suggested external influences on pain perception. However, biomarkers did not directly predict pain changes when accounting for overall trends, indicating that while certain biomarkers fluctuate with pain, they are unreliable indicators of pain levels or treatment efficacy in this context.
This repository contains the data and analysis code for the study "Biomarker-Based Analysis of Pain in Patients with Tick-Borne Infections before and after Antibiotic Treatment." The study investigates the relationship between pain and biomarkers in patients with tick-borne infections (TBIs) before and after antibiotic treatment.
- Introduction
- Data
- Folder Structure and Content
- Steps to Download and Reproduce
- Licenses
- Results
- Feedback
- References
- Cite Pain-Biomarker-TBI Repository
Tick-borne illnesses, especially those caused by Borrelia, are increasing globally, with late-stage symptoms often leading to Post-treatment Lyme disease syndrome (PTLDS) or Chronic Lyme Disease (CLD). This study explores the relationship between pain and biomarkers in TBI patients from an Irish hospital, assessing changes from baseline (T0) to follow-up (T2) post-antibiotic treatment.
The data folder contains a CSV file with the following columns:
- Number: Deidentified patient number
- Timepoint: Data at baseline before antibiotic treatment (T0) or follow-up after antibiotic treatment (T2)
- Age: Ranging between 17 and 81 years
- Gender: F for Female, M for Male
- Pain rating: Reported by patients through a questionnaire and ranges from 1 to 10
- CD3%: Reference range 61% to 84%
- CD3Total: Reference range 960 to 2600 cells/ul
- CD8%: Reference range 13% to 40%
- CD8-Suppr: CD8-suppressor reference range 270 to 930 cells/ul
- CD4%: Reference range 32% to 60%
- CD4-Helper: CD4+ Helper T cell count reference range 540 to 1600 cells/ul
- H/S-ratio: Helper/suppressor (H/S) ratio reference range 0.9 to 4.5
- HgB: Hemoglobin reference range 11.5 to 16.5 g/dL
- Platelets: Reference range 150 to 400 ×10^9/L
- Neutrophils: Reference range 2 to 8 ×10^9/L
- Lymphocytes: Reference range 1 to 4 ×10^9/L
- WCC: White cell count reference range 3.5 to 11 ×10^9 /L
- CRP: C-reactive protein reference range <7 mg/L
- Iron: Reference range 6 to 33 umol/L
- Transf: Transferrin reference range 1.88 to 3.02 g/dL
- %Trans sat: Transferrin saturation (%) reference range 19% to 55%
- data: Contains the dataset in CSV format.
- figures: Contains figures and visualizations used in the analysis.
- notebook: Contains Jupyter notebooks with the analysis code.
- venv: Contains the virtual environment setup.
- MIT license: The MIT license file.
- CC-BY-SA-4.0 license: The Creative Commons BY-SA 4.0 license file.
- requirements.txt: List of required Python packages.
- Download or Clone the Repository:
- Click on the green "<> Code" button at the top of the repository page.
- Choose either "Download ZIP" to download the repository as a ZIP file or copy its URL to clone it using Git:
- To clone the repository using Git, open your terminal or command prompt and run:
git clone https://github.com/yourusername/Pain-Biomarker-TBI.git
- Extract the ZIP File (if applicable):
- If you downloaded the repository as a ZIP file, extract it to a directory of your choice.
- Navigate to the Downloaded Folder:
- Open your terminal or command prompt and navigate to the extracted or cloned repository folder:
cd Pain-Biomarker-TBI
- Open your terminal or command prompt and navigate to the extracted or cloned repository folder:
- Activate the Virtual Environment:
- Activate the virtual environment included in the repository:
- On macOS and Linux, run:
source venv/bin/activate - On Windows, run:
venv\Scripts\activate
- On macOS and Linux, run:
- Activate the virtual environment included in the repository:
- Run Jupyter Notebook:
jupyter notebook - Open the Notebook File:
- In the Jupyter Notebook interface, navigate to the
notebookfolder and open the filePain-Biomarker-TBI.ipynb.
- In the Jupyter Notebook interface, navigate to the
- Execute the Code Cells:
- Run the code cells sequentially to reproduce the analysis and model.
- MIT License: See
MIT licensefile for details. - Creative Commons BY-SA 4.0 License: See
CC-BY-SA-4.0 licensefile for details.
The study found no significant influence of age or gender on pain ratings. Pain ratings significantly decreased from T0 to T2, indicating the effectiveness of antibiotic treatment. Significant changes were observed in transferrin, transferrin saturation (%), platelets, neutrophils, and CD4% between T0 and T2. While these biomarkers fluctuated with pain, they did not directly predict pain changes, suggesting the involvement of external influences and allostatic load in symptom variability among long-term TBI patients.
We welcome feedback and suggestions! Please open an issue on GitHub if you have any questions, suggestions, or issues with the repository.
- Garg, K.; Thoma, A.; Avramovic, G.; Gilbert, L.; Shawky, M.; Ray, M.R.; Lambert, J.S. Biomarker-Based Analysis of Pain in Patients with Tick-Borne Infections before and after Antibiotic Treatment. Antibiotics 2024, 13, 693. https://doi.org/10.3390/antibiotics13080693
- Xi, D.; Garg, K.; Lambert, J.S.; Rajput-Ray, M.; Madigan, A.; Avramovic, G.; Gilbert, L. Scrutinizing Clinical Biomarkers in a Large Cohort of Patients with Lyme Disease and Other Tick-Borne Infections. Microorganisms 2024, 12, 380. https://doi.org/10.3390/microorganisms12020380
- Xi, D.; Thoma, A.; Rajput-Ray, M.; Madigan, A.; Avramovic, G.; Garg, K.; Gilbert, L.; Lambert, J.S. A Longitudinal Study of a Large Clinical Cohort of Patients with Lyme Disease and Tick-Borne Co-Infections Treated with Combination Antibiotics. Microorganisms 2023, 11, 2152. https://doi.org/10.3390/microorganisms11092152
@misc{Pain-Biomarker-TBI,
author = {Kunal Garg, Abbie Thoma, Minha Rajput Ray, Gordana Avramovic, Leona Gilbert, John Shearer Lambert},
title = {Biomarker-Based Analysis of Pain in Patients with Tick-Borne Infections before and after Antibiotic Treatment},
year = {2024},
publisher = {GitHub},
journal = {GitHub repository},
howpublished = {\url{https://github.com/yourusername/Pain-Biomarker-TBI}},
}