Remove Neo4j ID set filtering from curation indexers#1563
Merged
Conversation
The curation API is now the authoritative data source. The Neo4j ID cross-reference filters were a legacy gate from when Neo4j was the source of truth. Existing obsolete/internal checks remain as the data quality filter. Removed Neo4j filtering from: - GeneToGeneOrthologyIndexer (objectGene filter) - GeneMolecularInteractionService (interacting genes filter) - GeneGeneticInteractionService (genes + alleles filter) - GenePhenotypeAnnotationService (subject gene filter) - AllelePhenotypeAnnotationService (subject allele filter) - AGMPhenotypeAnnotationService (subject AGM filter) - SiteMapAccessionCurationIndexer (retainAll intersection) - BaseService (all Neo4j repository usage and ID set methods) - BaseInteractionService (hasInteractingGenesInNeo method)
0f14562 to
fa60120
Compare
Code ReviewThe changes look correct. This is a clean removal of the Neo4j ID cross-reference filtering from all curation indexers, making the curation API the sole authority for entity validity. Verified:
No issues found. |
cmpich
approved these changes
Apr 10, 2026
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
BaseServiceno longer has any Neo4j dependencies (removedAlleleRepository,GeneRepository,VariantRepositoryusage)Indexers updated
GeneToGeneOrthologyIndexer— removed objectGene Neo4j filterGeneMolecularInteractionService— removed interacting genes Neo4j filterGeneGeneticInteractionService— removed genes + perturbating alleles Neo4j filterGenePhenotypeAnnotationService— removed subject gene Neo4j filterAllelePhenotypeAnnotationService— removed subject allele Neo4j filterAGMPhenotypeAnnotationService— removed subject AGM Neo4j filterSiteMapAccessionCurationIndexer— removedretainAll()intersection with Neo4j gene/allele ID setsTest plan