From b8c883152b8c0255aff5de3e0652e7b9d1a856cc Mon Sep 17 00:00:00 2001 From: mvdbeek Date: Mon, 16 Dec 2024 10:41:02 +0100 Subject: [PATCH 1/3] Fix glimmer tools error handling All the tools that call into python scripts wouldn't fail on non-zero exit codes. They also didn't write to stderr, so in fact they could never fail. Also fixes the remaining lint errors. --- tools/glimmer/.lint_skip | 4 ---- tools/glimmer/glimmer_acgt_content.xml | 4 ++-- tools/glimmer/glimmer_build_icm.xml | 4 ++-- tools/glimmer/glimmer_extract.xml | 4 ++-- tools/glimmer/glimmer_gbk_to_orf.xml | 8 +++---- tools/glimmer/glimmer_glimmer_to_gff.xml | 4 ++-- tools/glimmer/glimmer_long_orfs.xml | 4 ++-- tools/glimmer/glimmer_w_icm.xml | 28 ++++++++++++++++++------ tools/glimmer/glimmer_wo_icm.xml | 24 ++++++++++++++------ tools/glimmer/macros.xml | 1 + 10 files changed, 53 insertions(+), 32 deletions(-) diff --git a/tools/glimmer/.lint_skip b/tools/glimmer/.lint_skip index 522ad865ff6..2c19ada6c9a 100644 --- a/tools/glimmer/.lint_skip +++ b/tools/glimmer/.lint_skip @@ -1,5 +1 @@ CommandTODO -InputsBoolDistinctValues -OutputsLabelDuplicatedNoFilter -TestsExpectNumOutputs -XMLOrder diff --git a/tools/glimmer/glimmer_acgt_content.xml b/tools/glimmer/glimmer_acgt_content.xml index 593503791ad..1b5f747ca5f 100644 --- a/tools/glimmer/glimmer_acgt_content.xml +++ b/tools/glimmer/glimmer_acgt_content.xml @@ -1,9 +1,9 @@ - + of windows in each sequence - macros.xml + + - macros.xml + + from a genome - macros.xml + + from a GenBank file - macros.xml + - - + + diff --git a/tools/glimmer/glimmer_glimmer_to_gff.xml b/tools/glimmer/glimmer_glimmer_to_gff.xml index d82ffae9d29..18893de012c 100644 --- a/tools/glimmer/glimmer_glimmer_to_gff.xml +++ b/tools/glimmer/glimmer_glimmer_to_gff.xml @@ -1,9 +1,9 @@ - + - macros.xml + + identify long, non-overlapping ORFs - macros.xml + + Predict ORFs in prokaryotic genomes (knowlegde-based) - macros.xml + - - + + - report == True + report - detailed_report == True + detailed_report - + @@ -118,6 +118,20 @@ + + + + + + + + + + + + + + + Predict ORFs in prokaryotic genomes (not knowlegde-based) - macros.xml + = N, then the region is given a number and considered a potential gene." /> - - + + - report == True + report - detailed_report == True + detailed_report - + @@ -54,6 +54,16 @@ + + + + + + + + + + 10.1093/bioinformatics/btm009 + 23.1 From 527bd084642a5c9844676b972c4a5167fbab966b Mon Sep 17 00:00:00 2001 From: M Bernt Date: Mon, 16 Dec 2024 14:46:05 +0100 Subject: [PATCH 2/3] Add on_string --- tools/glimmer/glimmer_gbk_to_orf.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/glimmer/glimmer_gbk_to_orf.xml b/tools/glimmer/glimmer_gbk_to_orf.xml index 29bc18c1baf..d6b8bea3b9c 100644 --- a/tools/glimmer/glimmer_gbk_to_orf.xml +++ b/tools/glimmer/glimmer_gbk_to_orf.xml @@ -16,8 +16,8 @@ - - + + From 2ce8adfbe80cafe8478fc6f2d0e0a78058b83e33 Mon Sep 17 00:00:00 2001 From: mvdbeek Date: Mon, 16 Dec 2024 15:08:09 +0100 Subject: [PATCH 3/3] Bump version and use standard tokens --- tools/glimmer/glimmer_glimmer_to_gff.xml | 2 +- tools/glimmer/macros.xml | 8 +++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/tools/glimmer/glimmer_glimmer_to_gff.xml b/tools/glimmer/glimmer_glimmer_to_gff.xml index 18893de012c..4b2b3117516 100644 --- a/tools/glimmer/glimmer_glimmer_to_gff.xml +++ b/tools/glimmer/glimmer_glimmer_to_gff.xml @@ -1,4 +1,4 @@ - + macros.xml diff --git a/tools/glimmer/macros.xml b/tools/glimmer/macros.xml index f9a3b527603..dfbe640f93f 100644 --- a/tools/glimmer/macros.xml +++ b/tools/glimmer/macros.xml @@ -1,8 +1,12 @@ + 3.02 + 2 + @TOOL_VERSION@+galaxy@VERSION_SUFFIX@ + 23.1 - glimmer + glimmer biopython @@ -12,12 +16,10 @@ gemini - 3.02 10.1093/bioinformatics/btm009 - 23.1