From 75bf01a4f2a8205d63a460e71ba735e09380c77d Mon Sep 17 00:00:00 2001 From: Luis Pedro Coelho Date: Sat, 21 Oct 2023 11:04:26 +1000 Subject: [PATCH] BUG Fix concatenate_fasta and compression --- SemiBin/main.py | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/SemiBin/main.py b/SemiBin/main.py index 9757a87..91674b3 100644 --- a/SemiBin/main.py +++ b/SemiBin/main.py @@ -263,7 +263,20 @@ def parse_args(args, is_semibin2): dest='no_write_pre_reclustering_bins', action='store_true') + p.add_argument('--tag-output', + required=False, + type=str, + dest='output_tag', + default=('SemiBin' if is_semibin2 else None), + help='Tag to add to output file names') + for p in [single_easy_bin, + multi_easy_bin, + generate_cannot_links, + generate_sequence_features_single, + generate_sequence_features_multi, + binning, binning_long, + concatenate_fasta]: p.add_argument('--compression', required=False, type=str, @@ -273,14 +286,6 @@ def parse_args(args, is_semibin2): dest='output_compression', default=('gz' if is_semibin2 else 'none')) - p.add_argument('--tag-output', - required=False, - type=str, - dest='output_tag', - default=('SemiBin' if is_semibin2 else None), - help='Tag to add to output file names') - - for p in [binning, binning_long]: p.add_argument('--model', required=False,