Skip to content

Commit de92b7a

Browse files
Add top 15 mutation outlier sites to exclude list
1 parent 1a1812d commit de92b7a

File tree

1 file changed

+24
-1
lines changed

1 file changed

+24
-1
lines changed

sc2ts/core.py

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,30 @@ def __len__(self):
4949

5050

5151
def get_problematic_sites():
52-
return np.loadtxt(data_path / "problematic_sites.txt", dtype=np.int64)
52+
base = np.loadtxt(data_path / "problematic_sites.txt", dtype=np.int64)
53+
# Temporary to try out removing these outliers. See
54+
# https://github.com/jeromekelleher/sc2ts/issues/231#issuecomment-2306665447
55+
# In reality we'd probably want to provide an additional file of extra sites
56+
# to remove.
57+
additional = [
58+
7851,
59+
10323,
60+
11750,
61+
17040,
62+
21137,
63+
21846,
64+
22917,
65+
22995,
66+
26681,
67+
27384,
68+
27638,
69+
27752,
70+
28254,
71+
28271,
72+
29614,
73+
]
74+
full = np.append(base, additional)
75+
return np.sort(full)
5376

5477

5578
__cached_reference = None

0 commit comments

Comments
 (0)