Permalink
Browse files

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.
  • Loading branch information...
1 parent d9f4b75 commit 06fd9d67f79061f6791d75e5b6f3fb760172f680 @chapmanb committed Jun 20, 2017
Showing with 2 additions and 2 deletions.
  1. +2 −2 scripts/bcbio_fastq_umi_prep.py
@@ -38,8 +38,8 @@
"""
duplex_transform = r"""{
- "read1": "(?P<name>[^\\s]+).*\\n(?P<CB1>.{%s})(?P<seq>.*)\\n\\+(.*)\\n(.{%s})(?P<qual>.*)\\n",
- "read2": "(?P<name>[^\\s]+).*\\n(?P<CB2>.{%s})(?P<seq>.*)\\n\\+(.*)\\n(.{%s})(?P<qual>.*)\\n"
+ "read1": "(?P<name>@.*)\\n(?P<CB1>.{%s})(?P<seq>.*)\\n\\+(.*)\\n(.{%s})(?P<qual>.*)\\n",
+ "read2": "(?P<name>@.*)\\n(?P<CB2>.{%s})(?P<seq>.*)\\n\\+(.*)\\n(.{%s})(?P<qual>.*)\\n"
}"""
def run_single(args):

0 comments on commit 06fd9d6

Please sign in to comment.