From a80e3e4aa3a40970af507bf9119cf7f1c2ffb336 Mon Sep 17 00:00:00 2001 From: Marius van den Beek Date: Mon, 16 Dec 2024 15:33:29 +0100 Subject: [PATCH] Fix glimmer tools error handling (#6641) * 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. * Add on_string * Bump version and use standard tokens --------- Co-authored-by: M Bernt --- 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 | 7 ++++-- 10 files changed, 57 insertions(+), 34 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..4b2b3117516 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 @@ + + + + + + + + + + + 3.02 + 2 + @TOOL_VERSION@+galaxy@VERSION_SUFFIX@ + 23.1 - glimmer + glimmer biopython @@ -12,7 +16,6 @@ gemini - 3.02