Skip to main content

A novel way to gapfill metabolic models

Installation instructions

To run the dnngior gapfiller, the Gurobi solver is mandatory.

pip install gurobipy

To use gurobi, you need a license. If you are an acedemic, you may get a license for free.

Once you have successfully installed gurobi, you are ready to install the dnngior gapfiller.

pip install dnngior

Optionally, you may need to also get Tensorflow (or through conda) in case you would like to use the NN_Trainer.

How to use

Gapfilling models is done using the Gapfill class:

import dnngior.gapfill_class.Gapfill  
Gapfill(path_to_model)

You may find examples of gap-filling a genome scale reconstruction (GEM) with dnngior with a complete or a defined medium in this example notebook. dnngior can gapfill both ModelSEED and BiGG models, to gapfill BiGG models you need to specify modeltype.

Gapfill(path_to_BiGG_model, modeltype='BiGG')

Custom Networks

By default dnngior uses an universally trained network capable of accurate predictions under most circumstances. If desired, it is possible to change the Neural Network you want to use during gapfilling:

Gapfill(path_to_model, trainedNNPath=path_to_NN)

You can train your own Neural Network following this tutorial: example training NN.

Alternatively you can find additional custom Neural Networks for several taxonomic groups: Custom Networks. Upon request additional specially trained networks can be made available for specific biomes or taxonomic groups.

License

Please see License

Cite

For more about the methods used in this library and in case you are using it, please cite: Boer, M.D., Melkonian, C., Zafeiropoulos, H., Haas, A.F., Garza, D.R. and Dutilh, B.E., 2024. Improving genome-scale metabolic models of incomplete genomes with deep learning. iScience, 27(12).

Metadata

Release files for dnngior 0.0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dnngior 0.0.5
File Size Uploaded Provenance
dnngior-0.0.5.tar.gz 29.1 MB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for dnngior 0.0.5
File Interpreter ABI Platform
dnngior-0.0.5-py3-none-any.whl Python 3 none any Details

Total release size: 58.4 MB

Release files / dnngior-0.0.5.tar.gz

Download URL dnngior-0.0.5.tar.gz
Size 29.1 MB
Tags Source
SHA-256 checksum
How to use checksums
1e37482064b14224a3297ce46df843f75d6d5530dabb8dd4094a2fb18cb835ae
BLAKE2b-256 checksum
How to use checksums
8feb5639acfec7befb1532bd4f336c91316aa2196d5504b81f32d2e54d74adb7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.3 CPython/3.10.12 Linux/6.8.0-52-generic

Release files / dnngior-0.0.5-py3-none-any.whl

Download URL dnngior-0.0.5-py3-none-any.whl
Size 29.2 MB
Tags Python 3
SHA-256 checksum
How to use checksums
861c68aba5b0bc212bad885b40df1ec76f50a34980028cae7492efd09e7abc31
BLAKE2b-256 checksum
How to use checksums
238be13172250d1a9f878fce516a44186b8b65adbf2ce55b0855f5c7dc3264f8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.3 CPython/3.10.12 Linux/6.8.0-52-generic

Security for dnngior 0.0.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page