Skip to content

Commit e75375f

Browse files
committed
Make nimble output gzipped results file
1 parent 65db685 commit e75375f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,6 +297,8 @@ public void doNimbleAlign(File bam, PipelineStepOutput output, Readset rs, Strin
297297
{
298298
if (SequencePipelineService.get().hasMinLineCount(results, 2))
299299
{
300+
long lineCount = SequencePipelineService.get().getLineCount(results);
301+
_ctx.getLogger().debug("Found {} lines in file {}", lineCount, results.getPath());
300302
throw new PipelineJobException("Unable to find file: " + reportHtml.getPath());
301303
}
302304
}
@@ -496,7 +498,7 @@ public static File runNimbleReport(File alignResultsGz, int genomeId, PipelineSt
496498
reportArgs.add("-i");
497499
reportArgs.add(alignResultsGz.getPath());
498500

499-
File reportResultsGz = new File(ctx.getWorkingDirectory(), "reportResults." + genomeId + ".txt");
501+
File reportResultsGz = new File(ctx.getWorkingDirectory(), "reportResults." + genomeId + ".txt.gz");
500502
if (reportResultsGz.exists())
501503
{
502504
reportResultsGz.delete();

0 commit comments

Comments
 (0)