Skip to content

Commit

Permalink
feat: add svBurdenHidden flag field to mutationBurden
Browse files Browse the repository at this point in the history
DEVSU-2461
  • Loading branch information
kttkjl committed Oct 16, 2024
1 parent db8abe3 commit 946a7cd
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 10 additions & 0 deletions app/models/reports/mutationBurden.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,16 @@ module.exports = (sequelize, Sq) => {
description: 'somatic indels and SNVs per megabase in the genome',
},
},
svBurdenHidden: {
name: 'svBurdenHidden',
field: 'sv_burden_hidden',
type: Sq.BOOLEAN,
defaultValue: false,
allowNull: false,
jsonSchema: {
description: 'SV Burden Hidden',
},
},
}, {
...DEFAULT_REPORT_OPTIONS,
tableName: 'reports_mutation_burden',
Expand Down
2 changes: 1 addition & 1 deletion test/routes/report/mutationBurden.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const mutationBurdenProperties = [
'ident', 'createdAt', 'updatedAt', 'role', 'codingSnvCount', 'truncatingSnvCount',
'codingIndelsCount', 'frameshiftIndelsCount', 'qualitySvCount', 'qualitySvExpressedCount',
'codingSnvPercentile', 'codingIndelPercentile', 'qualitySvPercentile',
'totalSnvCount', 'totalIndelCount', 'totalMutationsPerMb',
'totalSnvCount', 'totalIndelCount', 'totalMutationsPerMb', 'svBurdenHidden',
];

const checkMutationBurden = (mutationObject) => {
Expand Down

0 comments on commit 946a7cd

Please sign in to comment.