Skip to content

Commit 175d28d

Browse files
committed
Support scatter/gather for liftover
1 parent 350d81e commit 175d28d

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

SequenceAnalysis/resources/web/SequenceAnalysis/panel/VariantScatterGatherPanel.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ Ext4.define('SequenceAnalysis.panel.VariantScatterGatherPanel', {
33
alias: 'widget.sequenceanalysis-variantscattergatherpanel',
44

55
defaultFieldWidth: null,
6+
labelWidth: null,
67

78
initComponent: function (){
89
Ext4.apply(this, {

SequenceAnalysis/resources/web/SequenceAnalysis/window/LiftoverWindow.js

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Ext4.define('SequenceAnalysis.window.LiftoverWindow', {
5656
containerPath: containerPath,
5757
dataRegionName: dataRegionName,
5858
outputFileIds: checked,
59-
libraryId: distinctGenomes.length == 1 ? distinctGenomes[0] : null,
59+
libraryId: distinctGenomes.length === 1 ? distinctGenomes[0] : null,
6060
toolParameters: results.toolParameters
6161
}).show();
6262
}
@@ -71,7 +71,7 @@ Ext4.define('SequenceAnalysis.window.LiftoverWindow', {
7171
initComponent: function(){
7272
Ext4.apply(this, {
7373
bodyStyle: 'padding: 5px;',
74-
width: 500,
74+
width: 600,
7575
modal: true,
7676
title: 'Liftover File(s) To Alternate Genome',
7777
items: [{
@@ -117,12 +117,17 @@ Ext4.define('SequenceAnalysis.window.LiftoverWindow', {
117117
itemId: 'useBcfTools',
118118
checked: true,
119119
fieldLabel: 'Use bcftools'
120-
},{
120+
}, {
121121
xtype: 'checkbox',
122122
itemId: 'doNotRetainUnmapped',
123123
checked: false,
124124
fieldLabel: 'Do Not Retain Unmapped'
125-
}].concat(SequenceAnalysis.window.OutputHandlerWindow.getCfgForToolParameters(this.toolParameters)),
125+
}].concat(SequenceAnalysis.window.OutputHandlerWindow.getCfgForToolParameters(this.toolParameters)).concat([{
126+
xtype: 'sequenceanalysis-variantscattergatherpanel',
127+
defaultFieldWidth: 500,
128+
labelWidth: 200,
129+
bodyStyle: ''
130+
}]),
126131
buttons: [{
127132
text: 'Submit',
128133
handler: this.onSubmit,

0 commit comments

Comments
 (0)