A Python package for feedback loop detection in ODE models
Project description
LoopDetect - comprehensive detection of feedback loops in ODE models
Scope
This Python package provides a handy framework to determine feedback loops (cycles, circuits) in ordinary differential equation (ODE) models. Feedback loops are paths from one node (variable) to itself without visiting any other node twice, and they have important regulatory functions. Together with the loop length it is also reported whether the loop is a positive or a negative feedback loop. An upper limit of the number of feedback loops can be entered to limit the runtime (which scales with feedback loop count). Model parametrizations and values of the modelled variables are accounted for. Input can be the Jacobian matrix of the ODE model or the function definition. Graph-based algorithms from networkx are employed for path detection, numdifftools is used for computing the Jacobian and pandas dataframes are used as output format.
Installation
Install the package with pip; within a terminal window, type
pip install loopdetect
Depending on your pip installation, you may be required to use pip3 as command instead.
In order to use functions from LoopDetect within Python, call
# core functions
import loopdetect.core
# examples
import loopdetect.examples
LoopDetect is tested for Python 3, especially with Python version 3.8, but could also run with older Python versions.
In addition, LoopDetect can be found on GitLab.
Workflow and documentation
Function documentation is available on the LoopDetect pages, https://kabaum.gitlab.io/loopdetect/. There, you can also find a detailed workflow description.
Licensing
All code is licensed under the 3-clause BSD license, LoopDetect, Copyright (C) 2020 Katharina Baum.
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
File details
Details for the file loopdetect-0.1.0.tar.gz
.
File metadata
- Download URL: loopdetect-0.1.0.tar.gz
- Upload date:
- Size: 103.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.0 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 85900b7318817f8c1a7497b34ff0cc645ffeab60bd67d33e6817101a38878a8c |
|
MD5 | 525e1861ecb8743396bfe58e59f0f415 |
|
BLAKE2b-256 | 480d3f5112eb306e1fb7079f71e0b0516205d43083554aca9c247da68af57d20 |
File details
Details for the file loopdetect-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: loopdetect-0.1.0-py3-none-any.whl
- Upload date:
- Size: 102.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.0 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8113be417582b58186528072678ad8aa6b3a3f4d5880593bb19f3d532525d3ce |
|
MD5 | 88bf81052b11cbabf83bd8348a8e5308 |
|
BLAKE2b-256 | a1e14bb410c1bc2d7af07152be12079c794565d9fcd399a25db88620c362da28 |