Skip to content

Commit b1d2053

Browse files
committed
Default to splitting feature barcode jobs
1 parent 8f9c9d6 commit b1d2053

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

singlecell/src/org/labkey/singlecell/run/CellRangerFeatureBarcodeHandler.java

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
import org.labkey.api.sequenceanalysis.pipeline.SequenceAnalysisJobSupport;
1818
import org.labkey.api.sequenceanalysis.pipeline.SequenceOutputHandler;
1919
import org.labkey.api.sequenceanalysis.pipeline.SequencePipelineService;
20+
import org.labkey.api.sequenceanalysis.pipeline.ToolParameterDescriptor;
2021
import org.labkey.api.sequenceanalysis.run.SimpleScriptWrapper;
2122
import org.labkey.api.singlecell.CellHashingService;
2223
import org.labkey.api.util.FileUtil;
@@ -38,7 +39,17 @@ public class CellRangerFeatureBarcodeHandler extends AbstractParameterizedOutput
3839

3940
public CellRangerFeatureBarcodeHandler()
4041
{
41-
super(ModuleLoader.getInstance().getModule(SingleCellModule.class), "Create CITE-seq/Cell Hashing Counts", "This will run cellranger to generate the raw cite-seq or cell hashing count matrix. It will infer the correct ADT/hashing index sets based on the cDNA library table, and will fail if these readsets are not registered here.", null, null);
42+
super(ModuleLoader.getInstance().getModule(SingleCellModule.class), "Create CITE-seq/Cell Hashing Counts", "This will run cellranger to generate the raw cite-seq or cell hashing count matrix. It will infer the correct ADT/hashing index sets based on the cDNA library table, and will fail if these readsets are not registered here.", null, Arrays.asList(
43+
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(){{
44+
put("checked", true);
45+
}}, false)
46+
));
47+
}
48+
49+
@Override
50+
public boolean doSplitJobs()
51+
{
52+
return true;
4253
}
4354

4455
@Override

0 commit comments

Comments
 (0)