From e452ae0117f874b0b6e3c75df0e079c484095f65 Mon Sep 17 00:00:00 2001 From: Auden Cote-L'Heureux <52716489+AudenCote@users.noreply.github.com> Date: Tue, 15 Apr 2025 16:23:19 -0400 Subject: [PATCH] Making the --concat_target_taxa argument optional --- PTL2/Scripts/concatenate.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/PTL2/Scripts/concatenate.py b/PTL2/Scripts/concatenate.py index 8dd161d..60484eb 100644 --- a/PTL2/Scripts/concatenate.py +++ b/PTL2/Scripts/concatenate.py @@ -126,8 +126,7 @@ def remove_paralogs(params): elif params.concat_target_taxa != None: target_codes = [params.concat_target_taxa] else: - print('\nERROR: missing --concat_target_taxa argument. When concatenating, you need to give the taxonomic group (sequence prefix), groups, or a file containing a list of groups (multiple prefixes) for which to select sequences to construct a concatenated alignment\n') - exit() + target_codes = [leaf.name[:10] for leaf in tree] monophyletic_clades = { }