-
Notifications
You must be signed in to change notification settings - Fork 2
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 #503
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
- Mainly focused on cleanup related to to_vrs and normalize endpoints. Did not really look at gnomad_vcf_to_protein or copy_number_variation modules - Remove to canonical variation (no longer support) - Combined tests for tokenizers/classifiers/validators/translators into one module - Removed amino_acids.csv (accidentally left in) - Names changes - Coding DNA → cDNA - Polypeptide truncation → Protein Stop Gain - Silent Mutation → Reference Agree - Uncertain/Range → Ambiguous - HGVSDupDelModeEnum → HGVSDupDelModeOption - Validators no longer do any kind of translations to VRS representations. Translators will do this work - Classifier only returns exact matches and only returns a single classification rather than a list - Use regex patterns (in variation/regex.py) rather than multiple if/else conditions - Remove unused code - Create variation schemas for supported variation types. Uses consistent field naming - Cleaning up instance variables in classes - Only run fully justified allele normalization on VRS Alleles. Do not run on VRS Copy Number - Pulled tokenize, classify, validate, translate outside of subdirectories (variation/tokenizers, variation/classifiers, variation/validators, variation/translators) and moved to app root - baseline_copies is required in /hgvs_to_copy_number_count - cool-seq-tool update - Removes file path params from QueryHandler, can set these via environment variables - QueryHandler accepts only uta_db_url as param and removes uta_db_pwd - new dependencies for linting - ruff (replaced flake8) - black
Was not looking at outer coords, but now we are
Forgot to catch the case where there are no valid results. Fixes so that translations is defined
- Was using `translations` when it should have been using `preferred_translations`
…507) - Creates an enum for vrs sequence location accession status - Fix getting priority translation result in `_get_priority_translation_result` when there are multiple translation results for a given ac status
Close #450 , #458 , #465 , #444 Notes: - feat: add parsed to copy number change endpoint (#453) - fix!: /parsed_to_cn_var should accept number, definite range, and indefinite range (#455) - feat: add do_liftover param in parsed to copy number endpoints (#459) - refactor!: parsed to copy number should accept request body (#460) - fix: Copy Number Count copies should be Number or Indef/Def Range (#468) - fix: allow comparator to be set in start/end values (#469)
All of these commits have been reviewed. I think we're in a good place to make a release. Going to rebase and merge. |
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.
I'm probably just planning to rebase these rather than squash+merge/merge