Skip to content

Commit 722d4dd

Browse files
committed
precommit
1 parent 7112e17 commit 722d4dd

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed

modelseedpy/core/msmodelreport.py

+12-12
Original file line numberDiff line numberDiff line change
@@ -507,13 +507,13 @@ def build_report(self, model, output_path):
507507
<li><b>Reaction Name:</b> The name of the reaction.</li>
508508
<li><b>Media:</b> The media used by gap filling.</li>
509509
<li><b>Direction:</b> The direction of the reaction. Can be ">" for forward, "<" for reverse, or "=" for both directions.</li>
510-
<li><b>Target:</b> The reaction selected as the objective function target for the gapfilling optimization problem. Targets here can be the model’s biomass reaction, commonly named “bio1” for models created by this app.
511-
Alternatively, “rxn00062” (ATP Production) reaction is shown for cases where gapfilling was applied to guarantee ATP production in a given media.
510+
<li><b>Target:</b> The reaction selected as the objective function target for the gapfilling optimization problem. Targets here can be the model’s biomass reaction, commonly named “bio1” for models created by this app.
511+
Alternatively, “rxn00062” (ATP Production) reaction is shown for cases where gapfilling was applied to guarantee ATP production in a given media.
512512
When reactions are gapfilled for ATP production, we recommend checking the full Core ATP Analysis in the table below. </li>
513-
<li><b>Gapfilling Sensitivity ID and Name:</b> Gapfilling is necessary when compounds in the biomass objective function can not be produced by the model.
513+
<li><b>Gapfilling Sensitivity ID and Name:</b> Gapfilling is necessary when compounds in the biomass objective function can not be produced by the model.
514514
For each reaction we list the biomass compound(s) that can not be synthesized by the model without gapfilling.
515515
In cases where gap filling fails there are two possible scenarios:
516-
1) FBF (failed before filtering) : the gapfilling immediately failed, even before we filtered out the ATP breaking reactions. This means this objective CANNOT be satisfied with the entire current database.
516+
1) FBF (failed before filtering) : the gapfilling immediately failed, even before we filtered out the ATP breaking reactions. This means this objective CANNOT be satisfied with the entire current database.
517517
2) FAF (failed after filtering): the gapfilling succeeded before filtering, but failed after filtering out reactions that break ATP. This tells you definitively if the ATP filtering caused the gapfilling to fail</li>
518518
</ul>
519519
"""
@@ -577,15 +577,15 @@ def build_report(self, model, output_path):
577577

578578
# ATP analysis explanation text
579579
explanation_text_atp_analysis = """
580-
<p>During model reconstruction, we analyze the genome’s core metabolism draft model (model without gapfilling) to assess energy biosynthesis capabilities.
581-
The goal of this analysis is to ensure the core metabolism model is able to produce ATP before we expand the model to the genome-scale.
582-
This step is designed to prevent gapfilling from introducing reactions that create energy-generating loops.
580+
<p>During model reconstruction, we analyze the genome’s core metabolism draft model (model without gapfilling) to assess energy biosynthesis capabilities.
581+
The goal of this analysis is to ensure the core metabolism model is able to produce ATP before we expand the model to the genome-scale.
582+
This step is designed to prevent gapfilling from introducing reactions that create energy-generating loops.
583583
The tests are conducted on a large collection of minimal conditions, with the goal of simulating the model’s capability to produce energy with different electron donor, electron acceptor, and carbon source combinations.</p>
584-
<p><u>When the draft model of the core metabolism is capable of producing ATP in at least one of the test media, no gapfilling reactions part of this analysis will be added to the model.</u> While we still report the gapfilling requirements for the test media formulations that fail to produce ATP with that draft core model, we only integrate these solutions in the model when no test media succeeds in producing ATP.
585-
In this case, the integrated gap-filling solution(s) will be displayed in the “Gapfilling Analysis” table above, with the “Target” “rxn00062” (ATP Production) objective function.</p>
586-
<p>The goal is to display the test results for all media to provide clues for the metabolic capabilities of the genome(s). When many reactions are required for growth on the SO4 testing media conditions, this could be a good indicator that the organism is not capable of performing sulfate reduction.
587-
On the other hand, when only one gapfill reaction is required for ATP production in a given media, multiple scenarios can be considered.
588-
1) Organism(s) can’t grow on test condition, and we correctly did not add the reaction to the model. 2) Possible issue with the source genome annotation missing a specific gene function 3) Possible issue with the model reconstruction database. We hope this data helps make more informed decisions on reactions that may need to be manually curated in the model.
584+
<p><u>When the draft model of the core metabolism is capable of producing ATP in at least one of the test media, no gapfilling reactions part of this analysis will be added to the model.</u> While we still report the gapfilling requirements for the test media formulations that fail to produce ATP with that draft core model, we only integrate these solutions in the model when no test media succeeds in producing ATP.
585+
In this case, the integrated gap-filling solution(s) will be displayed in the “Gapfilling Analysis” table above, with the “Target” “rxn00062” (ATP Production) objective function.</p>
586+
<p>The goal is to display the test results for all media to provide clues for the metabolic capabilities of the genome(s). When many reactions are required for growth on the SO4 testing media conditions, this could be a good indicator that the organism is not capable of performing sulfate reduction.
587+
On the other hand, when only one gapfill reaction is required for ATP production in a given media, multiple scenarios can be considered.
588+
1) Organism(s) can’t grow on test condition, and we correctly did not add the reaction to the model. 2) Possible issue with the source genome annotation missing a specific gene function 3) Possible issue with the model reconstruction database. We hope this data helps make more informed decisions on reactions that may need to be manually curated in the model.
589589
In cases where is known from the literature or unpublished experimental results that an organism is capable of producing ATP in a given media condition that requires gapfilling in this analysis, you can use the parameter “Force ATP media” in the reconstruction app to ensure those reactions are integrated into the model.
590590
.</p>
591591
"""

modelseedpy/data/ModelReportTemplate.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -346,4 +346,4 @@
346346
</div>
347347
</body>
348348

349-
</html>
349+
</html>

0 commit comments

Comments
 (0)