Skip to content

Commit e30f64f

Browse files
committed
Validated workflow
1 parent ce942a6 commit e30f64f

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

Snakefile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -313,6 +313,7 @@ rule fastqc_dump_fastq:
313313
mkdir -p $(dirname {output})
314314
fastqc {input} --threads {threads} -o $(dirname {output})
315315
mv {params.fastqc_output_name} {output}
316+
echo "\nFastQC finished for {input} (1/1)\n"K
316317
"""
317318

318319

@@ -380,7 +381,7 @@ if str(config["PERFORM_TRIM"]).lower() == "true":
380381
def get_fastqc_trim_threads(wildcards, input):
381382
threads = 1
382383
tag = get_tag(str(input))
383-
if tag in ["1", "S"]: threads = 10
384+
if tag in ["1", "S"]: threads = 15
384385
elif tag == "2": threads = 1
385386
return threads
386387
def get_fastqc_trim_runtime(wildcards, input, attempt):
@@ -407,8 +408,9 @@ if str(config["PERFORM_TRIM"]).lower() == "true":
407408
# Process forward reads and reverse reads after trim_galore has finished them
408409
if [ "{params.direction}" == "1" ]; then
409410
fastqc {input} --threads {threads} -o $(dirname {output})
410-
echo "FastQC finished $(basename {input}) (1/2)"
411+
echo "\nFastQC finished $(basename {input}) (1/2)\n"
411412
fastqc {params.file_two_input} --threads {threads} -o $(dirname {params.file_two_out})
413+
echo "\nFastQC finished $(basename {params.file_two_input} (2/2)\n"
412414
elif [ "{params.direction}" == "2" ]; then
413415
mkdir -p $(dirname {output})
414416
touch {output}

0 commit comments

Comments
 (0)