This package is designed to facilitate the modeling of probabilistic, graphical, logical systems.
Project description
PYPGLM (Probabilistic Graphical Logical Models)
Description
PYPGLM package is designed to contexualize and model the DBN models corresponding to signaling and gene regulatory systems.
PYPGLM is the new version of the toolbox "FALCON", developed in Matlab in 2017 and described in De Landtsheer et al. in Bioinformatics: here is the link.
Python Support
Python >=3.12 is required.
Dependencies
- networkx
- numpy
- pandas
- emoji
- pytest
- pytest-cov
- openpyxl
- scipy
- matplotlib
- gaft
- seaborn
- joblib
- scikit-learn
Installation Instructions
You can install PYPGLM directly from PyPI using pip:
pip install PYPGLM
- You can also clone the repo to your local machine, set up a virtual environment, install the requirements from the 'requirements.txt' file. here is the link
Usage
To correctly model the network with its experimental data:
- The network topology file (.txt, .xls, .xlsx, .csv, and .sif) should contain the interactions of nodes within the investigated network, specifying their type and gate.
- Experimental data (xls, xlsx, csv) should consist of 3 tables representing the measured input and output node values and their corresponding errors listed in columns across all experimental conditions listed successively in rows. Regarding the file in .csv format, the 3 tables should be given as 3 individual files, while in the case of .xls(x) format, the 3 tables should be presented as 3 distinct sheets within the same corresponding file.
Examples demonstrating how to run the optimization and regularization are provided in 'Driver_PYPGLM_Optimization' and 'Driver_PYPGLM_Regularization' files, respectively." here is the link
Optimization
The optimization algorithms within PYPGLM are 'SLSQP', 'L-BFGS-B', and 'Trust-constr'.
Regularizations
The regularization algorithm within PYPGLM includes:
- L1: simple L1 norm on parameters. This induces a pruning of less important inhibitory edges, but has no effect on stimulatory edges
- L2: Induces a decrease of weights of unimportant inhibitory edges
- L1_groups: Induces an equalization of edge values between contexts when these are discrete (different cell lines)
Credit
Developers:
Salma Bayoumi, salma.ismail.hamed@gmail.com salma.bayoumi.001@student.uni.lu
Sebastien De Landtsheer, sebastien.delandtsheer@uni.lu seb@delandtsheer.com
Project details
Release history Release notifications | RSS feed
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 pypglm-0.99.11.tar.gz.
File metadata
- Download URL: pypglm-0.99.11.tar.gz
- Upload date:
- Size: 29.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
72aa6b7592e7535e9ba60376e1d29f4fd9eb9858c8ccdb1339975244b6d88d03
|
|
| MD5 |
171b6c94081a855271a711293969c7de
|
|
| BLAKE2b-256 |
9f1b935926af6a3c6de42d1cbd6fe723c42ee09329ba8149cbe1bcb9ec106caf
|
File details
Details for the file PYPGLM-0.99.11-py3-none-any.whl.
File metadata
- Download URL: PYPGLM-0.99.11-py3-none-any.whl
- Upload date:
- Size: 28.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ee16a75931b766c9b8eeb3a5419a9d9faeea84cae3c6fcd532484ec35470d1d5
|
|
| MD5 |
fc36a22bf1ff4503c52dbbea03b84613
|
|
| BLAKE2b-256 |
4f1199417c46c30958057210952dfe22db73151a6014b219dd25c2c4e12d6f22
|