From f365904f4129e62747f32a20cc08919381a68735 Mon Sep 17 00:00:00 2001 From: Benedetto Polimeni Date: Wed, 18 Sep 2024 15:17:59 +0000 Subject: [PATCH] Fix invalid escape sequence warning message --- irescue/map.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/irescue/map.py b/irescue/map.py index 9777af9..31f4f10 100644 --- a/irescue/map.py +++ b/irescue/map.py @@ -202,9 +202,9 @@ def isec(bamFile, bedFile, whitelist, CBtag, UMItag, bpOverlap, fracOverlap, cmd = f'{bedtools} intersect -a {stream} -b {refFile} ' cmd += f' -split -bed -wo -sorted {ovfrac} | gawk -vOFS="\\t" \'{ovbp} ' # remove mate information from read name - cmd += ' { sub(/\/[12]$/,"",$4); ' + cmd += ' { sub(/\\/[12]$/,"",$4); ' # concatenate CB and UMI with feature name - cmd += ' n=split($4,qname,/\//); ' + cmd += ' n=split($4,qname,/\\//); ' cmd += ' print qname[n-1]"\\t"qname[n]"\\t"qname[1]"\\t"$16 }\' ' cmd += f' | gzip > {isecFile}'