projects
/
htsworkflow.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
6467832
)
Matches can have trailing AGCT in addition to a number
author
Diane Trout
<diane@caltech.edu>
Sat, 8 May 2010 00:33:58 +0000
(
00:33
+0000)
committer
Diane Trout
<diane@caltech.edu>
Sat, 8 May 2010 00:33:58 +0000
(
00:33
+0000)
htsworkflow/util/makebed.py
patch
|
blob
|
history
diff --git
a/htsworkflow/util/makebed.py
b/htsworkflow/util/makebed.py
index e82968aeda34997ccd83c209d8c894279362438a..c9383fed050e03dde1f62933ece42afdbab0c20b 100755
(executable)
--- 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<fullloc>(?P<start>[0-9]+)(?P<dir>[FR])(?P<count>[0-9]+))'
+ loc_pattern = '(?P<fullloc>(?P<start>[0-9]+)(?P<dir>[FR])(?P<count>[0-9
AGCT
]+))'
other_pattern = '(?P<chr>[^:,]+)'
split_re = re.compile('(%s|%s)' % (loc_pattern, other_pattern))