Skip to content

Commit

Permalink
fixes chr prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
brwnj committed Aug 30, 2019
1 parent 86e198d commit 6cee85d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions covviz/bed.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,8 @@ def add_roc_traces(path, traces, exclude):
if exclude.findall(chrom):
continue

chrom = chrom.lstrip("chr")

# pre-normalized data
arr = np.asarray(data.iloc[:, 3:])
traces["roc"][chrom] = list()
Expand Down

0 comments on commit 6cee85d

Please sign in to comment.