DielModels


NameDielModels JSON
Version 1.0.2 PyPI version JSON
download
home_page
SummaryDielModels:
upload_time2023-06-24 09:53:51
maintainer
docs_urlNone
authorLuciana Martins and João Capela
requires_python>=3.8
licenseMIT
keywords plants diel models
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # DielModels

### Description
In this context, *DielModels* is a python package generated from this project [HERE](https://github.com/LucianaMartins26/DielModels.git).

Despite numerous successful studies, modeling plant metabolism remains challenging for several reasons, such as limited information, incomplete annotations, and dynamic changes in plant metabolism that occur under different conditions, including night and day.
In particular, the integration of these day-night cycles (diel cycles) is complex, laborious, and time-consuming.

With this in mind, this package aims to accelerate this process by being able to transform a non-diel model into a diel model.

### Installation
#### Pip

``` pip install DielModels==1.0.2 ```

### Getting Started
Through this package you can:

* Assign day and night to the non-diel model;
* Insert specified metabolites into the storage pool allowing their transition between day and night, and vice versa; 
* Block the photon reaction flow at night; 
* Set the flux of the nitrate reactions to 3:2 according to the literature; 
* Takes the day and night biomass reactions and creates a total biomass reaction resulting from the junctions of both. It also blocks the flow of the individual reactions to zero. Sets the total biomass reaction as the objective function.

If each method is to be applied individually it is essential that the first 3 steps are applied in that order specifically.

**Alternatively, it is possible to apply all methods to a given model, running the entire pipeline using:**

```python
import cobra
import diel_models
from diel_models.diel_models_creator import diel_models_creator

model = cobra.io.read_sbml_model('../../desired_model.xml')

storage_pool_metabolites = ['Metabolite_ID_1', 'Metabolite_ID_2', 'Metabolite_ID_3']

diel_models_creator(model, storage_pool_metabolites, 'Photon_Reaction_ID', 'Biomass_Reaction_ID', 'Nitrate_Reaction_ID')
```

It is possible due to the created *Pipeline* class that derives from a *Step* class with abstract methods - both present in the package.

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "DielModels",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": "",
    "keywords": "plants,diel models",
    "author": "Luciana Martins and Jo\u00e3o Capela",
    "author_email": "",
    "download_url": "https://files.pythonhosted.org/packages/01/95/b25c3cfbb5ffd026e4b1cbf94089ab03e96d577ec8c8aa9ed3f1857b4163/DielModels-1.0.2.tar.gz",
    "platform": "unix",
    "description": "# DielModels\n\n### Description\nIn this context, *DielModels* is a python package generated from this project [HERE](https://github.com/LucianaMartins26/DielModels.git).\n\nDespite numerous successful studies, modeling plant metabolism remains challenging for several reasons, such as limited information, incomplete annotations, and dynamic changes in plant metabolism that occur under different conditions, including night and day.\nIn particular, the integration of these day-night cycles (diel cycles) is complex, laborious, and time-consuming.\n\nWith this in mind, this package aims to accelerate this process by being able to transform a non-diel model into a diel model.\n\n### Installation\n#### Pip\n\n``` pip install DielModels==1.0.2 ```\n\n### Getting Started\nThrough this package you can:\n\n* Assign day and night to the non-diel model;\n* Insert specified metabolites into the storage pool allowing their transition between day and night, and vice versa; \n* Block the photon reaction flow at night; \n* Set the flux of the nitrate reactions to 3:2 according to the literature; \n* Takes the day and night biomass reactions and creates a total biomass reaction resulting from the junctions of both. It also blocks the flow of the individual reactions to zero. Sets the total biomass reaction as the objective function.\n\nIf each method is to be applied individually it is essential that the first 3 steps are applied in that order specifically.\n\n**Alternatively, it is possible to apply all methods to a given model, running the entire pipeline using:**\n\n```python\nimport cobra\nimport diel_models\nfrom diel_models.diel_models_creator import diel_models_creator\n\nmodel = cobra.io.read_sbml_model('../../desired_model.xml')\n\nstorage_pool_metabolites = ['Metabolite_ID_1', 'Metabolite_ID_2', 'Metabolite_ID_3']\n\ndiel_models_creator(model, storage_pool_metabolites, 'Photon_Reaction_ID', 'Biomass_Reaction_ID', 'Nitrate_Reaction_ID')\n```\n\nIt is possible due to the created *Pipeline* class that derives from a *Step* class with abstract methods - both present in the package.\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "DielModels:",
    "version": "1.0.2",
    "project_urls": null,
    "split_keywords": [
        "plants",
        "diel models"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f851ce3bca28f7188bb84911fd9607c5b23a368bd72efaa68d884da702237c52",
                "md5": "22a96d2d7e0e018e92442b8134a003eb",
                "sha256": "f8500b11b756c456b7e9e77dcac0799aeb99f4cfa6ada0408d86522edaba139a"
            },
            "downloads": -1,
            "filename": "DielModels-1.0.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "22a96d2d7e0e018e92442b8134a003eb",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 9916,
            "upload_time": "2023-06-24T09:53:50",
            "upload_time_iso_8601": "2023-06-24T09:53:50.427113Z",
            "url": "https://files.pythonhosted.org/packages/f8/51/ce3bca28f7188bb84911fd9607c5b23a368bd72efaa68d884da702237c52/DielModels-1.0.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0195b25c3cfbb5ffd026e4b1cbf94089ab03e96d577ec8c8aa9ed3f1857b4163",
                "md5": "90949a141738dbfec9f2b2454b2a8e33",
                "sha256": "9646629255ac9e891859a1abbbfa11b9edefb15d15da84d34eaa29d676c6c309"
            },
            "downloads": -1,
            "filename": "DielModels-1.0.2.tar.gz",
            "has_sig": false,
            "md5_digest": "90949a141738dbfec9f2b2454b2a8e33",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 7508,
            "upload_time": "2023-06-24T09:53:51",
            "upload_time_iso_8601": "2023-06-24T09:53:51.780114Z",
            "url": "https://files.pythonhosted.org/packages/01/95/b25c3cfbb5ffd026e4b1cbf94089ab03e96d577ec8c8aa9ed3f1857b4163/DielModels-1.0.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-06-24 09:53:51",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "dielmodels"
}
        
Elapsed time: 0.40141s