-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #14 from cfrioux/meneinc
Incremental scope
- Loading branch information
Showing
22 changed files
with
550 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,117 @@ | ||
# Changelog | ||
|
||
# MeneTools v3.3.0 (2023-01-05) | ||
|
||
## Add | ||
|
||
* `Mene scope_inc` identifies the number of steps needed either to produce targets or all producible compounds (computed with menescope) starting from nutrients | ||
* tests and doc for `Mene scope_inc` | ||
* CHANGELOG.md file | ||
|
||
## Modify | ||
|
||
* Remove uneeded imports | ||
* Update license year | ||
|
||
# MeneTools v3.2.1 (2022-03-18) | ||
|
||
## Fix | ||
|
||
- Latest clyngor versions led to errors that can be preventing by not using the clingo module when calling solver #12 | ||
|
||
## Test | ||
|
||
- Tests are no longer done for Python 3.6 but for versions 3.7, 3.8, 3.9 | ||
|
||
## Doc | ||
|
||
- A small typo is fixed | ||
|
||
## Others | ||
|
||
- `.gitignore` has been updated | ||
|
||
# MeneTools v3.2.0 (2021-08-21) | ||
|
||
## Add | ||
|
||
* `Mene seed` identifies compounds that would be considered as seeds in network expansion because they are produced by exchange reactions | ||
|
||
## Doc | ||
|
||
* Update with Meneseed | ||
|
||
## Tests | ||
|
||
* New tests for Meneseed | ||
|
||
## Others | ||
|
||
* The MeneTools project is now mirrored on [Gitlab Inria](https://gitlab.inria.fr/pleiade/menetools) via GH CI. | ||
|
||
# MeneTools v3.1.1 (2021-02-22) | ||
|
||
## Licence | ||
|
||
MeneTools is now under the LGPL licence. | ||
|
||
## Doc | ||
|
||
Update documentation with the latest citation for MeneTools. | ||
|
||
# MeneTools v3.1.0 (2020-12-01) | ||
|
||
## Add | ||
|
||
* `mene scope` now returns (in the json output and API call) a dictionnary with 2 keys: | ||
* the usual list of compounds in the scope | ||
* the list of seeds that are also predicted to be produced by the organism | ||
|
||
## Tests | ||
|
||
* new tests for the latest version of `mene scope` | ||
|
||
# MeneTools v3.0.2 (2020-11-18) | ||
|
||
## Add | ||
|
||
* Menedead: to identify deadends in metabolic network. | ||
* Windows and MacOS tests in GitHub Actions. | ||
* Windows compatibility. | ||
|
||
# MeneTools v3.0.1 (2020-10-30) | ||
|
||
## Add | ||
|
||
* Error message if SBML files have no reactions. | ||
|
||
# MeneTools v3.0.0 (2020-10-26) | ||
|
||
## Add | ||
|
||
* Merge all commands into one command with subcommands: e.g. `menescope` becomes `mene scope` | ||
* Version can now be retrieved with `mene --version` | ||
|
||
## Fix | ||
|
||
* Typos | ||
|
||
# MeneTools v2.1.0 (2020-09-09) | ||
|
||
## Add | ||
|
||
* Meneacti to retrieve activable reactions from nutrients | ||
* Documentation for Meneacti | ||
|
||
## Fix | ||
|
||
* typos | ||
* output format of Menecheck in console | ||
* | ||
# MeneTools v2.0.6 (2020-05-21) | ||
|
||
* Use of Clyngor for ASP computations | ||
* Improved documentation | ||
* Calls directly from python scripts are possible | ||
* Use of loggers | ||
* Beta developments of Menepath and Menecof |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
% Copyright (C) Clémence Frioux & Arnaud Belcour - Inria Dyliss - Pleiade | ||
% This program is free software: you can redistribute it and/or modify | ||
% it under the terms of the GNU Lesser General Public License as published by | ||
% the Free Software Foundation, either version 3 of the License, or | ||
% (at your option) any later version. | ||
% This program is distributed in the hope that it will be useful, | ||
% but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
% GNU Lesser General Public License for more details. | ||
% You should have received a copy of the GNU Lesser General Public License | ||
% along with this program. If not, see <http://www.gnu.org/licenses/> | ||
|
||
#include <incmode>. | ||
|
||
#program base. | ||
|
||
% Set the seeds as compounds producible at step 0. | ||
dscope(M, 0) :- seed(M). | ||
|
||
#program step(t). | ||
|
||
% Set the seeds as compounds producible at each step. | ||
dscope(M, t) :- seed(M). | ||
|
||
% Find the compounds producible from the producible compounds of the previous step (plus the seeds). | ||
dscope(M, t) :- product(M,R), dreaction(R), | ||
dscope(M2, t-1): reactant(M2,R). | ||
|
||
% Test reversibility of reaction. | ||
dscope(M, t) :- reactant(M,R), dreaction(R), reversible(R), | ||
dscope(M2, t-1): product(M2,R). | ||
|
||
% Compute the size of the scope at each step t. | ||
dscopeSize(ScopeSize, t) :- ScopeSize=#sum{1,M : dscope(M, t)}. | ||
|
||
% Two possible goals: | ||
% - either targets are given as input and the programm will check the number of step to produce these targets. WARNING if the targets are not producible, it will enter an infinite loop. | ||
% - or it will try to reach the same scope size as the one computed from a menescope (by using maxscope(MaxScope) given as input). | ||
#program check(t). | ||
:- target(F), query(t), not dscope(F, t). | ||
:- not dscopeSize(ScopeSize, t), query(t), maxscope(MaxScope), ScopeSize == MaxScope. | ||
|
||
#show dscope/2. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.