Skip to content

Commit

Permalink
get mutation data from genomic event table instead of mutation table (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
onursumer authored Jul 26, 2023
1 parent 6987580 commit 4be9db4
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,15 @@
COUNT(DISTINCT sample_unique_id) as numberOfProfiledCases,
COUNT(DISTINCT sample_unique_id) as numberOfAlteredCases,
COUNT(*) as totalCount
FROM mutation
FROM genomic_event
<where>
sample_unique_id IN ( <include refid="sampleUniqueIdsFromStudyViewFilter"/>
variant_type = 'mutation'
AND
sample_unique_id IN ( <include refid="sampleUniqueIdsFromStudyViewFilter"/>
<if test="applyPatientIdFilters == true">
INTERSECT <include refid="getSampleIdsFromPatientIds"/>
</if>
)

</where>
GROUP BY hugo_gene_symbol
ORDER BY totalCount DESC;
Expand Down

0 comments on commit 4be9db4

Please sign in to comment.