-
Notifications
You must be signed in to change notification settings - Fork 61
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
Add descriptions into appended column list #204
Conversation
Add option to include descriptions The added descriptions include the following - GENE_SUMMARY - VARIANT_SUMMARY - TUMOR_TYPE_SUMMARY - DIAGNOSTIC_SUMMARY - PROGNOSTIC_SUMMARY
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.
Tests seem to be failing before able to annotate.
test_Annotation.py
Outdated
@@ -33,13 +33,15 @@ | |||
HIGHEST_PX_LEVEL_INDEX = HIGHEST_DX_LEVEL_INDEX + 5 | |||
UNKNOWN = 'Unknown' | |||
NUMBER_OF_ANNOTATION_COLUMNS = 27 | |||
NUMBER_OF_ANNOTATION_COLUMNS_WITH_DESCRIPTIONS = 32 |
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.
Would NUMBER_OF_ANNOTATION_COLUMNS_WITH_DESCRIPTIONS = NUMBER_OF_ANNOTATION_COLUMNS + len(DESCRIPTION_HEADERS)
be better?
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.
Makes sense
@@ -210,6 +210,9 @@ def setsampleidsfileterfile(f): | |||
SV_TYPE_HEADER = ['SV_CLASS_NAME', 'SV_TYPE', 'CLASS'] | |||
SV_TYPES = ['DELETION', 'TRANSLOCATION', 'DUPLICATION', 'INSERTION', 'INVERSION', 'FUSION', 'UNKNOWN'] | |||
|
|||
DESCRIPTION_HEADERS = ['GENE_SUMMARY', 'VARIANT_SUMMARY', 'TUMOR_TYPE_SUMMARY', 'DIAGNOSTIC_SUMMARY', |
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.
Do we also want to support mutation effect description?
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.
@calvinlu3 I was gonna say no, but looking at the request from the user, seems like I should support it.
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.
LGTM
The added descriptions include the following
This fixes #199