Skip to content

Commit

Permalink
Merge pull request #345 from szhan/get_problematic_regions
Browse files Browse the repository at this point in the history
Get sites of problematic regions
  • Loading branch information
jeromekelleher authored Oct 9, 2024
2 parents e694ed0 + d351172 commit de36b11
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions sc2ts/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,21 @@ def get_problematic_sites():
return np.loadtxt(data_path / "problematic_sites.txt", dtype=np.int64)


def get_problematic_regions():
"""
These regions have been reported to have highly recurrent or unusual
patterns of deletions.
https://github.com/jeromekelleher/sc2ts/issues/231#issuecomment-2401405355
The 1-based (half-open) coordinates were taken from the UCSC Genome Browser.
"""
return np.concatenate([
np.arange(21602, 22472, dtype=np.int64), # NTD domain in S
np.arange(27939, 28257, dtype=np.int64), # ORF8
])


@dataclasses.dataclass
class CovLineage:
name: str
Expand Down

0 comments on commit de36b11

Please sign in to comment.