feat(cluster)(zarr3): species-parameterize CORUM + MSigDB benchmark generation (#238) - #241
Merged
Merged
Conversation
…eneration (#238) Port of the brieflow-main cluster benchmark species fix onto the zarr3 line. - get_corum_data / generate_corum_group_benchmark: accept species_id; human keeps its native export unchanged, other species are filtered out of the CORUM complete export by organism. - generate_msigdb_group_benchmark: accept species_id and resolve the MSigDB collection per species (human=KEGG MEDICUS; mouse=native Reactome). - STRING and UniProt generators were already species-aware; no change. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FRP7UVsNz6igHrJE72nVfT
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
zarr3-line port of the cluster benchmark species fix (companion to #240 on
main). Closes #238 on the zarr3 line.workflow/lib/cluster/scrape_benchmarks.pyhardwired human sources, blocking mouse/non-human cluster benchmarks.get_corum_data/generate_corum_group_benchmark): acceptspecies_id. Human keeps its nativefile_id=humanexport unchanged; other species are filtered out of the CORUMcompleteexport byorganism.generate_msigdb_group_benchmark): acceptspecies_id; human = KEGG MEDICUS, mouse = native Reactome (MSigDB has no native mouse KEGG). Expliciturlstill overrides.species_id-aware — no change.The file is identical on
mainandzarr3, so this is a clean cherry-pick of themaincommit (verifiedruff check+ruff format --check). No zarr3-specific divergence in this module.See #240 for the full verification notes and the mouse "KEGG"→Reactome naming rationale.