Skip to content

Drop each complex without an ortholog under the drop policy - #25

Merged
edkerk merged 1 commit into
developfrom
feat/drop-per-complex
Nov 7, 2026
Merged

edkerk merged 1 commit into
developfrom
feat/drop-per-complex

Conversation

@edkerk

@edkerk edkerk commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

getModelFromHomology with complexPolicy drop removes each complex that has a subunit without an ortholog, and removes the reaction only when no complex remains. For the rule (A and B) or (C and D) without an ortholog of B, the draft has the orthologs of C and D. Before, the reaction was removed as soon as one subunit had no ortholog.

The step that removes the placeholder genes of isozymes reads the rule as a tree, in which and binds tighter than or. For the rule (A or B and C) and D without an ortholog of B, the draft rule is (nA or (OLD_T_B and nC)) and nD under flag, (nA or nC) and nD under keep and nA and nD under drop. The result differs from before only for rules with unbracketed and and or or with nested or groups.

The same policy is implemented in raven-toolbox#199.

The policy drop removes each complex that has a subunit without an ortholog and removes the reaction when no complex remains. It removed the reaction as soon as one subunit had no ortholog.
@github-actions

github-actions Bot commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

Function test results

539 tests   532 ✅  2m 43s ⏱️
 24 suites    7 💤
  1 files      0 ❌

Results for commit a037baa.

♻️ This comment has been updated with latest results.

@edkerk
edkerk merged commit 67ebd2f into develop Nov 7, 2026
4 of 7 checks passed
@edkerk
edkerk deleted the feat/drop-per-complex branch November 7, 2026 22:20
edkerk added a commit to CompMetEng/raven-docs that referenced this pull request Nov 8, 2026
The guide to reconstruction from homology states that the policy `drop`
removes each complex with a missing subunit and removes the reaction
when no complex remains. The text follows
[RAVEN#25](CompMetEng/RAVEN#25) and the matching
change in raven-toolbox, and it merges after both.

The page [Update the binary
bundles](https://github.com/CompMetEng/raven-docs/blob/docs/homology-drop/docs/installation/updating-binaries.md)
names the bundled executables, the platforms that
`build_binary_bundles.py` builds, the file that records the provenance,
the entry of HMMER 3.3.2 for Windows, and the edits that a new version
or a new tool needs. The page [Update the KEGG
assets](https://github.com/CompMetEng/raven-docs/blob/docs/homology-drop/docs/installation/updating-kegg-assets.md)
gives the arguments of the check functions and says that RAVEN reads the
manifest once per session. The paragraphs on the ecModel YAML name the
readers of the empty `enzymes` forms and of double-quoted values, and
state that the upgrade of a GECKO 3 model is in memory.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant