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

renamed mash rules

parent 44e79e5a
No related branches found
No related tags found
1 merge request!76Merge "cleanup" branch with "master" branch
......@@ -170,7 +170,7 @@ rule circ_contigs_filter:
# Mash
# Assemblies
rule mash_sketch:
rule analysis_mash_sketch:
input:
os.path.join(RESULTS_DIR, "assembly/{rtype}/{tool}/ASSEMBLY.FILTERED.fasta")
output:
......@@ -184,7 +184,7 @@ rule mash_sketch:
shell:
"(date && ofile={output} && mash sketch -k 31 -s 10000 -S 42 -o ${{ofile%.*}} {input} && date) &> {log}"
rule mash_sketch_paste:
rule analysis_mash_sketch_paste:
input:
lr=expand(os.path.join(RESULTS_DIR, "assembly/lr/{tool}/ASSEMBLY.msh"), tool=config["assemblers"]["lr"]),
sr=expand(os.path.join(RESULTS_DIR, "assembly/sr/{tool}/ASSEMBLY.msh"), tool=config["assemblers"]["sr"]),
......@@ -198,7 +198,7 @@ rule mash_sketch_paste:
shell:
"ofile={output} && mash paste ${{ofile%.*}} {input}"
rule mash_dist:
rule analysis_mash_dist:
input:
os.path.join(RESULTS_DIR, "analysis/mash/contigs.msh")
output:
......@@ -215,7 +215,7 @@ rule mash_dist:
"date) &> {log}"
# Contigs
rule mash_sketch_contigs:
rule analysis_mash_sketch_contigs:
input:
os.path.join(RESULTS_DIR, "assembly/{rtype}/{tool}/ASSEMBLY.FILTERED.fasta")
output:
......@@ -229,7 +229,7 @@ rule mash_sketch_contigs:
shell:
"(date && ofile={output} && mash sketch -i -k 31 -s 1000 -S 42 -o ${{ofile%.*}} {input} && date) &> {log}"
rule mash_screen_contigs:
rule analysis_mash_screen_contigs:
input:
fasta=expand(os.path.join(RESULTS_DIR, "assembly/{rtype_tool}/ASSEMBLY.FILTERED.fasta"), rtype_tool=["%s/%s" % (rtype, tool) for rtype, tool in READ_ASSEMBLERS]),
msh=expand(os.path.join(RESULTS_DIR, "assembly/{rtype_tool}/ASSEMBLY.contigs.msh"), rtype_tool=["%s/%s" % (rtype, tool) for rtype, tool in READ_ASSEMBLERS])
......
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