From 06fd9d67f79061f6791d75e5b6f3fb760172f680 Mon Sep 17 00:00:00 2001 From: chapmanb Date: Tue, 20 Jun 2017 05:05:36 -0400 Subject: [PATCH] UMI: Pass full fastq name for duplex prep The previous regex only passed the first part of a name, dropping secondary tag information already present from bcl2fastq. --- scripts/bcbio_fastq_umi_prep.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/bcbio_fastq_umi_prep.py b/scripts/bcbio_fastq_umi_prep.py index 4aa1e29cb..5fe1ca9fa 100755 --- a/scripts/bcbio_fastq_umi_prep.py +++ b/scripts/bcbio_fastq_umi_prep.py @@ -38,8 +38,8 @@ """ duplex_transform = r"""{ - "read1": "(?P[^\\s]+).*\\n(?P.{%s})(?P.*)\\n\\+(.*)\\n(.{%s})(?P.*)\\n", - "read2": "(?P[^\\s]+).*\\n(?P.{%s})(?P.*)\\n\\+(.*)\\n(.{%s})(?P.*)\\n" + "read1": "(?P@.*)\\n(?P.{%s})(?P.*)\\n\\+(.*)\\n(.{%s})(?P.*)\\n", + "read2": "(?P@.*)\\n(?P.{%s})(?P.*)\\n\\+(.*)\\n(.{%s})(?P.*)\\n" }""" def run_single(args):