Skip to content

TASK-7983 - Fix the clinical interpretation analysis tool#2633

Merged
jtarraga merged 31 commits intodevelopfrom
TASK-7983
Dec 10, 2025
Merged

TASK-7983 - Fix the clinical interpretation analysis tool#2633
jtarraga merged 31 commits intodevelopfrom
TASK-7983

Conversation

@jtarraga
Copy link
Copy Markdown
Member

Fix the clinical interpretation analysis tool

jtarraga and others added 20 commits October 21, 2025 12:06
  - update according to biodata changes
  - improve tiering params for tiering wrapper analysis
  - fix sonnar issues
…by using the configuration file, and adding JUnit tests, #TASK-7983
…prove rd interpretation analysis by adding name, description and primary/secondary interpretation support, #TASK-7983
for (String panelId : panelIds) {
OpenCGAResult<Panel> panelResult = catalogManager.getPanelManager().get(study, panelId, QueryOptions.empty(), token);
if (panelResult.getNumResults() == 0) {
logger.warn("Panel '{}' not found. Skipping it.", panelId);

Check notice

Code scanning / SonarCloud

Logging should not be vulnerable to injection attacks Low

Change this code to not log user-controlled data. See more on SonarQube Cloud
Comment thread opencga-analysis/pom.xml
StopWatch stopWatch = StopWatch.createStarted();

for (String panelAppId : panelAppIds) {
URL url = new URL("https://panelapp.genomicsengland.co.uk/api/v1/panels/" + panelAppId + "?format=json");
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Could this URL be moved to the configuration file?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

You had already the

String host = configuration.getPanel().getHost();

Why hardcoding the URL, and deprecating the "panel" section from configuration.yml ?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

That host configuration was useful to know where all our pre-parsed Panels could be located but always following some specific convention and mainly because that url could easily change. We are no longer doing things that way and we are now downloading, parsing and registering panels directly. Panels from panel app have been stored in that url for years. I don't think we are storing clinvar ncbi url in the configuration either, are we?

@jtarraga jtarraga requested a review from j-coll December 3, 2025 09:22
j-coll
j-coll previously approved these changes Dec 3, 2025
@jtarraga jtarraga merged commit 71d59c9 into develop Dec 10, 2025
11 of 13 checks passed
@jtarraga jtarraga deleted the TASK-7983 branch December 10, 2025 09:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

6 participants