# HG changeset patch # User richard-burhans # Date 1757440283 0 # Node ID 79182c2a8c80a00cd42e8ca54253bdbc9a28494c # Parent f6090d2a5722a7634478d0192f0cb40cf1f75c4b planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/batched_lastz commit e03d88240ee3894a2bb7bf2f196d9215cb8e0621 diff -r f6090d2a5722 -r 79182c2a8c80 batched_lastz.xml --- a/batched_lastz.xml Mon Sep 08 22:32:10 2025 +0000 +++ b/batched_lastz.xml Tue Sep 09 17:51:23 2025 +0000 @@ -12,9 +12,15 @@ '--input=$input' '--output=$output' --parallel=\${GALAXY_SLOTS:-2} + #if $developer.debug_enabled + --debug + #end if ]]> +
+ +
diff -r f6090d2a5722 -r 79182c2a8c80 macros.xml --- a/macros.xml Mon Sep 08 22:32:10 2025 +0000 +++ b/macros.xml Tue Sep 09 17:51:23 2025 +0000 @@ -6,7 +6,7 @@ 1.04.22 - 5 + 6 21.05 diff -r f6090d2a5722 -r 79182c2a8c80 run_lastz_tarball.py --- a/run_lastz_tarball.py Mon Sep 08 22:32:10 2025 +0000 +++ b/run_lastz_tarball.py Tue Sep 09 17:51:23 2025 +0000 @@ -226,10 +226,23 @@ except FileNotFoundError: sys.exit(f"ERROR: input tarball missing galaxy/format.txt: {self.pathname}") - if format_name in ["axt", "bam", "maf"]: - self.format_name = format_name - elif format_name == "differences": - self.format_name = "interval" + format_map = { + "axt": "axt", + "axt+": "axt", + "cigar": "cigar", + "differences": "interval", + "lav": "lav", + "lav+text": "lav", + "maf": "maf", + "maf+": "maf", + "maf-": "maf", + "sam": "sam", + "sam-": "sam", + "softsam": "sam", + "softsam-": "sam" + } + + self.format_name = format_map.get(format_name, "tabular") class TarRunner: @@ -336,6 +349,8 @@ while not output_queue.empty(): run_time = output_queue.get() run_times.append(run_time) + if self.debug: + print(f"lastz took {run_time}", file=sys.stderr, flush=True) if found_falures: sys.exit("lastz command failed")