Skip to content

Commit a0c56b8

Browse files
committed
Allow single-cell pipeline to use raw counts or seurat object as input
1 parent d6fe4ae commit a0c56b8

File tree

5 files changed

+706
-604
lines changed

5 files changed

+706
-604
lines changed

singlecell/api-src/org/labkey/api/singlecell/pipeline/AbstractSingleCellPipelineStep.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -124,9 +124,6 @@ public Output execute(SequenceOutputHandler.JobContext ctx, List<SeuratObjectWra
124124
output.setSeuratObjects(outputs);
125125
}
126126

127-
output.setHtmlFile(getExpectedHtmlFile(ctx, outputPrefix));
128-
output.setMarkdownFile(getExpectedMarkdownFile(ctx, outputPrefix));
129-
130127
return output;
131128
}
132129

singlecell/src/org/labkey/singlecell/SingleCellModule.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,13 @@
3030
import org.labkey.api.singlecell.pipeline.SingleCellStep;
3131
import org.labkey.api.util.PageFlowUtil;
3232
import org.labkey.api.view.WebPartFactory;
33+
import org.labkey.singlecell.analysis.AbstractSingleCellHandler;
3334
import org.labkey.singlecell.analysis.CellHashingHandler;
3435
import org.labkey.singlecell.analysis.CellRangerRawDataHandler;
3536
import org.labkey.singlecell.analysis.CellRangerSeuratHandler;
3637
import org.labkey.singlecell.analysis.CiteSeqHandler;
3738
import org.labkey.singlecell.analysis.LoupeCellHashingHandler;
39+
import org.labkey.singlecell.analysis.ProcessSeuratObjectHandler;
3840
import org.labkey.singlecell.analysis.ProcessSingleCellHandler;
3941
import org.labkey.singlecell.analysis.SeuratCellHashingHandler;
4042
import org.labkey.singlecell.analysis.SeuratCiteSeqHandler;
@@ -155,6 +157,7 @@ public static void registerPipelineSteps()
155157
SequenceAnalysisService.get().registerFileHandler(new CellRangerSeuratHandler());
156158
SequenceAnalysisService.get().registerFileHandler(new CellRangerRawDataHandler());
157159
SequenceAnalysisService.get().registerFileHandler(new ProcessSingleCellHandler());
160+
SequenceAnalysisService.get().registerFileHandler(new ProcessSeuratObjectHandler());
158161

159162
//Single-cell:
160163
SequencePipelineService.get().registerPipelineStep(new AppendCiteSeq.Provider());
@@ -185,7 +188,7 @@ public static void registerPipelineSteps()
185188
public Set<Class> getUnitTests()
186189
{
187190
return PageFlowUtil.set(
188-
ProcessSingleCellHandler.TestCase.class
191+
AbstractSingleCellHandler.TestCase.class
189192
);
190193
}
191194
}

0 commit comments

Comments
 (0)