Skip to content

Commit 2253e02

Browse files
committed
Bugfix to NimbleAlignmentStep
1 parent 8921d0a commit 2253e02

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

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

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import org.jetbrains.annotations.Nullable;
55
import org.labkey.api.pipeline.PipelineJobException;
66
import org.labkey.api.sequenceanalysis.model.Readset;
7-
import org.labkey.api.sequenceanalysis.pipeline.AbstractAnalysisStepProvider;
7+
import org.labkey.api.sequenceanalysis.pipeline.AbstractAlignmentStepProvider;
88
import org.labkey.api.sequenceanalysis.pipeline.AlignmentOutputImpl;
99
import org.labkey.api.sequenceanalysis.pipeline.AlignmentStep;
1010
import org.labkey.api.sequenceanalysis.pipeline.AlignmentStepProvider;
@@ -26,17 +26,22 @@
2626

2727
public class NimbleBulkAlignmentStep extends AbstractAlignmentPipelineStep<NimbleBulkAlignmentStep.NimbleBulkWrapper> implements AlignmentStep
2828
{
29-
public static class Provider extends AbstractAnalysisStepProvider<NimbleAnalysis>
29+
public static class Provider extends AbstractAlignmentStepProvider<AlignmentStep>
3030
{
3131
public Provider()
3232
{
33-
super("NimbleBulkAnalysis", "Nimble (Bulk)", null, "This will run Nimble to generate a supplemental feature count matrix for the provided libraries. This version is intended for bulk input data. Please use the CellRanger/Nimble version for scRNA-seq", NimbleAlignmentStep.getToolParameters(), new LinkedHashSet<>(PageFlowUtil.set("sequenceanalysis/field/GenomeField.js", "singlecell/panel/NimbleAlignPanel.js")), null);
33+
super("Nimble-Bulk",
34+
"This will run Nimble to generate a supplemental feature count matrix for the provided libraries. This version is intended for bulk input data. Please use the CellRanger/Nimble version for scRNA-seq",
35+
NimbleAlignmentStep.getToolParameters(),
36+
new LinkedHashSet<>(PageFlowUtil.set("sequenceanalysis/field/GenomeField.js", "singlecell/panel/NimbleAlignPanel.js")),
37+
null,
38+
true, false, ALIGNMENT_MODE.MERGE_THEN_ALIGN);
3439
}
3540

3641
@Override
37-
public NimbleAnalysis create(PipelineContext ctx)
42+
public NimbleBulkAlignmentStep create(PipelineContext ctx)
3843
{
39-
return new NimbleAnalysis(this, ctx);
44+
return new NimbleBulkAlignmentStep(this, ctx, new NimbleBulkWrapper(ctx.getLogger()));
4045
}
4146
}
4247

0 commit comments

Comments
 (0)