Skip to content

Commit

Permalink
fix: return type for FeatureOverlap get_grch38_mane_gene_cds_overlap
Browse files Browse the repository at this point in the history
  • Loading branch information
korikuzma committed Nov 7, 2023
1 parent 05bbb3c commit 67a241c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
10 changes: 2 additions & 8 deletions cool_seq_tool/data_sources/feature_overlap.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"""Module for getting feature (gene/exon) overlap"""
import re
from pathlib import Path
from typing import Dict, Optional
from typing import Dict, Optional, List

import pandas as pd
from ga4gh.core import ga4gh_identify
Expand Down Expand Up @@ -124,7 +124,7 @@ def get_grch38_mane_gene_cds_overlap(
chromosome: Optional[str] = None,
identifier: Optional[str] = None,
residue_mode: ResidueMode = ResidueMode.RESIDUE,
) -> Optional[Dict[str, CdsOverlap]]:
) -> Optional[Dict[str, List[CdsOverlap]]]:
"""Given GRCh38 genomic data, find the overlapping MANE features (gene and cds).
The genomic data is specified as a sequence location by `chromosome`, `start`,
`end`. All CDS regions with which the input sequence location has nonzero base
Expand All @@ -145,12 +145,6 @@ def get_grch38_mane_gene_cds_overlap(
dictionary will be keyed by genes which overlap the input sequence location.
Each gene contains a list of the overlapping CDS regions with the beginning
and end of the input sequence location's overlap with each
{
gene: {
'cds': VRS Sequence Location
'overlap': VRS Sequence Location
}
}
"""
ga4gh_seq_id = None
if chromosome:
Expand Down
2 changes: 1 addition & 1 deletion cool_seq_tool/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.1.14-dev2"
__version__ = "0.1.14-dev3"

0 comments on commit 67a241c

Please sign in to comment.