Skip to main content

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

  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

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

pypglm-0.99.11.tar.gz (29.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

PYPGLM-0.99.11-py3-none-any.whl (28.5 kB view details)

Uploaded Python 3

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

Hashes for pypglm-0.99.11.tar.gz
Algorithm Hash digest
SHA256 72aa6b7592e7535e9ba60376e1d29f4fd9eb9858c8ccdb1339975244b6d88d03
MD5 171b6c94081a855271a711293969c7de
BLAKE2b-256 9f1b935926af6a3c6de42d1cbd6fe723c42ee09329ba8149cbe1bcb9ec106caf

See more details on using hashes here.

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

Hashes for PYPGLM-0.99.11-py3-none-any.whl
Algorithm Hash digest
SHA256 ee16a75931b766c9b8eeb3a5419a9d9faeea84cae3c6fcd532484ec35470d1d5
MD5 fc36a22bf1ff4503c52dbbea03b84613
BLAKE2b-256 4f1199417c46c30958057210952dfe22db73151a6014b219dd25c2c4e12d6f22

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page