Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat!: include cdna and protein represenation when starting from genomic layer #228

Merged
merged 41 commits into from
Dec 11, 2023

Conversation

korikuzma
Copy link
Member

Addresses part of #151 . This work is needed for VarCat.

Notes:

  • Return pydantic models rather than dictionaries for ManeTranscript methods: get_mane_transcript, _get_c_data, _get_mane_p, get_longest_compatible_transcript, g_to_mane_c
    • I wasn't sure what to name protein representation and went with DataRepresentation. It felt weird naming ProteinRepresentation and having CdnaRepresentation inherit from it.
  • Renamed grch38_to_mane_p -> grch38_to_mane_c_p since it now includes cdna representation as well

@korikuzma korikuzma added enhancement New feature or request priority:medium Medium priority labels Dec 11, 2023
@korikuzma korikuzma self-assigned this Dec 11, 2023
@korikuzma
Copy link
Member Author

The following does not work as expected.

grch38_to_mane_c_p(
    "NC_000002.12", 74530927, 74530929,
)

This returns (243, 243) as the position. I think I need to resolve #176 . So I will merge this into a staging branch and work off of staging for #176.

@korikuzma korikuzma changed the base branch from main to staging December 11, 2023 17:39
@korikuzma korikuzma merged commit 239833c into staging Dec 11, 2023
10 checks passed
@korikuzma korikuzma deleted the issue-151-c-p-rep branch December 11, 2023 17:40
korikuzma added a commit that referenced this pull request Jan 9, 2024
…mic layer (#228)

* Return pydantic models rather than dictionaries for `ManeTranscript` methods: `get_mane_transcript`, `_get_c_data`, `_get_mane_p`, `get_longest_compatible_transcript`, `g_to_mane_c`
 * Renamed `grch38_to_mane_p` -> `grch38_to_mane_c_p` since it now includes cdna representation as well
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request priority:medium Medium priority
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants