-
Notifications
You must be signed in to change notification settings - Fork 597
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
Pick the proper fusion gene partner #8602
Conversation
9bc5c5e
to
2132cee
Compare
2132cee
to
8298c22
Compare
if (site1Gene != null && !site1Gene.getEntrezGeneId().equals(fusion.getEntrezGeneId())) { | ||
pickedGene = site1Gene; | ||
} | ||
if (site2Gene != null && !site2Gene.getEntrezGeneId().equals(fusion.getEntrezGeneId())) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
shouldn't this be in else block or pickedGene == null
needs to be included in if caluse
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@kalletlak updated
8298c22
to
5a84cd6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
if (site2Gene != null) { | ||
structuralVariant.setSite2EntrezGeneId(site2Gene.getEntrezGeneId()); | ||
structuralVariant.setSite2HugoSymbol(site2Gene.getHugoGeneSymbol()); | ||
// we need to pick the right gene since the fusion gene has been assigned to structural variant site1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
site2Gene
is used if the first condition fails. may be move this inside else
block
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@kalletlak updated
5a84cd6
to
fa8f0c9
Compare
Kudos, SonarCloud Quality Gate passed! |
This is related to #8571