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

Fix 9461 mutations api endpoint #9586

Closed

Conversation

jagnathan
Copy link
Collaborator

Fix #9461

  • remove properites fisValue, functionalImpactScore, linkMsa, linkPdb, linkXvar, refseqMrnaId from Mutations end point
  • modified java files to remove unused properties and changes to tests
  • db changes, mutationmapper.xml

@jagnathan jagnathan requested a review from inodb May 27, 2022 20:50
@sonarcloud
Copy link

sonarcloud bot commented May 27, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 7 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

Copy link
Member

@inodb inodb left a comment

Choose a reason for hiding this comment

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

LGTM 👍 - thank you!

Comment on lines 201 to 203
public String getOncotatorUniprotName() {
return oncotatorUniprotName;
}
Copy link
Member

Choose a reason for hiding this comment

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

@jagnathan I think we should remove all oncotator.* fields

Copy link
Member

@inodb inodb left a comment

Choose a reason for hiding this comment

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

Sorry just noticed something, maybe good to get rid of all oncotator.* fields if we are doing this?

Comment on lines 802 to 795
event.setDbSnpRs(rs.getString("DB_SNP_RS"));
event.setDbSnpValStatus(rs.getString("DB_SNP_VAL_STATUS"));
Copy link
Member

Choose a reason for hiding this comment

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

i think we can get rid of these as well

Copy link
Member

Choose a reason for hiding this comment

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

So maybe remove dbSnp* and oncotator*

Also - not sure if we are using canonical transcript still? I think we might be able to remove that one as well

Copy link
Member

Choose a reason for hiding this comment

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

Im not 100% sure about ONCOTATOR_PROTEIN_POS_START but I think it can be removed

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

oncotatorProteinPosStart and oncotatorProteinPosEnd are used for sorting in MutationSortBy Enum

- modified java files to remove unused properties and changes to tests
- db changes, mutationmapper.xml
- Update seed_mini.sql
fix 9461 removing Oncotator related properties
@jagnathan jagnathan force-pushed the fix-9461-mutations-api-endpoint branch from c7d3da5 to eeb85e9 Compare August 24, 2022 18:15
fix 9461 mutations api oncotator related fields
Using 0 instead of -1 for mutPos as 0 is a valid value for position.
@sonarcloud
Copy link

sonarcloud bot commented Sep 22, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell D 15 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

@jagnathan
Copy link
Collaborator Author

This PR has been superseded by the new PR #9817. Another PR will be created for oncotator* and dbSnp* fields

@jagnathan jagnathan closed this Sep 23, 2022
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.

Clean up Mutations end point
2 participants