Skip to main content

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

  1. networkx
  2. numpy
  3. pandas
  4. emoji
  5. pytest
  6. pytest-cov
  7. openpyxl
  8. scipy
  9. matplotlib
  10. gaft
  11. seaborn
  12. joblib
  13. 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

Metadata

Release files for PYPGLM 0.99.11

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for PYPGLM 0.99.11
File Size Uploaded
pypglm-0.99.11.tar.gz 29.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for PYPGLM 0.99.11
File Interpreter ABI Platform
PYPGLM-0.99.11-py3-none-any.whl Python 3 none any Details

Total release size: 58.1 kB

Release files / pypglm-0.99.11.tar.gz

Download URL pypglm-0.99.11.tar.gz
Size 29.6 kB
Tags Source
SHA-256 checksum
How to use checksums
72aa6b7592e7535e9ba60376e1d29f4fd9eb9858c8ccdb1339975244b6d88d03
BLAKE2b-256 checksum
How to use checksums
9f1b935926af6a3c6de42d1cbd6fe723c42ee09329ba8149cbe1bcb9ec106caf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.12.8

Release files / PYPGLM-0.99.11-py3-none-any.whl

Download URL PYPGLM-0.99.11-py3-none-any.whl
Size 28.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ee16a75931b766c9b8eeb3a5419a9d9faeea84cae3c6fcd532484ec35470d1d5
BLAKE2b-256 checksum
How to use checksums
4f1199417c46c30958057210952dfe22db73151a6014b219dd25c2c4e12d6f22
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.12.8

Release history Release notifications | RSS feed

This release

0.99.11 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page