Skip to content
Snippets Groups Projects
plot_fasta.smk 664 B
Newer Older
rule plot_fasta:
    input:
        ref=rules.bwa_index.input.ref
    output: 
        png = f"{path_dico['plot']}/00_{ref_basename}.png",
        csv = f"{path_dico['sum']}/00_{ref_basename}.txt",
        output = f"{frangipane_obj.path_logs}/report/plot_fasta.o"
        error = f"{frangipane_obj.path_logs}/report/plot_fasta.e"
    message:
         f"""--------------------
-Running {{rule}}
|-- Input:
|    - Fasta : {input.ref}
|-- Output:
|    - Plot : {output.png}
|    - Csv : {output.csv}
|-- Other infos:
|    - LOG output : {log.output} 
--------------------
"""
    run:
        gs.dashboard_genome(input.ref, output.png, output.csv)