From 95537f2fdc39144d57dfb3235eeab7f66053cabb Mon Sep 17 00:00:00 2001 From: Helena Rasche Date: Mon, 28 Oct 2024 11:44:58 +0100 Subject: [PATCH 1/4] Separate gene typing reports Fixes https://github.com/galaxyproject/tools-iuc/issues/6459 --- tools/srst2/srst2.xml | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/tools/srst2/srst2.xml b/tools/srst2/srst2.xml index ca0f279334d..23b4d9b4aca 100644 --- a/tools/srst2/srst2.xml +++ b/tools/srst2/srst2.xml @@ -103,9 +103,11 @@ srst2 #if 'report_new_consensus' in str($output_files_selector) and $use_gene_db.selector == "yes" and $use_mlst_db.selector == "yes" && mkdir -p allelesOutput/ && cp *.output__input.*.pileup allelesOutput | true #end if + #if $use_gene_db.selector == "yes" and $use_gene_db.no_gene_details -&& mkdir -p geneTypingOutput/ && cp output__genes__*__results.txt geneTypingOutput | true && cp output__fullgenes__*__results.txt geneTypingOutput | true +&& mkdir -p geneTypingOutput/ geneTypingOutputFull/ && cp output__genes__*__results.txt geneTypingOutput | true && cp output__fullgenes__*__results.txt geneTypingOutputFull | true #end if + #if 'save_scores' in str($output_files_selector) && mkdir -p scoresOutput/ && cp *.scores scoresOutput | true #end if @@ -198,7 +200,11 @@ srst2 use_mlst_db['selector'] == "yes" - + + use_gene_db['selector'] == "yes" and use_gene_db['no_gene_details'] is True + + + use_gene_db['selector'] == "yes" and use_gene_db['no_gene_details'] is True @@ -264,13 +270,15 @@ srst2 - + - + + + From d700148605c24380418518fb9cfc65a1da4f35d9 Mon Sep 17 00:00:00 2001 From: Helena Rasche Date: Mon, 28 Oct 2024 11:48:11 +0100 Subject: [PATCH 2/4] Fixes https://github.com/galaxyproject/tools-iuc/issues/6487 --- tools/srst2/srst2.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/srst2/srst2.xml b/tools/srst2/srst2.xml index 23b4d9b4aca..7d08fbea7d3 100644 --- a/tools/srst2/srst2.xml +++ b/tools/srst2/srst2.xml @@ -156,7 +156,7 @@ srst2 - [A-Za-z0-9 =-_/+]+ + [A-Za-z0-9 =_/+-]+ From b400dd9f6343641a31cd6f9552e6aedcf3a003f1 Mon Sep 17 00:00:00 2001 From: Helena Rasche Date: Mon, 28 Oct 2024 11:48:29 +0100 Subject: [PATCH 3/4] bump galaxy version --- tools/srst2/macros.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/srst2/macros.xml b/tools/srst2/macros.xml index 5a9a6f23cea..2dfe8629d0d 100644 --- a/tools/srst2/macros.xml +++ b/tools/srst2/macros.xml @@ -1,7 +1,7 @@ 0.2.0 - 1 + 2 20.01 From 84020255c2fc404c22fda3c73114402a8cf62705 Mon Sep 17 00:00:00 2001 From: Helena Rasche Date: Mon, 28 Oct 2024 12:01:36 +0100 Subject: [PATCH 4/4] correct output number --- tools/srst2/srst2.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/srst2/srst2.xml b/tools/srst2/srst2.xml index 7d08fbea7d3..60947199025 100644 --- a/tools/srst2/srst2.xml +++ b/tools/srst2/srst2.xml @@ -233,7 +233,7 @@ srst2 - +