Skip to content

Commit 5044819

Browse files
committed
Updating the output structure for rules prep_metaquast and metaquast
1 parent af75f16 commit 5044819

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

workflow/Snakefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,10 +116,10 @@ rule all:
116116
),
117117
# Metaquast, quality report of assembly
118118
expand(
119-
join(workpath,"temp","{name}","{name}.metaquast.fa"),
119+
join(workpath,"{name}","temp","{name}.metaquast.fa"),
120120
name=samples
121121
),
122122
expand(
123-
join(workpath,"output","{name}","{name}_metaquast","report.html"),
123+
join(workpath,"{name}","output","{name}_metaquast","report.html"),
124124
name=samples
125125
)

workflow/rules/paired-end.smk

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -528,12 +528,12 @@ rule prep_metaquast:
528528
input:
529529
report=join(workpath,"{name}","info","{name}.reads_kraken2_report.txt"),
530530
output:
531-
txt=join(workpath,"temp","{name}","{name}_reads_class_names.txt"),
532-
fa=join(workpath,"temp","{name}","{name}.metaquast.fa"),
531+
txt=join(workpath,"{name}","temp","{name}_reads_class_names.txt"),
532+
fa=join(workpath,"{name}","temp","{name}.metaquast.fa"),
533533
params:
534534
rname='prepmetaq',
535535
ncbi_viral=config['references']['ncbi_viral_fasta'],
536-
outdir=join(workpath,"temp","{name}","metaquastref"),
536+
outdir=join(workpath,"{name}","temp","metaquastref"),
537537
threads: int(allocated("threads", "prep_metaquast", cluster))
538538
envmodules:
539539
config['tools']['ucsc']
@@ -570,12 +570,13 @@ rule metaquast:
570570
input:
571571
metaspades=join(workpath,"{name}","output","{name}.metaspades.contigs.fa"),
572572
megahit=join(workpath,"{name}","output","{name}.megahit.contigs.fa"),
573+
dep=join(workpath,"{name}","temp","{name}.metaquast.fa"),
573574
output:
574-
report=join(workpath,"output","{name}","{name}_metaquast","report.html")
575+
report=join(workpath,"{name}","output","{name}_metaquast","report.html")
575576
params:
576577
rname='metaq',
577-
ref=join(workpath,"temp","{name}","metaquastref"),
578-
outdir=join(workpath,"output","{name}","{name}_metaquast"),
578+
ref=join(workpath,"{name}","temp","metaquastref"),
579+
outdir=join(workpath,"{name}","output","{name}_metaquast"),
579580
threads: int(allocated("threads", "metaquast", cluster))
580581
container:
581582
config['images']['metaquast']

0 commit comments

Comments
 (0)