Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions VERSIONLOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# TACA Version Log

## 20260921.2

Use the common regex for Illumina and Element run folders in bioinfo tab script

## 20260917.2

Use the common regex for Illumina run folders in Runs
Expand Down
2 changes: 1 addition & 1 deletion taca/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
"""Main TACA module"""

__version__ = "1.6.26"
__version__ = "1.6.27"
5 changes: 3 additions & 2 deletions taca/utils/bioinfo_tab.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
from taca.nanopore.ONT_run_classes import ONT_RUN_PATTERN, ONT_run
from taca.utils import statusdb
from taca.utils.config import CONFIG
from taca.utils.filesystem import RUN_RE_ELEMENT, RUN_RE_ILLUMINA
from taca.utils.misc import send_mail

logger = logging.getLogger(__name__)
Expand All @@ -30,9 +31,9 @@ def collect_runs():

# Pattern explained:
# 6-8Digits_(maybe ST-)AnythingLetterornumberNumber_Number_AorBLetterornumberordash
illumina_rundir_re = re.compile(r"\d{6,8}_[ST-]*\w+\d+_\d+_[AB]?[A-Z0-9\-]+")
illumina_rundir_re = re.compile(RUN_RE_ILLUMINA)
# E.g. 20250121_AV242106_B2425434199
element_rundir_re = re.compile(r"\d{8}_AV242106_[AB]\d+")
element_rundir_re = re.compile(RUN_RE_ELEMENT)

for inst_brand in CONFIG["bioinfo_tab"]["data_dirs"]:
for data_dir in CONFIG["bioinfo_tab"]["data_dirs"][inst_brand]:
Expand Down
Loading