diff --git a/.github/workflows/commentsFromTests.md b/.github/workflows/commentMacaw.md
similarity index 57%
rename from .github/workflows/commentsFromTests.md
rename to .github/workflows/commentMacaw.md
index 4c5857ea..022ee3d0 100644
--- a/.github/workflows/commentsFromTests.md
+++ b/.github/workflows/commentMacaw.md
@@ -1,9 +1,9 @@
-This PR has been [automatically tested with GH Actions](https://github.com/SysBioChalmers/Human-GEM/actions/runs/{GH_ACTION_RUN}). Here is the output of the macaw test:
+This PR has been [automatically tested with GH Actions](https://github.com/SysBioChalmers/Human-GEM/actions/runs/{GH_ACTION_RUN}). Here is the output of the [MACAW](https://github.com/Devlin-Moyer/macaw) test:
{TEST_RESULTS}
-A more detailed output from this test run is also committed to `data/macawResults/macaw_results.csv`.
+This and a more detailed output from MACAW are also committed to `data/macawResults/`.
> _Note: In the case of multiple test runs, this post will be edited._
diff --git a/.github/workflows/macaw-tests.yml b/.github/workflows/macaw-tests.yml
index 90af0ee7..2cc2e980 100644
--- a/.github/workflows/macaw-tests.yml
+++ b/.github/workflows/macaw-tests.yml
@@ -31,18 +31,19 @@ jobs:
PARSED_RESULTS="${PARSED_RESULTS//$'\r'/'
'}"
echo $PARSED_RESULTS
echo "results=$PARSED_RESULTS" >> $GITHUB_OUTPUT
+ printf "$TEST_RESULTS" > data/testResults/macaw_summary.md
- name: Mention PR# in README.md
env:
PR_NUMBER: ${{ github.event.number }}
- run: sed -i -e "s/#[[:digit:]]\{3,4\}/#$PR_NUMBER/g" data/macawResults/README.md
+ run: sed -i -e "s/#[[:digit:]]\{3,4\}/#$PR_NUMBER/g" data/testResults/README.md
- name: Auto-commit results
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_user_name: memote-bot
commit_message: "chore: add macaw test result"
- file_pattern: data/macawResults/*
+ file_pattern: data/testResults/*
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PR_NUMBER: ${{ github.event.number }}
@@ -50,7 +51,7 @@ jobs:
- name: Post comment
uses: NejcZdovc/comment-pr@v2
with:
- file: "commentsFromTests.md"
+ file: "commentMacaw.md"
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
TEST_RESULTS: ${{steps.macaw-run.outputs.results}}
diff --git a/code/test/macawTests.py b/code/test/macawTests.py
index 92f71544..7b285639 100644
--- a/code/test/macawTests.py
+++ b/code/test/macawTests.py
@@ -5,4 +5,4 @@
(dead_end_results, dead_end_edges) = dead_end_test(model)
(duplicate_results, duplicate_edges) = duplicate_test(model)
output = dead_end_results.merge(duplicate_results)
-output.to_csv('data/macawResults/macaw_results.csv', index = False)
\ No newline at end of file
+output.to_csv('data/testResults/macaw_results.csv', index = False)
\ No newline at end of file
diff --git a/data/macawResults/README.md b/data/testResults/README.md
similarity index 70%
rename from data/macawResults/README.md
rename to data/testResults/README.md
index 411815dd..15d13dd8 100644
--- a/data/macawResults/README.md
+++ b/data/testResults/README.md
@@ -1,13 +1,13 @@
-# MACAW results
+# Test results
-The file here contains results from the [MACAW](https://github.com/Devlin-Moyer/macaw) `dead_end_test` and `duplicate_test` tests.
+The file here contains results from the [MACAW](https://github.com/Devlin-Moyer/macaw) `dead_end_test` and `duplicate_test` tests, and from cell-line specific gene essentiality prediction based on the [Hart _et al._ (2015)](https://doi.org/10.1016/j.cell.2015.11.015) dataset.
The test results shown here were obtained by the GitHub Actions run in **PR #829**, and will be updated by any subsequent PR. Summary results are shown as a comment in the corresponding PR.
-### `dead_end_test`
+### MACAW: `dead_end_test`
Looks for metabolites in Human-GEM that can only be produced by all reactions they participate in or only consumed, then identifies all reactions that are prevented from sustaining steady-state fluxes because of each of these dead-end metabolites. The simplest case of a dead-end metabolite is one that only participates in a single reaction. Also flags all reversible reactions that can only carry fluxes in a single direction because one of their metabolites can either only be consumed or only be produced by all other reactions it participates in.
-### `duplicate_test`
+### MACAW: `duplicate_test`
Identifies sets of reactions that may be duplicates of each other because they:
- Involve exactly the same metabolites with exactly the same stoichiometric coefficients (but potentially different associated genes).
@@ -15,4 +15,9 @@ Identifies sets of reactions that may be duplicates of each other because they:
- Involve exactly the same metabolites, but with different stoichiometric coefficients.
- Represent the oxidation and/or reduction of the same metabolite, but use different electron acceptors/donors from the given list of pairs of oxidized and reduced forms of various electron carriers (e.g. NAD(H), NADP(H), FAD(H2), ubiquinone/ubiquinol, cytochromes).
-It is possible for a single reaction to fit in multiple of the above categories. There are sometimes cases where sets of reactions that fall into one of the above categories are completely legitimate representations of real biochemistry (e.g. separate irreversible reactions for importing vs exporting the same metabolite because two different transporters encoded by different genes are each responsible for transporting that metabolite in only one direction, enzymes that can use NAD(H) or NADP(H) interchangeably to catalyze the same redox reaction), but reactions that meet these criteria are generally worth close examination to ensure that they should actually all exist as separate reactions.
\ No newline at end of file
+It is possible for a single reaction to fit in multiple of the above categories. There are sometimes cases where sets of reactions that fall into one of the above categories are completely legitimate representations of real biochemistry (e.g. separate irreversible reactions for importing vs exporting the same metabolite because two different transporters encoded by different genes are each responsible for transporting that metabolite in only one direction, enzymes that can use NAD(H) or NADP(H) interchangeably to catalyze the same redox reaction), but reactions that meet these criteria are generally worth close examination to ensure that they should actually all exist as separate reactions.
+
+### Cell-line specific gene essentiality
+Evaluate gene essentiality predictions in 5 cell-line specific GEMs with experimental fitness data gathered from the [Hart _et al._ (2015)](https://doi.org/10.1016/j.cell.2015.11.015).
+
+Cell-line specific GEMs are constructed with tINIT2 for DLD1, GBM, HCT116, HeLa and RPE1 cell lines. Then, the `metabolicTasks_Essential.txt` list of tasks is used to identify essential genes in each of these models. The predicted gene essentiality is compared to results from a high-throughput CRISPR-Cas9 screen for identifying genes that affect fitness. Only the summary statistics of this comparison are kept.
\ No newline at end of file
diff --git a/data/macawResults/macaw_results.csv b/data/testResults/macaw_results.csv
similarity index 100%
rename from data/macawResults/macaw_results.csv
rename to data/testResults/macaw_results.csv