-
Notifications
You must be signed in to change notification settings - Fork 0
Implement liftover requests #105
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
Merged
Merged
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
a7eed18
first pass at implementing liftover requests
jennifer-bowser aa75e7d
update 'retrieve_allele_by_expression' in HTTP client to prevent 'res…
jennifer-bowser 6de4087
add definition of 'retreive_allele_by_id' for Python client
jennifer-bowser 4ed709d
fix HTTP implementation of 'get_liftover_variation_id' and add Python…
jennifer-bowser 4601609
fix tests
jennifer-bowser 7e1c189
clean up 'get_caf' to handle edge cases where variant/variant id are …
jennifer-bowser e7a446e
fix some failing tests
jennifer-bowser 0e9dcb9
update import to align w/ latest AnyVar variable naming
jennifer-bowser e6d7fb1
update python client's 'get_liftover_variation_id' to use correct syn…
jennifer-bowser 1fbcf8d
fix failing test
jennifer-bowser 3fca09f
fix failing test: 'test_variant_counts_endpoint_anyvar_unavailable'
jennifer-bowser c760414
fix failing test
jennifer-bowser e20a8a9
rename tests + fixtures to reflect new function name
jennifer-bowser ff9a4c0
fix cassette
jennifer-bowser 4ea0079
bring back accidentally nuked cassette + rename it
jennifer-bowser d5aa375
revert change to 'Nucleotide' that would've allowed multiple Nucleoti…
jennifer-bowser b46ea3d
use enum instead of text matching
jennifer-bowser 5f36d3a
rename 'get_caf_*' to 'get_cafs' + fix '_validate_allele' logic
jennifer-bowser 7104877
remove id check in '_retrieve_cafs_with_resolved_alleles', since '_va…
jennifer-bowser fe697f9
fix 'http client's 'get_liftover_variation_id'
jennifer-bowser fd47157
rename cassettes folder from '*get_caf' to '*get_cafs'
jennifer-bowser File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -220,3 +220,7 @@ uv.lock | |
|
|
||
| # Mac things: | ||
| .DS_Store | ||
|
|
||
|
|
||
| # UTA download | ||
| uta_20241220.pgd.gz | ||
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
Oops, something went wrong.
Oops, something went wrong.
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.
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.
is this necessary? it should always be one type, right?
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.
This was part of the original
get_caffunction. I don't think we prevent people from submitting Alleles with iriReferences, so I think we need this to make sure we catch any of those?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.
Ah interesting. I think these come directly from storage so they should always be IRIs, but if it's not new code then probably not worth figuring out