From 20d57bb4e2617ec1fab1f2c6f9f10313de4a2198 Mon Sep 17 00:00:00 2001 From: Yossi Farjoun Date: Mon, 9 Sep 2024 17:54:40 -0400 Subject: [PATCH] rescue int->str for svlengths --- src/sniffles/vcf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sniffles/vcf.py b/src/sniffles/vcf.py index 3b990af..eef59b8 100755 --- a/src/sniffles/vcf.py +++ b/src/sniffles/vcf.py @@ -222,7 +222,7 @@ def write_call(self, call): infos = { "SVTYPE": call.svtype, "SVLEN": call.svlen, - "SVLENGTHS": call.svlens, + "SVLENGTHS": ",".join(str(sv_len) for sv_len in call.svlens), "END": end, "SUPPORT": call.support, "RNAMES": call.rnames if self.config.output_rnames else None,