From 87bb9ff329930be737f1a0274012b8cabbf0d706 Mon Sep 17 00:00:00 2001 From: Johannes Alneberg Date: Tue, 13 Feb 2024 10:12:08 +0100 Subject: [PATCH] Nedded to have initialized values for adaptor --- anglerfish/demux/adaptor.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/anglerfish/demux/adaptor.py b/anglerfish/demux/adaptor.py index 03dd7cc..b8787ac 100644 --- a/anglerfish/demux/adaptor.py +++ b/anglerfish/demux/adaptor.py @@ -90,6 +90,11 @@ def __init__(self, sequence, name, delim, index): self.name = name self.delim = delim self.index = index + self.umi_after = 0 + self.umi_before = 0 + self.len_after_index = 0 + self.len_before_index = 0 + # Dynamically assign attributes self.umi = re.findall(udelim, self.sequence)