-
Notifications
You must be signed in to change notification settings - Fork 0
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!: update ExonGenomicCoordsMapper
+ UtaDatabase
#352
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* Only focused on `UtaDatabase` for now * `alt_pos_change` was renamed to `pos_change`
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 * Move `get_tx_exons_genomic_coords` from `UtaDatabase` to `ExonGenomicCoordsMapper` as a private method (`_get_tx_exons_genomic_coords`)
…x_segment` Addresses #224
Addresses #224 * `genomic_to_tx_segment` will now require inter-residue coordinates to be passed
…exons_genomic_coords
addresses #224 * initial work for cleaning up exon coord data retrieval
…dsMapper`" This reverts commit d4fb059.
addresses #224 * Use `ExonGenomicCoordsMapper._get_all_exon_coords` instead
* include `ord` in `get_alt_ac_start_or_end` response. This represents the exon number (0-based)
* include include `ord` in `UtaDatabase.get_tx_exon_aln_v_data` response. This represents the exon number (0-based)
korikuzma
changed the title
feat!: update
feat!: update Aug 19, 2024
ExonGenomicCoordsMapper
ExonGenomicCoordsMapper
+ UtaDatabase
3 tasks
This was
linked to
issues
Aug 20, 2024
jsstevenson
reviewed
Aug 20, 2024
jsstevenson
reviewed
Aug 20, 2024
jsstevenson
reviewed
Aug 20, 2024
Co-authored-by: James Stevenson <james.stevenson@nationwidechildrens.org>
jsstevenson
reviewed
Aug 20, 2024
jsstevenson
reviewed
Aug 20, 2024
jsstevenson
reviewed
Aug 20, 2024
jsstevenson
reviewed
Aug 20, 2024
jsstevenson
reviewed
Aug 20, 2024
jsstevenson
approved these changes
Aug 20, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 looks good, lots of work!
@jsstevenson I moved + modified a UtaDatabase method in 615d747 so will re-request your review |
jsstevenson
approved these changes
Aug 21, 2024
korikuzma
added a commit
that referenced
this pull request
Aug 21, 2024
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>
korikuzma
added a commit
that referenced
this pull request
Aug 21, 2024
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>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
So sorry for this large PR. 😓
Close #345 and #332
ExonGenomicCoordsMapper
ExonGenomicCoordsMapper
(leverage VRS Sequence Location and improve structure for transcript segment data). Renamedwarnings
toerrors
.ExonGenomicCoordsMapper.transcript_to_genomic_coordinates
#345 and Counterintuitive/wrong? offset from genomic to transcript mapping #332)mane_transcript
instance variable and usemane_transcript_mappings
instead.genomic_to_tx_segment
:alt_ac
->genomic_ac
,genomic_start
->seg_start_genomic
,genomic_end
->seg_end_genomic
ga4gh.vrs
to2.0.0a10
get_genes_and_alt_acs
fromUtaDatabase
. Moved this toExonGenomicCoordsMapper
and renamed to_get_genomic_ac_gene
. Will return single gene since genomic accessions are not needed anymore.Addresses #224 . I still want to re-order private methods and see if there are any places we can clean up. Since we need to get a release out ASAP suggested changes for refactoring will be done in a separate PR.