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

mapping step: no metat output if no metat data given

parent 07f363a3
No related branches found
No related tags found
1 merge request!76Merge "cleanup" branch with "master" branch
......@@ -12,7 +12,7 @@ rule MAPPING:
metat=expand(
os.path.join(RESULTS_DIR, "mapping/metat/{rtype_tool}.bam"),
rtype_tool=["{r}/{t}/ASSEMBLY_sr".format(r=r, t=t) for r, t in READ_ASSEMBLERS]
)
) if "metat" in META_TYPES else []
output:
touch("status/mapping.done")
......@@ -25,7 +25,7 @@ rule COVERAGE:
metat=expand(
os.path.join(RESULTS_DIR, "mapping/metat/{rtype_tool}.cov.ave.txt"),
rtype_tool=["{r}/{t}/ASSEMBLY_sr".format(r=r, t=t) for r, t in READ_ASSEMBLERS]
)
) if "metat" in META_TYPES else []
output:
touch("status/coverage.done")
......@@ -40,6 +40,6 @@ rule MAPPABILITY:
os.path.join(RESULTS_DIR, "mapping/metat/{rtype_tool}.{ext}"),
rtype_tool=["{r}/{t}/ASSEMBLY_sr".format(r=r, t=t) for r, t in READ_ASSEMBLERS],
ext=["flagstat.txt", "idxstats.txt", "unique.txt"]
)
) if "metat" in META_TYPES else []
output:
touch("status/mappability.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