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

Molecular-profile-counts service implementation #10840

Merged
merged 2 commits into from
Jun 20, 2024

Conversation

alisman
Copy link
Contributor

@alisman alisman commented Jun 18, 2024

No description provided.

@alisman alisman changed the title Molecular profile Molecular-profile-counts serice implementation Jun 18, 2024
@alisman alisman changed the title Molecular-profile-counts serice implementation Molecular-profile-counts service implementation Jun 19, 2024
@alisman alisman requested a review from haynescd June 19, 2024 15:12
Comment on lines +22 to +26
SELECT sample_mv.sample_unique_id
FROM sample_profile
JOIN genetic_profile gp ON sample_profile.genetic_profile_id = gp.genetic_profile_id
JOIN cancer_study cs ON gp.cancer_study_id = cs.cancer_study_id
JOIN sample_mv on sample_profile.sample_id = sample_mv.internal_id
Copy link
Collaborator

Choose a reason for hiding this comment

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

The genomic_event_derived table has this info without the need of a join.

Comment on lines +28 to +31
sample_mv.cancer_study_identifier IN
<foreach item="studyId" collection="studyViewFilter.studyIds" open="(" separator="," close=")">
#{studyId}
</foreach>
Copy link
Collaborator

Choose a reason for hiding this comment

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

Do you need this filter? Since the filter for studyIds are above?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@haynescd i m erged this PR but made follow up issues for this and the above comment

@alisman alisman merged commit 6998fc0 into cBioPortal:demo-rfc80-poc Jun 20, 2024
5 of 11 checks passed
@alisman alisman deleted the molecularProfile branch June 20, 2024 17:06
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