Skip to content

Commit a35d85d

Browse files
committed
- Expand SDA plotting
- Allow TCR cell hashing to use demuxEM
1 parent ffd440b commit a35d85d

File tree

1 file changed

+2
-12
lines changed

1 file changed

+2
-12
lines changed

tcrdb/src/org/labkey/tcrdb/pipeline/CellRangerVDJCellHashingHandler.java

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -62,12 +62,9 @@ private static List<ToolParameterDescriptor> getDefaultParams()
6262
ToolParameterDescriptor.create("useOutputFileContainer", "Submit to Source File Workbook", "If checked, each job will be submitted to the same workbook as the input file, as opposed to submitting all jobs to the same workbook. This is primarily useful if submitting a large batch of files to process separately. This only applies if 'Run Separately' is selected.", "checkbox", new JSONObject(){{
6363
put("checked", true);
6464
}}, false)
65-
// ToolParameterDescriptor.create(USE_GEX_BARCODES, "Use GEX and TCR Cell Barcodes", "If checked, the cell barcode whitelist used for cell hashing will be the union of TCR and GEX cell barcodes. If T-cells are a rare component of total cells, this might enhance the effectiveness of the callers by providing more positive signal.", "checkbox", new JSONObject(){{
66-
// put("checked", true);
67-
// }}, false)
6865
));
6966

70-
ret.addAll(CellHashingService.get().getHashingCallingParams(false));
67+
ret.addAll(CellHashingService.get().getHashingCallingParams(true));
7168

7269
return ret;
7370
}
@@ -114,14 +111,7 @@ public class Processor implements SequenceOutputHandler.SequenceOutputProcessor
114111
public void init(JobContext ctx, List<SequenceOutputFile> inputFiles, List<RecordedAction> actions, List<SequenceOutputFile> outputsToCreate) throws UnsupportedOperationException, PipelineJobException
115112
{
116113
//NOTE: this is the pathway to import assay data, whether hashing is used or not
117-
CellHashingService.get().prepareHashingForVdjIfNeeded(ctx.getOutputDir(), ctx.getJob(), ctx.getSequenceSupport(), "tcrReadsetId", false);
118-
119-
if (ctx.getParams().optBoolean(USE_GEX_BARCODES, false))
120-
{
121-
ctx.getJob().getLogger().info("The union of TCR and GEX cell barcodes will be used for calling");
122-
Map<Integer, File> vLoupeIdToGexBarcodeDir = new HashMap<>();
123-
124-
}
114+
CellHashingService.get().prepareHashingForVdjIfNeeded(ctx, false);
125115
}
126116

127117
@Override

0 commit comments

Comments
 (0)