feat: add a manual compendium for hand-curated cliques, EUPATH seed term, and source docs - #887
Open
SkyeAv wants to merge 9 commits into
Open
feat: add a manual compendium for hand-curated cliques, EUPATH seed term, and source docs#887SkyeAv wants to merge 9 commits into
SkyeAv wants to merge 9 commits into
Conversation
…nd an unstable AB flag for the final build
…l cliques with unstable AB flags
Member
Author
|
@gaurav should I want until I can build BABEL before continuing with this? I think I should probably merge current main to this branch and rebase my changes before merging sometime. |
…a-diversity # Conflicts: # .gitignore # CLAUDE.md # docs/sources/README.md
Merge the branch's unstable-gating/aggregator tests (formerly tests/test_snakefiles_util.py) into main's tests/test_snakefile_util.py so src/snakefiles/util.py has a single test module.
Member
Author
|
@gaurav regardless of if you merge the PR please let me know what you end up choosing to do with the unstable code so I can both update this PR and also change the development model moving forward |
…ble flag) The manual compendium no longer sits behind --config unstable=true. The manual.snakefile include, the all_outputs done-marker, and the compendium/synonym aggregators now always register Manual.txt; the unstable_enabled() helper, the config["unstable"] toggle, the related docs wording, and the gating tests are removed.
Member
Author
|
@gaurav Dropped the |
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.
Adds a manual compendium for hand-curated identifiers, seeds it with
EUPATH:0009259("Shannon-indexed alpha diversity data"), supports future multi-CURIE manual cliques viaequivalents, and documents both the reusable manual mechanism and the current EUPATH example.Manual Compendium
input_data/manual_terms.ndjsonas the source of truth for hand-curated entries.src/createcompendia/manual.pyandsrc/snakefiles/manual.snakefileto materialize per-prefixlabels/synonymsfiles and buildManual.txt.equivalentsso one NDJSON row can form a single multi-CURIE clique while keeping the primarycuriefirst.extra_prefixesso novel prefixes surviveNodeFactory.Snakefileandsrc/snakefiles/util.pyalways registerManual.txtin the compendium, synonym-export, report, KGX, DuckDB, and sapbert paths.Documentation
docs/sources/MANUAL/README.mdfor the reusable manual-ingestion path.docs/sources/EUPATH/README.mdfor the current EUPATH manual entry.docs/sources/README.mdso the new docs are discoverable alongside existing source docs like ENSEMBL and UMLS (the source-doc index is linked fromAGENTS.md).Testing
tests/createcompendia/test_manual.pyfor:tests/test_snakefile_util.pyalongside the existingduckdb_memory_limit_mbtests.uv run pytest -m unit --no-cov -q->412 passed, 105 deselecteduv run rumdl check .-> passeduv run snakemake -c 1 -n manualresolves themanual/manual_compendia/manual_labels_synonymsDAG with no extra config