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.9.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.9-py3-none-any.whl (28.5 kB view details)

Uploaded Python 3

File details

Details for the file pypglm-0.99.9.tar.gz.

File metadata

  • Download URL: pypglm-0.99.9.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.9.tar.gz
Algorithm Hash digest
SHA256 01520c5d533f3af5bc86862238d2c68d3f93fb251d5580fa72801ec3f41b3710
MD5 bf14e12f2fad0c7b8e04eeec9cbcfaca
BLAKE2b-256 7e8b64023888c67f431e97bd999a79d7c795fbbb589847d368a84e76541b962a

See more details on using hashes here.

File details

Details for the file PYPGLM-0.99.9-py3-none-any.whl.

File metadata

  • Download URL: PYPGLM-0.99.9-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.9-py3-none-any.whl
Algorithm Hash digest
SHA256 ba336d57f37273c4d032f2fcb244640e8310c973e4a24538a3585db853809796
MD5 aec2ba42fec231e29d58a5212ffb9929
BLAKE2b-256 9033dbe50cf234c20dfdc9a54c07a2fb50f65f34201b19ce03896ec0ca1db248

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