Skip to content

Conversation

olaaustine
Copy link
Contributor

@olaaustine olaaustine commented Jan 31, 2025

@jamie-m-a
Copy link
Contributor

Hi Ola, I don't think we need to roll this back completely, it was added to address the situations described in: #1066

I don;t agree with all of Nuno's use case examples, but the stop retained examples of * to * in the same position should be captured and can be with something like:

($ref_pep eq substr($alt_pep, 0, 1) && $alt_pep =~ /\*/ && $ref_pep =~/\*/ && pos($alt_pep) == pos($ref_pep))

I tested it on the GRCh37 examples linked in this ticket and it correctly returns stop_gained as the top consequence. It also returned stop_retained for the first example Nuno gave (6 30590698 . GTGA CTAG on GRCh38).

Could you check it out a bit more on some more tests - thanks

@olaaustine
Copy link
Contributor Author

olaaustine commented Feb 6, 2025

Hi Ola, I don't think we need to roll this back completely, it was added to address the situations described in: #1066

I don;t agree with all of Nuno's use case examples, but the stop retained examples of * to * in the same position should be captured and can be with something like:

($ref_pep eq substr($alt_pep, 0, 1) && $alt_pep =~ /\*/ && $ref_pep =~/\*/ && pos($alt_pep) == pos($ref_pep))

I tested it on the GRCh37 examples linked in this ticket and it correctly returns stop_gained as the top consequence. It also returned stop_retained for the first example Nuno gave (6 30590698 . GTGA CTAG on GRCh38).

Could you check it out a bit more on some more tests - thanks

Hi Jamie,
With more tests, this change will not capture all examples of stop retained especially with the first issue, I am going to keep investigating to figure out the best possible way around this.
I do not want to hold up the branching so we can always rebase as already discussed during standup.
Thanks

@jamie-m-a
Copy link
Contributor

jamie-m-a commented Feb 6, 2025 via email

@jamie-m-a jamie-m-a added e115 and removed e114 labels Feb 7, 2025
@jamie-m-a
Copy link
Contributor

Can rebase now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants