From 254751899d18f438780cd278dc0308826f069332 Mon Sep 17 00:00:00 2001 From: "Thomas A. Christensen II" <25492070+MillironX@users.noreply.github.com> Date: Tue, 30 Mar 2021 08:52:23 -0600 Subject: [PATCH] Fix hardcoded task number to unzip fastqs --- ont/ont-demux | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ont/ont-demux b/ont/ont-demux index f551131..caf7b22 100644 --- a/ont/ont-demux +++ b/ont/ont-demux @@ -14,7 +14,7 @@ OUTNAME="$RUNNAME"_demux guppy_barcoder --input_path "$RUNNAME" --save_path "$OUTNAME" --recursive --records_per_fastq 0 --compress_fastq --worker_threads "$NUMCPU" --device cuda:all:100% # Unzip the fastqs -parallel --gnu -j12 --eta gunzip ::: "$OUTNAME"/*/*.fastq.gz +parallel --gnu -j"$NUMCPU" --eta gunzip ::: "$OUTNAME"/*/*.fastq.gz # Squish them together cat "$OUTNAME"/*/*.fastq > "$OUTNAME"/"$RUNNAME".fastq