Skip to content

Commit 34f8018

Browse files
author
Christopher Henry
committed
Updating to support new redox template, plus improved gapfilling
1 parent 061b8d2 commit 34f8018

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+624
-14785
lines changed

.dockerignore

100644100755
File mode changed.

.github/workflows/kb_sdk_test.yaml

100644100755
File mode changed.

.github/workflows/template-cleanup.yml

100644100755
File mode changed.

.github/workflows/unit_tests.yaml

100644100755
File mode changed.

.gitignore

100644100755
File mode changed.

.pydevproject

100644100755
File mode changed.

.travis.yml

100644100755
File mode changed.

Dockerfile

100644100755
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@ RUN pip install chemw==0.3.2
3535
RUN pip install deepdiff
3636
RUN pip install h5py
3737

38-
RUN echo '31' >/dev/null && pip install --use-deprecated=legacy-resolver git+https://github.com/cshenry/ModelSEEDpy.git
39-
RUN echo '10' >/dev/null && pip install git+https://github.com/cshenry/cobrakbase.git@525409070d11fc1efd8fe5daf9069fd519d563c2
38+
RUN echo '32' >/dev/null && pip install --use-deprecated=legacy-resolver git+https://github.com/cshenry/ModelSEEDpy.git
39+
RUN echo '11' >/dev/null && pip install git+https://github.com/cshenry/cobrakbase.git@f0b3aa300fb153fc83b2fd5e83be231fc6992fae
4040

41-
RUN echo '29' >/dev/null && mkdir deps && cd deps && \
41+
RUN echo '30' >/dev/null && mkdir deps && cd deps && \
4242
git clone --branch main https://github.com/cshenry/KBBaseModules.git
4343
RUN mkdir test
4444

LICENSE

100644100755
File mode changed.

Makefile

100644100755
File mode changed.

ModelSEEDReconstruction.spec

100644100755
File mode changed.

README.md

100644100755
File mode changed.

RELEASE_NOTES.md

100644100755
File mode changed.

data/README.md

100644100755
File mode changed.

data/ReportTemplate.html

100644100755
File mode changed.

data/SSO_dictionary.json

100644100755
File mode changed.

data/atp_medias.tsv

100644100755
Lines changed: 35 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,35 @@
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0 0 0 0 0 0
29+
EX_cpd08701_e0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1000 0 0 0 0 0 0
30+
EX_cpd01024_e0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 0 0
31+
EX_cpd00116_e0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 0
32+
EX_cpd00187_e0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0
33+
EX_cpd00425_e0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0
34+
EX_cpd00441_e0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1
35+
EX_cpd10515_e0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0

dependencies.json

100644100755
File mode changed.

deploy.cfg

100644100755
File mode changed.

kbase.yml

100644100755
File mode changed.

lib/ModelSEEDReconstruction/ModelSEEDReconstructionImpl.py

100644100755
File mode changed.

lib/ModelSEEDReconstruction/ModelSEEDReconstructionImpl.py.bak-2022-07-12-05-31-58

100644100755
File mode changed.

lib/ModelSEEDReconstruction/ModelSEEDReconstructionImpl.py.bak-2022-07-12-05-32-21

100644100755
File mode changed.

lib/ModelSEEDReconstruction/ModelSEEDReconstructionServer.py

100644100755
File mode changed.

lib/ModelSEEDReconstruction/__init__.py

100644100755
File mode changed.

lib/ModelSEEDReconstruction/modelseedrecon.py

100644100755
Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,13 +88,22 @@ def build_metabolic_models(self,params):
8888
params["genome_refs"] = self.process_genome_list(params["genome_refs"],params["workspace"])
8989
#Processing media
9090
params["gapfilling_media_objs"] = self.process_media_list(params["gapfilling_media_list"],default_media,params["workspace"])
91-
#Preloading core and preselected template
91+
#Preloading core and preselected template - note the default GS template is None because this signals for the classifier to be used to select the template
9292
self.gs_template = None
93+
if params["gs_template_ref"] != None and not isinstance(params["gs_template_ref"],str):
94+
#Allows user to directly set the GS template object by passing the object in gs_template_ref
95+
self.gs_template = params["gs_template_ref"]
9396
if params["gs_template_ref"]:
97+
#Allows user to set the workspace ID of the GS template to be used
9498
self.gs_template = self.get_template(params["gs_template_ref"],None)
95-
if params["core_template_ref"]:
99+
if params["core_template_ref"] != None and not isinstance(params["core_template_ref"],str):
100+
#Allows user to directly set the core template object by passing the object in core_template_ref
101+
self.core_template = params["core_template_ref"]
102+
elif params["core_template_ref"]:
103+
#Allows user to set the workspace ID of the core template to be used
96104
self.core_template = self.get_template(params["core_template_ref"],None)
97105
else:
106+
#Setting the default core template
98107
self.core_template = self.get_template(self.templates["core"],None)
99108
#Initializing classifier
100109
genome_classifier = self.get_classifier()
@@ -200,7 +209,7 @@ def build_metabolic_models(self,params):
200209
#if params["output_core_models"]:
201210
#TODO: Remove noncore reactions and change biomass and change model ID and then resave
202211
#Filling in model output
203-
result_table = result_table.append(current_output, ignore_index = True)
212+
result_table = pd.concat([result_table, pd.DataFrame([current_output])], ignore_index=True)
204213
mdllist.append(mdlutl)
205214
output = {}
206215
self.build_dataframe_report(result_table,mdllist)

lib/README.md

100644100755
File mode changed.

lib/installed_clients/DataFileUtilClient.py

100644100755
File mode changed.

lib/installed_clients/KBaseReportClient.py

100644100755
File mode changed.

lib/installed_clients/RAST_SDKClient.py

100644100755
File mode changed.

lib/installed_clients/WorkspaceClient.py

100644100755
File mode changed.

lib/installed_clients/__init__.py

100644100755
File mode changed.

lib/installed_clients/authclient.py

100644100755
File mode changed.

lib/installed_clients/baseclient.py

100644100755
File mode changed.

lib/installed_clients/cb_annotation_ontology_apiClient.py

100644100755
File mode changed.

0 commit comments

Comments
 (0)