Feature/35183/oxford handler#56
Merged
Merged
Conversation
shilpigoeldev
requested changes
Jan 30, 2024
| def convert_nil_to_zero(count) | ||
| count = 0 if count.nil? | ||
| count | ||
| end |
Contributor
There was a problem hiding this comment.
This method is not needed.
| geneticscope = record.raw_fields['scope / limitations of test'] | ||
| geneticscope.scan(/panel|scree(n|m)|brca|hcs|panel/i).size.positive? | ||
| geneticscope.scan(/panel|full\s?screen|full\sscreem|full\sgene\sscreen| | ||
| brca_multiplicom|hcs|brca1|brca2|CNV.*only|CNV.*analysis| |
Contributor
There was a problem hiding this comment.
Can it be moved to constants please, similarly targeted check too?
shilpigoeldev
requested changes
Jan 30, 2024
| \s?(?<variant>del|inv|dup)/ix | ||
| EXON_REGEX = /(?<mutationtype>del|inv|dup).+ion\s(?:of\s)?exons?\s?(?<exons>[0-9]+(?:-[0-9]+)?)| | ||
| ex(?:on|ons)?\s?(?<exons>[0-9]+(?:(?:-|\+)[0-9]+)?)\s?(?<mutationtype>del|inv|dup)| | ||
| (?<mutationtype>del|inv|dup).+ion\sBRCA1\sexons?\s(?<exons>[0-9]+-(?:[0-9]*))| |
Contributor
There was a problem hiding this comment.
Can it be made more generic ex- [a-z ]+ rather BRCA1 to be able to extract mutation and exonic location irrespective of what comes ex- BRCA2 rather BRCA1?
Contributor
Author
Contributor
Author
|
@shilpigoeldev- the variant counts are the same after the changes for both brca and colorectal |
shilpigoeldev
approved these changes
Jan 31, 2024
shilpigoeldev
left a comment
Contributor
There was a problem hiding this comment.
Thanks @lauramccluskey1 ..looks good to me.. Happy to approve if the counts are matching and QAed by Fiona.
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
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.
Details on this change can be found on ticket 35183 and include:
Variant counts have been checked as part of QA process.