Skip to content

Commit bf3b1fe

Browse files
committed
Bugfixes to cDNA import for dual indexes
1 parent 2f14720 commit bf3b1fe

File tree

2 files changed

+15
-4
lines changed

2 files changed

+15
-4
lines changed

singlecell/resources/web/singlecell/panel/PoolImportPanel.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -938,8 +938,9 @@ Ext4.define('SingleCell.panel.PoolImportPanel', {
938938
LDK.Assert.assertNotEmpty('Expected non-null workbook', workbook);
939939
readsetRows.push({
940940
name: poolName + '-' + type,
941-
barcode5: isDualIndex ? idxValues[0] + '_F' : idxValues[0],
942-
barcode3: isDualIndex ? idxValues[0] + '_R' : null,
941+
// SI- is a proxy for being 10x (i.e. not multiseq)
942+
barcode5: isDualIndex && idxValues[0].startsWith('SI-') ? idxValues[0] + '_F' : idxValues[0],
943+
barcode3: isDualIndex && idxValues[0].startsWith('SI-') ? idxValues[0] + '_R' : null,
943944
concentration: conc[0],
944945
fragmentSize: fragment[0],
945946
platform: 'ILLUMINA',

singlecell/resources/web/singlecell/panel/cDNAImportPanel.js

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,19 +127,29 @@ Ext4.define('SingleCell.panel.cDNAImportPanel', {
127127
fieldLabel: 'Require Library Concentrations',
128128
itemId: 'requireConc',
129129
checked: true
130+
},{
131+
xtype: 'checkbox',
132+
fieldLabel: 'Use 10x V2/HT (Dual Index)',
133+
itemId: 'useDualIndex',
134+
listeners: {
135+
change: function(field, val){
136+
field.up('panel').down('#barcodeSeries').setValue(field.getValue() ? 'SI-TT' : 'SI-GA');
137+
field.up('panel').down('#citeseqBarcodeSeries').setValue(field.getValue() ? 'SI-TN' : 'SI-NA');
138+
}
139+
}
130140
},{
131141
xtype: 'ldk-simplecombo',
132142
fieldLabel: '10x GEX/TCR Barcode Series',
133143
itemId: 'barcodeSeries',
134144
forceSelection: true,
135-
storeValues: ['SI-GA'],
145+
storeValues: ['SI-GA', 'SI-TT'],
136146
value: 'SI-GA'
137147
},{
138148
xtype: 'ldk-simplecombo',
139149
fieldLabel: '10x Cite-Seq Barcode Series',
140150
itemId: 'citeseqBarcodeSeries',
141151
forceSelection: true,
142-
storeValues: ['SI-NA'],
152+
storeValues: ['SI-NA', 'SI-TN'],
143153
value: 'SI-NA'
144154
},{
145155
xtype: 'ldk-simplelabkeycombo',

0 commit comments

Comments
 (0)