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

Uploaded Python 3

File details

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

File metadata

  • Download URL: pypglm-0.99.10.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.10.tar.gz
Algorithm Hash digest
SHA256 20de938356771b5af2b1f583cb0a4b36ef90404a3fb91884c304a3bb50228bff
MD5 1e8422eb34be3d034ddab960c7fd7cc2
BLAKE2b-256 c02fc063888f2168f86ef17204a3d7460bf9cb562cb7cc45f97bab03622f5121

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PYPGLM-0.99.10-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.10-py3-none-any.whl
Algorithm Hash digest
SHA256 cd63f38df7adcee4be424e21747619b45ac68bde5e1067f60018200aadbd8b84
MD5 d1e840c75e466176a0691867ab412d52
BLAKE2b-256 53ab43c36dad11f92c0c617c79e34320cf07a6dee7d10d0a97d69289263f5f1b

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