Skip to content

Commit 6cee85d

Browse files
committed
fixes chr prefix
1 parent 86e198d commit 6cee85d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

covviz/bed.py

+2
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,8 @@ def add_roc_traces(path, traces, exclude):
205205
if exclude.findall(chrom):
206206
continue
207207

208+
chrom = chrom.lstrip("chr")
209+
208210
# pre-normalized data
209211
arr = np.asarray(data.iloc[:, 3:])
210212
traces["roc"][chrom] = list()

0 commit comments

Comments
 (0)