-
Notifications
You must be signed in to change notification settings - Fork 9
Handle TIDDIT style SV type names #128
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
base: main
Are you sure you want to change the base?
Conversation
henrikstranneheim
left a comment
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.
👍
| coordinates["end"] = end | ||
|
|
||
| sv_type = variant.INFO.get("SVTYPE").split(":")[0] | ||
| sv_type = variant.INFO.get("SVTYPE") |
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.
Add type hint
| def test_format_old_tiddit_dup_tandem(duptandem_old_tiddit_variant, case_obj): | ||
| ## GIVEN a dup with older TIDDIT notation (TDUP, IDUP, ...) | ||
| variant = duptandem_variant | ||
| variant = duptandem_old_tiddit_variant |
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.
| variant = duptandem_old_tiddit_variant | |
| variant: str = duptandem_tiddit_variant_legacy_format |
| def test_format_tiddit_dup_tandem(duptandem_tiddit_variant, case_obj): | ||
| ## GIVEN a TIDDIT style notation, ie both SVTYPE info and alt field tag has subtype, eg DUP:TANDEM | ||
| variant = duptandem_variant | ||
| variant = duptandem_tiddit_variant |
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.
| variant = duptandem_tiddit_variant | |
| variant: str = duptandem_tiddit_variant |
|
Should we try to merge these changes @dnil? |
You are asking such good questions! I had the same one last week, but didn't spend the time trying to answer it. Probably, if it was an issue 2023. On the other hand we seem to have lived without. Again, whoever has time to figure out the current status (checking files that go for upload for variants like this etc etc). |
This PR adds | fixes:
How to prepare for test:
sshto ...bash servers/resources/SERVER.scilifelab.se/update-[THIS_TOOL]-stage.sh [THIS-BRANCH-NAME]How to test:
Expected outcome:
Review:
This version is a: