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

Migrate staging changes to main branch #363

Merged
merged 12 commits into from
Aug 21, 2024
Merged

Migrate staging changes to main branch #363

merged 12 commits into from
Aug 21, 2024

Conversation

korikuzma
Copy link
Member

All previous commits were already approved.

korikuzma and others added 12 commits August 21, 2024 12:23
* Only focused on `UtaDatabase` for now
* `alt_pos_change` was renamed to `pos_change`
close #335

Note: There are some places of +/- 1 for positions that I will revisit in #224 .
Addresses part of #224
* `transcript_to_genomic_coordinates` renamed to `tx_segment_to_genomic`
* `genomic_to_transcript_exon_coordinates` renamed to `genomic_to_tx_segment`
addresses #224

* initial work for cleaning up exon coord data retrieval
addresses #224

* Use `ExonGenomicCoordsMapper._get_all_exon_coords` instead
…#340)

Addresses #224 

* Strand is not required since it can be pulled from UTA
* This also prevents users from providing the wrong strand and getting an invalid response
…#344)

Addresses #224

* `genomic_to_tx_segment` will now require inter-residue coordinates to be passed
* include `ord` in `get_alt_ac_start_or_end` response. This represents the exon number (0-based)
…351)

* include include `ord` in `UtaDatabase.get_tx_exon_aln_v_data` response. This represents the exon number (0-based)
Close #345 and #332

* Update and fix bugs in`ExonGenomicCoordsMapper` 
  * Change output for public methods in `ExonGenomicCoordsMapper` (leverage VRS Sequence Location and improve structure for transcript segment data). Renamed `warnings` to `errors`.
  * Resolve offset / genomic location bugs (#345 and #332)
  * Remove `mane_transcript` instance variable and use `mane_transcript_mappings` instead.
  * Refactor code that was unnecessary or extra.
  * Rename arguments in `genomic_to_tx_segment`: `alt_ac` -> `genomic_ac`, `genomic_start` -> ` seg_start_genomic`, `genomic_end` -> `seg_end_genomic`
* pin `ga4gh.vrs` to `2.0.0a10`
* Remove `get_genes_and_alt_acs` from `UtaDatabase`. Moved this to `ExonGenomicCoordsMapper` and renamed to `_get_genomic_ac_gene`. Will return single gene since genomic accessions are not needed anymore.

---------

Co-authored-by: Jeremy Arbesfeld <jarbesfeld@gmail.com>
close #329

* When lifting over to GRCh38 assembly, genomic accession and genomic
position should be updated accordingly
@korikuzma korikuzma added the priority:high High priority label Aug 21, 2024
@korikuzma korikuzma merged commit 639c1df into main Aug 21, 2024
12 of 13 checks passed
@korikuzma korikuzma deleted the staging branch August 21, 2024 16:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority:high High priority
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant