Skip to content

Commit f3f2141

Browse files
committed
Update variant filter panel
1 parent 72fb324 commit f3f2141

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

SequenceAnalysis/resources/web/SequenceAnalysis/panel/VariantFilterPanel.js

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,18 @@ Ext4.define('SequenceAnalysis.panel.VariantFilterPanel', {
6565
handler: function(gridBtn){
6666
this.addFilter('Depth100', 'vc.hasAttribute(\'DP\') && DP > 100.0');
6767
}
68+
},{
69+
text: 'High IMPACT',
70+
scope: this,
71+
handler: function(gridBtn){
72+
this.addFilter('High-IMPACT', 'IMPACT == \'HIGH\'');
73+
}
74+
},{
75+
text: 'CADD PH',
76+
scope: this,
77+
handler: function(gridBtn){
78+
this.addFilter('CADD_PH', 'CADD_PH > 25');
79+
}
6880
},{
6981
text: 'No Genotypes Called',
7082
scope: this,
@@ -100,7 +112,7 @@ Ext4.define('SequenceAnalysis.panel.VariantFilterPanel', {
100112
editor: {
101113
xtype: 'textfield',
102114
allowBlank: false,
103-
stripCharsRe: /(^['"]+)|(['"]+$)/g
115+
stripCharsRe: /(^["]+)|(["]+$)/g
104116
}
105117
//}, {
106118
// dataIndex: 'invert',

0 commit comments

Comments
 (0)