From 59bf186e912640ec04755b47fdf2c9191e152720 Mon Sep 17 00:00:00 2001 From: Auden Cote-L'Heureux <52716489+AudenCote@users.noreply.github.com> Date: Wed, 24 Jan 2024 11:58:57 -0500 Subject: [PATCH] Small update to concatenate.py --- PTL2/Scripts/concatenate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PTL2/Scripts/concatenate.py b/PTL2/Scripts/concatenate.py index 65414fa..34b9ec8 100644 --- a/PTL2/Scripts/concatenate.py +++ b/PTL2/Scripts/concatenate.py @@ -179,7 +179,7 @@ def remove_paralogs(params): best_size = max(list(clades.values())) #Get a list of sequences in a clade of that size - best_seqs = [seq for seq in taxseqs]# if clades[seq] == best_size] + best_seqs = [seq for seq in taxseqs if clades[seq] == best_size] #If there is only one sequence in the best-sized clade, take it and finish if len(best_seqs) == 1: