Skip to content
Snippets Groups Projects
plot_fasta.smk 696 B
Newer Older
rule plot_fasta:
    input:
        ref=rules.bwa_index.input.ref
        png = f"{frangipane_obj.path_stat_plot}/00_{ref_basename}.png",
        csv = f"{frangipane_obj.path_stat_sum}/00_{ref_basename}.txt"
christine.tranchant_ird.fr's avatar
christine.tranchant_ird.fr committed
        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:
christine.tranchant_ird.fr's avatar
christine.tranchant_ird.fr committed
|    - Fasta : {{input.ref}}
christine.tranchant_ird.fr's avatar
christine.tranchant_ird.fr committed
|    - Plot : {{output.png}}
|    - Csv : {{output.csv}}
christine.tranchant_ird.fr's avatar
christine.tranchant_ird.fr committed
|    - LOG output : {{log.output}} 
"""
    run:
        gs.dashboard_genome(input.ref, output.png, output.csv)