Skip to content

Commit 2a5c789

Browse files
committed
Bugfix to NimbleAlignmentStep
1 parent 600cda3 commit 2a5c789

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ private File getCachedBarcodeFile(Readset rs, boolean throwIfNotFound) throws Pi
141141
private File getUmiMapping(File cellbarcodeFile) throws PipelineJobException
142142
{
143143
File ret = new File(cellbarcodeFile.getPath().replaceAll("cb.txt.gz", "umi.txt.gz"));
144-
if (ret == null || ! ret.exists())
144+
if (!ret.exists())
145145
{
146146
throw new PipelineJobException("Missing cached UMI file: " + ret.getPath());
147147
}

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
import org.labkey.api.sequenceanalysis.pipeline.AlignmentOutputImpl;
99
import org.labkey.api.sequenceanalysis.pipeline.AlignmentStep;
1010
import org.labkey.api.sequenceanalysis.pipeline.AlignmentStepProvider;
11+
import org.labkey.api.sequenceanalysis.pipeline.IndexOutputImpl;
1112
import org.labkey.api.sequenceanalysis.pipeline.PipelineContext;
1213
import org.labkey.api.sequenceanalysis.pipeline.ReferenceGenome;
1314
import org.labkey.api.sequenceanalysis.pipeline.SamtoolsRunner;
@@ -53,7 +54,7 @@ public NimbleBulkAlignmentStep(AlignmentStepProvider<?> provider, PipelineContex
5354
@Override
5455
public IndexOutput createIndex(ReferenceGenome referenceGenome, File outputDir) throws PipelineJobException
5556
{
56-
return null;
57+
return new IndexOutputImpl(referenceGenome);
5758
}
5859

5960
@Override

0 commit comments

Comments
 (0)