Skip to main content

GEMsembler

GEMsembler tool for assembling and comparing several types of Genome-Scale Metabolic Models.

THIS IS A BETA VERSION! BUGS CAN BE EXPECTED

Instalation

Instalation from git via pip

pip install git+ssh://git@git.embl.de/grp-zimmermann-kogadeeva/GEMsembler.git

You also have to install BLAST in advance

Usage

Input models have to be COBRApy readable files. And models need to be particular type. Curently models made by CarveMe (carveme), ModelSEED (modelseed), gapseq (gapseq) and models downloaded from AGORA VMH database (agora) are supported. Custom type is comming soon. Genomes, from which the models are built will allow to convert and assemble genes as well.

input_data = {
    "curated_LP": {"path_to_model": "./iLP728_revision_data_met_C_c.xml", "model_type": "carveme", "path_to_genome": "./protein_fasta.faa"},
    "cauniv_LP": {"path_to_model": "./CA1.xml", "model_type": "carveme", "path_to_genome": "./protein_fasta.faa"},
    "cagram_LP": {"path_to_model": "./CA2.xml", "model_type": "carveme", "path_to_genome": "./protein_fasta.faa"},
    "msgram_LP": {"path_to_model": "./MS2.sbml", "model_type": "modelseed", "path_to_genome": "./protein_fasta.faa"},
    "agora_LP": {"path_to_model": "./Lactobacillus_plantarum_WCFS1_agora.xml", "model_type": "agora", "path_to_genome": "./Lactobacillus_plantarum_WCFS1.fasta"}
}

Fisrt stage is the creation of gathered models, a class, that performs conversion and contains results of all stages.

gathered = GatheredModels()
for i, v in input_data.items():
    gathered.add_model(i, **v)
gathered.run()

Second stage is actual assembly of supermodel from the in formation in gathered models. User has to provide output folder. And for gene conversion user hast provide either final genes in fasta. Then all gene will be converted to ids in these files. Or if user provides NCBI assembly ID for his organism of interest, corresponding genome will be downloaded autpmaticly and all genes will be converted to the locus tags of the organis.

supermodel_lp = gathered.assemble_supermodel("./gemsembler_output/", assembly_id = "GCF_000203855.3")

After supermodel is assembled different comparison methods can be run

supermodel_lp.at_least_in(2)

And results of comparison can be extracted as typical COBRApy models

core2 = get_model_of_interest(supermodel_lp, "core2", "./gemsembler_output/LP_core2_output_model.xml")

Metadata

Release files for gemsembler 0.2.2

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

Source distribution (sdist)

Source distribution for gemsembler 0.2.2
File Size Uploaded Provenance Actions
gemsembler-0.2.2.tar.gz 45.7 kB Without provenance Details for gemsembler-0.2.2.tar.gz

Built distribution (wheel)

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

Total release size: 90.9 kB

Release files / gemsembler-0.2.2.tar.gz

Download URL gemsembler-0.2.2.tar.gz
Size 45.7 kB
Tags Source
SHA-256 checksum
How to use checksums
8f6fff7ea5db58cebd660b8f1cbbae607989ee63310eee9eae9737efbdf2c03a
BLAKE2b-256 checksum
How to use checksums
28b0e9b58384fdd8fdcb267cb57a250807ca9c2c144b924743f97c5671b11598
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.7

Release files / gemsembler-0.2.2-py3-none-any.whl

Download URL gemsembler-0.2.2-py3-none-any.whl
Size 45.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a229113158133adc672a88b1760d9fa913399da3e30dbd3d29e09eca6c0fe2ad
BLAKE2b-256 checksum
How to use checksums
dda4b58ba2ef53341a57351336ba7c08ed28a17e8c6fd72235023d8acea600f4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.7

Security for gemsembler 0.2.2

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.

Release history Release notifications | RSS feed

This release

0.2.2 This release

2 release files No provenance

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