Skip to content

Commit 8b045ae

Browse files
committed
Include index name in 10x library export
1 parent cb6420f commit 8b045ae

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

singlecell/resources/web/singlecell/panel/LibraryExportPanel.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -815,6 +815,8 @@ Ext4.define('SingleCell.panel.LibraryExportPanel', {
815815
return;
816816
}
817817

818+
var barcode5Name = r[fieldName + '/barcode5'] ? r[fieldName + '/barcode5'].replace(/_F$/, '') : ''
819+
818820
var barcode3s = r[fieldName + '/barcode3/sequence'] ? r[fieldName + '/barcode3/sequence'].split(',') : [];
819821
if (barcode3s.length && barcode3s.length !== barcode5s.length) {
820822
var msg = 'Unequal i7/i5 barcodes: ' + sampleName;
@@ -878,7 +880,7 @@ Ext4.define('SingleCell.panel.LibraryExportPanel', {
878880

879881
//data.push(phiX); //PhiX
880882
data.push(r.laneAssignment || '');
881-
883+
data.push(barcode5Name || '');
882884
}
883885
rows.push(data.join(delim));
884886
}, this);

0 commit comments

Comments
 (0)