Skip to content
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

Merged
merged 3 commits into from
Jul 11, 2023
Merged

Conversation

zhx828
Copy link
Member

@zhx828 zhx828 commented Jun 29, 2023

The added descriptions include the following

  • GENE_SUMMARY
  • VARIANT_SUMMARY
  • TUMOR_TYPE_SUMMARY
  • DIAGNOSTIC_SUMMARY
  • PROGNOSTIC_SUMMARY
  • MUTATION_EFFECT_DESCRIPTION

This fixes #199

Add option to include descriptions

The added descriptions include the following
- GENE_SUMMARY
- VARIANT_SUMMARY
- TUMOR_TYPE_SUMMARY
- DIAGNOSTIC_SUMMARY
- PROGNOSTIC_SUMMARY
@zhx828 zhx828 changed the base branch from master to rc June 29, 2023 20:49
Copy link

@calvinlu3 calvinlu3 left a 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.

@@ -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

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?

Copy link
Member Author

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',

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?

Copy link
Member Author

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.

@zhx828 zhx828 changed the title Add base annotation files Add descriptions into appended column list Jul 11, 2023
@zhx828 zhx828 requested a review from calvinlu3 July 11, 2023 15:19
Copy link

@calvinlu3 calvinlu3 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@zhx828 zhx828 merged commit 61c7c7d into oncokb:rc Jul 11, 2023
@zhx828 zhx828 deleted the add-summaries branch July 11, 2023 19:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add descriptions to oncokb-annotator output file
2 participants