Skip to content

Conversation

@arine
Copy link
Member

@arine arine commented Nov 3, 2025

No description provided.

arine added 9 commits November 3, 2025 09:50
* Introduced a new GraphQL API endpoint for flexible data querying
* Enabled the GraphiQL playground interface in non-production environments
Added ClinVar schema and corresponding resolver to the GraphQL API, enabling ClinVar data querying through the GraphQL endpoint.
Added Gene schema and resolver to the GraphQL API, enabling gene-level queries.
* Added DIOPT-related GraphQL support:
  * DioptOrtholog
  * DioptDomain
  * DioptAlignment
* Implemented resolvers to enable querying these DIOPT data structures.
Add comprehensive Pharos target, drug, and ligand GraphQL schemas and
resolver
@arine arine requested a review from Copilot November 3, 2025 19:44
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds a GraphQL API layer to the MARRVEL server, providing unified access to various genomic databases including Clinvar, genes, DIOPT, phenotype ontology, Pharos, and STRING protein-protein interactions.

Key changes:

  • Added GraphQL dependencies (graphql, graphql-http, ruru) and upgraded Express to v4.21.2
  • Implemented GraphQL schemas and resolvers for Clinvar, genes, DIOPT, phenotype ontology, Pharos, and STRING databases
  • Configured GraphQL endpoint at /graphql with GraphiQL interface at /graphiql for development

Reviewed Changes

Copilot reviewed 18 out of 19 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
server/package.json Added GraphQL dependencies and upgraded Express
server/package-lock.json Updated lock file with new dependencies
server/models/string-interactions.model.js Added Mongoose model for STRING protein-protein interactions
server/graphql/schemas/*.graphql Defined GraphQL type definitions for all data sources
server/graphql/resolvers/*.resolvers.js Implemented resolver functions for GraphQL queries
server/graphql/graphqlHandler.js Main GraphQL handler that combines schemas and resolvers
server/graphql/index.js Module entry point and documentation
server/graphql/README.md Comprehensive API documentation with examples
server/app.js Integrated GraphQL endpoints into Express application
Files not reviewed (1)
  • server/package-lock.json: Language not supported

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@arine arine merged commit 5782449 into master Nov 3, 2025
2 checks passed
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.

2 participants