From cfcacec883641678989eedf4d1d1f0fac5418858 Mon Sep 17 00:00:00 2001 From: JeanMainguy Date: Mon, 2 Sep 2024 18:29:39 +0200 Subject: [PATCH] add tile plot new args in workflows --- ppanggolin/workflow/all.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ppanggolin/workflow/all.py b/ppanggolin/workflow/all.py index 5c02bf73..f2e542e1 100644 --- a/ppanggolin/workflow/all.py +++ b/ppanggolin/workflow/all.py @@ -198,7 +198,8 @@ def launch_workflow(args: argparse.Namespace, panrgp: bool = True, if args.draw.tile_plot: if 1 < pangenome.number_of_organisms < 5000: nocloud = args.draw.nocloud if pangenome.number_of_organisms < 500 else True - draw_tile_plot(pangenome, args.output, nocloud=nocloud, disable_bar=args.disable_prog_bar) + draw_tile_plot(pangenome, args.output, nocloud=nocloud, disable_bar=args.disable_prog_bar, + draw_dendrogram=args.draw.add_dendrogram, add_metadata=True) else: logging.getLogger("PPanGGOLiN").warning( 'Tile plot output have been requested but there are too many genomes to produce a viewable tile plot.') @@ -253,7 +254,7 @@ def launch_workflow(args: argparse.Namespace, panrgp: bool = True, proksee=args.write_genomes.proksee, table=args.write_genomes.table, gff=args.write_genomes.gff, - add_metadata=False, + add_metadata=True, compress=args.write_genomes.compress, disable_bar=args.disable_prog_bar, cpu=args.write_genomes.cpu) else: