Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add options to connect to database for c. annotation #13

Open
wants to merge 11 commits into
base: master
Choose a base branch
from

Conversation

bprize15
Copy link

@bprize15 bprize15 commented Nov 4, 2024

Add support for connecting to MySQL database to annotate c. variants

@bprize15 bprize15 marked this pull request as draft November 4, 2024 21:34
@bprize15 bprize15 marked this pull request as ready for review November 4, 2024 22:01
@inodb inodb requested review from leexgh and inodb November 4, 2024 22:02
@@ -98,4 +98,67 @@ public void fetchVepAnnotationByRegionsPOST(
return;
}

@RequestMapping(value = "/vep/human/hgvsc/{hgvsc}",
Copy link
Member

Choose a reason for hiding this comment

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

Since database is optional, should we hide or disable this endpoint when no database?

}
}

@RequestMapping(value = "/vep/human/hgvsc",
Copy link
Member

Choose a reason for hiding this comment

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

Same here, should we hide or disable this endpoint when no database?

@bprize15 bprize15 requested a review from leexgh November 8, 2024 16:57
Comment on lines 46 to 68
@Value("${database.grch37.host}")
private String grch37DatabaseHost;

@Value("${database.grch37.port}")
private String grch37DatabasePort;

@Value("${database.grch37.user}")
private String grch37DatabaseUser;

@Value("${database.grch37.password}")
private String grch37DatabasePassword;

@Value("${database.grch38.host}")
private String grch38DatabaseHost;

@Value("${database.grch38.port}")
private String grch38DatabasePort;

@Value("${database.grch38.user}")
private String grch38DatabaseUser;

@Value("${database.grch38.password}")
private String grch38DatabasePassword;
Copy link
Member

Choose a reason for hiding this comment

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

let's use similar setup here as for the genome nexus backend (one vep per genome nexus instance), so maybe this can be simplified to database.host database.port etc

@bprize15 bprize15 requested a review from inodb November 19, 2024 22:11
remove password
@bprize15 bprize15 force-pushed the feat/add-cdna-endpoints branch from 04056fe to 9903e84 Compare December 16, 2024 13:14
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.

3 participants