Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/bmascat/pharmacovigilance-literature-mining

Co-occurrence analysis in pubmed and faers of two lists of terms.
https://github.com/bmascat/pharmacovigilance-literature-mining

adverse-drug-reaction drugs faers matplotlib-pyplot pandas pubmed python streamlit

Last synced: 2 months ago
JSON representation

Co-occurrence analysis in pubmed and faers of two lists of terms.

Awesome Lists containing this project

README

        

[![DOI](https://zenodo.org/badge/760383775.svg)](https://zenodo.org/doi/10.5281/zenodo.10863934)

# PubMed Co-occurrence and FAERS Analysis

This application performs a co-occurrence analysis on PubMed of two lists of terms. The use case of the application would be diseases (list 1) and drugs (list 2). The app also extracts the adverse effects from the list of drugs and allows an optional third list to filter out the adverse effects of interest.

## Features

- **Co-occurrence Analysis**: The application uses PubMed data to perform a co-occurrence analysis of disease and drug terms.

![Co-occurrence Analysis](figures/pubmed_tipotumor_farmaco.png)

- **Adverse Effects Extraction**: In addition to the co-occurrence analysis, the application extracts adverse effects from the provided list of drugs.

![Adverse Effects Extraction](figures/adverse-effects.png)

- **Adverse Effects Filtering**: An optional third list can be used to filter adverse effects of interest, enabling a more specific and personalized analysis.

![Adverse Effects Filtering](figures/adverse-effects-filtering.png)

## Usage

1. **Data Loading**: Load the CSV files containing the lists of diseases and drugs. You can also load an additional file for the list of adverse effects, if necessary.

2. **Analysis**: Once the files are loaded, click on the "Analyze" button to start the analysis. The application will process the data and display the results of co-occurrence and adverse effects.

3. **Results Visualization**: The analysis results will be presented in the form of charts and tables, making them easy to understand and analyze.

4. **Data Download**: You can download the analysis results for further analysis or reference.

## Running Locally

To run the application locally, follow these steps:

1. Create a directory named `.streamlit` in the root directory of the project.
2. Create a file named `secrets.toml` inside the `.streamlit` directory.
3. Add your FAERS API key to the `secrets.toml` file with the following format:
```toml
FAERS_API_KEY = "your_api_key_here"
```
You can obtain your FAERS API key here.

For more information on how secrets work in Streamlit, visit this link.

## Built With

- Python
- Streamlit framework

## Contribution

If you find any bugs, have ideas for new features or improvements, or simply want to contribute in any way to the development of this application, feel free to open an issue or send a pull request on GitHub!

## License

This project is licensed under the [AGPLv3 License](LICENSE).

## Citation
If you use this repository in your work, please cite it as follows:

```
Bea-Mascato, B. (2024). BreisOne/literature-mining: Literature-mining app v1.0.0 (v1.0.0). Zenodo. https://doi.org/10.5281/zenodo.10863935
```