Commit 49e50524 authored by Midoux Cedric's avatar Midoux Cedric
Browse files

checkm

parent a615a1d5
No related merge requests found
Showing with 22 additions and 0 deletions
+22 -0
...@@ -162,3 +162,25 @@ rule resume_metabat: ...@@ -162,3 +162,25 @@ rule resume_metabat:
done = temp("work/metabat/{sample}.done") done = temp("work/metabat/{sample}.done")
shell: shell:
"touch {output.done} " "touch {output.done} "
rule checkm:
input:
"work/metabat/{sample}/{sample}.unbinned.fa"
output:
"work/checkm/{sample}/checkm.log"
threads:
8
params:
input = lambda wildcards, input: os.path.dirname(str(input)),
output = lambda wildcards, output: os.path.dirname(str(output))
shell:
"conda activate checkm-genome-1.0.18 "
" ; "
"checkm "
"lineage_wf "
"-t {threads} "
"-x fa "
"{params.output} "
"{params.input} "
" ; "
"conda deactivate"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment