Skip to content
Snippets Groups Projects
Commit 31a6605d authored by Valentina Galata's avatar Valentina Galata
Browse files

fixed paths for some mash rules (issue #79)

parent 3df1c26a
No related branches found
No related tags found
No related merge requests found
......@@ -179,7 +179,7 @@ rule analysis_mash_sketch_sr:
r1=os.path.join(RESULTS_DIR, "preproc/{mtype}/sr/R1.fastp.fastq.gz"),
r2=os.path.join(RESULTS_DIR, "preproc/{mtype}/sr/R2.fastp.fastq.gz")
output:
temp("preproc/{mtype}/sr/fastp.msh")
temp(os.path.join(RESULTS_DIR, "preproc/{mtype}/sr/fastp.msh"))
log:
"logs/mash.sketch.{mtype}.sr.log"
wildcard_constraints:
......@@ -194,7 +194,7 @@ rule analysis_mash_sketch_lr:
input:
os.path.join(RESULTS_DIR, "preproc/metag/lr/lr.fastq.gz")
output:
temp("preproc/metag/lr/fastp.msh")
temp(os.path.join(RESULTS_DIR, "preproc/metag/lr/fastp.msh"))
log:
"logs/mash.sketch.metag.lr.log"
threads: 1
......@@ -205,8 +205,8 @@ rule analysis_mash_sketch_lr:
rule analysis_mash_paste_reads:
input:
sr=expand("preproc/{mtype}/sr/fastp.msh", mtype=META_TYPES),
lr="preproc/metag/lr/fastp.msh"
sr=expand(os.path.join(RESULTS_DIR, "preproc/{mtype}/sr/fastp.msh"), mtype=META_TYPES),
lr=os.path.join(RESULTS_DIR, "preproc/metag/lr/fastp.msh")
output:
os.path.join(RESULTS_DIR, "analysis/mash/reads.msh")
threads: 1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment