Skip to content

Commit fdfd1ae

Browse files
committed
Bugfix to nimble awk command to output gzip
1 parent e9c5323 commit fdfd1ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ else if (!resultsGz.exists())
365365
{
366366
SimpleScriptWrapper runner = new SimpleScriptWrapper(getPipelineCtx().getLogger());
367367
File alignmentOutputFile2 = new File(alignmentOutputFile.getParentFile(), alignmentOutputFile.getName().replace(".txt.gz", ".subset.txt.gz"));
368-
runner.execute(Arrays.asList("/bin/bash", "-c", "zcat '" + alignmentOutputFile.getPath() + "' | awk -F '\t' ' $1!=\"\" ' > " + alignmentOutputFile2.getPath()));
368+
runner.execute(Arrays.asList("/bin/bash", "-c", "zcat '" + alignmentOutputFile.getPath() + "' | awk -F '\t' ' $1!=\"\" ' | gzip -c > " + alignmentOutputFile2.getPath()));
369369
}
370370
else
371371
{

0 commit comments

Comments
 (0)