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

better expression to list targets for assembly step

parent e71b9507
No related branches found
No related tags found
No related merge requests found
......@@ -7,9 +7,13 @@ include:
rule ASSEMBLY:
input:
lr=expand(os.path.join(RESULTS_DIR, "assembly/lr/{tool}/ASSEMBLY.FILTERED.fasta"), tool=config["assemblers"]["lr"]),
sr=expand(os.path.join(RESULTS_DIR, "assembly/sr/{tool}/ASSEMBLY.FILTERED.fasta"), tool=config["assemblers"]["sr"]),
hy=expand(os.path.join(RESULTS_DIR, "assembly/hy/{tool}/ASSEMBLY.FILTERED.fasta"), tool=config["assemblers"]["hy"]),
hyhy=expand(os.path.join(RESULTS_DIR, "assembly/hyhy/{tool}/ASSEMBLY.FILTERED.fasta"), tool=config["assemblers"]["hyhy"]),
# lr=expand(os.path.join(RESULTS_DIR, "assembly/lr/{tool}/ASSEMBLY.FILTERED.fasta"), tool=config["assemblers"]["lr"]),
# sr=expand(os.path.join(RESULTS_DIR, "assembly/sr/{tool}/ASSEMBLY.FILTERED.fasta"), tool=config["assemblers"]["sr"]),
# hy=expand(os.path.join(RESULTS_DIR, "assembly/hy/{tool}/ASSEMBLY.FILTERED.fasta"), tool=config["assemblers"]["hy"]),
# hyhy=expand(os.path.join(RESULTS_DIR, "assembly/hyhy/{tool}/ASSEMBLY.FILTERED.fasta"), tool=config["assemblers"]["hyhy"]),
expand(
os.path.join(RESULTS_DIR, "assembly/{rtype_tool}/ASSEMBLY.FILTERED.fasta"),
rtype_tool=["%s/%s" % (rtype, tool) for rtype, tool in READ_ASSEMBLERS],
)
output:
touch("status/assembly.done")
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