Skip to content

Commit ab24cc3

Browse files
committed
Bugfix to cell hashing command
1 parent 69479e9 commit ab24cc3

File tree

1 file changed

+13
-10
lines changed

1 file changed

+13
-10
lines changed

singlecell/src/org/labkey/singlecell/CellHashingServiceImpl.java

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1268,20 +1268,23 @@ public File generateCellHashingCalls(File citeSeqCountOutDir, File outputDir, St
12681268
String doTSNE = parameters.doTSNE ? "TRUE" : "FALSE";
12691269
String h5String = h5 == null ? "" : ", rawFeatureMatrixH5 = '/work/" + h5.getName() + "'";
12701270
String consensusMethodString = consensusMethodNames.isEmpty() ? "" : ", methodsForConsensus = c('" + StringUtils.join(consensusMethodNames, "','") + "')";
1271-
writer.println("f <- cellhashR::CallAndGenerateReport(rawCountData = '/work/" + citeSeqCountOutDir.getName() + "'" + h5String + ", molInfoFile = '/work/" + molInfo.getName() +
1272-
"', reportFile = '/work/" + htmlFile.getName() +
1273-
"', callFile = '/work/" + callsFile.getName() +
1274-
"', metricsFile = '/work/" + metricsFile.getName() +
1275-
"', rawCountsExport = '/work/" + countFile.getName() +
1276-
"', cellbarcodeWhitelist = " + cellbarcodeWhitelist + ", barcodeWhitelist = " + allowableBarcodeParam +
1277-
", title = '" + parameters.getReportTitle() +
1278-
"', skipNormalizationQc = " + skipNormalizationQcString +
1279-
", methods = c('" + StringUtils.join(methodNames, "','") + "')" + consensusMethodString +
1271+
writer.println("f <- cellhashR::CallAndGenerateReport(rawCountData = '/work/" + citeSeqCountOutDir.getName() + "'" + h5String +
1272+
", molInfoFile = '/work/" + molInfo.getName() + "'" +
1273+
", reportFile = '/work/" + htmlFile.getName() + "'" +
1274+
", callFile = '/work/" + callsFile.getName() + "'" +
1275+
", metricsFile = '/work/" + metricsFile.getName() + "'" +
1276+
", rawCountsExport = '/work/" + countFile.getName() + "'" +
1277+
", cellbarcodeWhitelist = " + cellbarcodeWhitelist +
1278+
", barcodeWhitelist = " + allowableBarcodeParam +
1279+
", title = '" + parameters.getReportTitle() + "'" +
1280+
", skipNormalizationQc = " + skipNormalizationQcString +
1281+
", methods = c('" + StringUtils.join(methodNames, "','") + "')" +
1282+
consensusMethodString +
12801283
", keepMarkdown = " + keepMarkdown +
12811284
", minCountPerCell = " + (parameters.minCountPerCell == null ? "NULL" : parameters.minCountPerCell) +
12821285
", majorityConsensusThreshold = " + (parameters.majorityConsensusThreshold == null ? "NULL" : parameters.majorityConsensusThreshold) +
12831286
", callerDisagreementThreshold = " + (parameters.callerDisagreementThreshold == null ? "NULL" : parameters.callerDisagreementThreshold) +
1284-
(parameters.minAllowableDoubletRateFilter == null ? "" : "', minAllowableDoubletRateFilter = " + parameters.minAllowableDoubletRateFilter) +
1287+
(parameters.minAllowableDoubletRateFilter == null ? "" : ", minAllowableDoubletRateFilter = " + parameters.minAllowableDoubletRateFilter) +
12851288
", doTSNE = " + doTSNE + ")");
12861289
writer.println("print('Rmarkdown complete')");
12871290

0 commit comments

Comments
 (0)