X-Git-Url: http://woldlab.caltech.edu/gitweb/?p=htsworkflow.git;a=blobdiff_plain;f=htsworkflow%2Futil%2Fmakebed.py;h=c9383fed050e03dde1f62933ece42afdbab0c20b;hp=e82968aeda34997ccd83c209d8c894279362438a;hb=6dec5144314928dd702c76543bd762235d0ad2ad;hpb=646783204499645dfdaacaf8db28fc39de98fd90 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))