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

refactor!: initial work for cleaning up ExonGenomicCoordsMapper #252

Merged
merged 17 commits into from
Jan 3, 2024

Conversation

korikuzma
Copy link
Member

Initial work for #224

Notes:

  • Cleaned up docstrings / comments / typos / naming
  • Remove unused kwargs in transcript_to_genomic_coordinates and genomic_to_transcript_exon_coordinates
  • transcript is now required in transcript_to_genomic_coordinates
  • genomic_to_transcript_exon_coordinates accepts either chromosome or alt_ac
  • Moves methods from UtaDatabase that do not query the database to ExonGenomicCoordsMapper
  • UtaDatabase.chr_to_gene_and_accessions renamed to UtaDatabase.get_genes_and_alt_acs and chromosome is now optional

…235)

* Fix TypeError in `SeqRepoAccess.get_reference_sequence()` when `start` is not provided
* Requires both start and end positions to be provided (`get_mane_transcript` and `get_inter_residue_pos`)
* Only call unique function if DataFrame is not empty
* Accidentally used fixture decorator instead of pytest.mark.asyncio
* Coroutine was never awaited + did not check expected response
stopping until we find a way to represent output using vrs 2.0-alpha
@korikuzma korikuzma added priority:low Low priority technical debt A feature/requirement implemented in a sub-optimal way & must be re-written. Contrast to "cleanup" labels Jan 2, 2024
@korikuzma korikuzma self-assigned this Jan 2, 2024
Copy link
Member

@jsstevenson jsstevenson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@korikuzma korikuzma merged commit 7c87fb5 into staging Jan 3, 2024
13 checks passed
@korikuzma korikuzma deleted the issue-224 branch January 3, 2024 16:47
korikuzma added a commit that referenced this pull request Jan 9, 2024
* Cleaned up docstrings / comments / typos / naming
* Remove unused kwargs in `transcript_to_genomic_coordinates` and `genomic_to_transcript_exon_coordinates`
* `transcript` is now required in `transcript_to_genomic_coordinates` 
* `genomic_to_transcript_exon_coordinates` accepts either `chromosome` or `alt_ac`
* Moves methods from `UtaDatabase` that do not query the database to `ExonGenomicCoordsMapper`
* `UtaDatabase.chr_to_gene_and_accessions` renamed to `UtaDatabase.get_genes_and_alt_acs` and `chromosome` is now optional
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority:low Low priority technical debt A feature/requirement implemented in a sub-optimal way & must be re-written. Contrast to "cleanup"
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants