From 6dec5144314928dd702c76543bd762235d0ad2ad Mon Sep 17 00:00:00 2001 From: Diane Trout Date: Sat, 8 May 2010 00:33:58 +0000 Subject: [PATCH] Matches can have trailing AGCT in addition to a number --- htsworkflow/util/makebed.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htsworkflow/util/makebed.py b/htsworkflow/util/makebed.py index e82968a..c9383fe 100755 --- a/htsworkflow/util/makebed.py +++ b/htsworkflow/util/makebed.py @@ -98,7 +98,7 @@ def make_bed_from_multi_eland_stream( outstream.write(lane) def make_bed_from_multi_eland_generator(instream, name, description, chr_prefix, max_reads=255): - loc_pattern = '(?P(?P[0-9]+)(?P[FR])(?P[0-9]+))' + loc_pattern = '(?P(?P[0-9]+)(?P[FR])(?P[0-9AGCT]+))' other_pattern = '(?P[^:,]+)' split_re = re.compile('(%s|%s)' % (loc_pattern, other_pattern)) -- 2.30.2