mirror of
https://github.com/MillironX/sc2-sequencing.git
synced 2024-12-22 11:18:17 +00:00
Fix hardcoded task number to unzip fastqs
This commit is contained in:
parent
25625085d3
commit
254751899d
1 changed files with 1 additions and 1 deletions
|
@ -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%
|
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
|
# Unzip the fastqs
|
||||||
parallel --gnu -j12 --eta gunzip ::: "$OUTNAME"/*/*.fastq.gz
|
parallel --gnu -j"$NUMCPU" --eta gunzip ::: "$OUTNAME"/*/*.fastq.gz
|
||||||
|
|
||||||
# Squish them together
|
# Squish them together
|
||||||
cat "$OUTNAME"/*/*.fastq > "$OUTNAME"/"$RUNNAME".fastq
|
cat "$OUTNAME"/*/*.fastq > "$OUTNAME"/"$RUNNAME".fastq
|
||||||
|
|
Loading…
Reference in a new issue