Function Variants in the Constraint Model #54
Replies: 4 comments 6 replies
-
I love it! A couple of comments and thoughts are: Can you expand upon how GeneContextConstraint differs from using definingContext and it being set to Gene? I was typing out a bit wondering about alternative constraints such as such as "ArmContextConstraint", "ChromosomeContextConstraint", etc., and then realized that these all may be captured under the defining context model. What do folks think about functional constraints maybe requiring an OR logic, as constraints using a list structure only really enables AND logic? In this example of general "BRCA1 loss-of-function", I could imagine that matching to either SO:0001561 - partial loss of function or SO:0002054 - loss of function. I guess the latter covers this ambiguity by having the definition containing "diminished or abolished function". |
Beta Was this translation helpful? Give feedback.
-
IIRC the reason we had a difference was because using something like a As for your second question (which is also good), I do have thoughts (which probably surprises noone). Here we're modelling properties that lie on scales. Specifically, a bottom closed scale (if you want to read more about semantic scales and a typology thereof, I reccomend this seminal paper in lexical semantics Kennedy & McNally 2005 which is pretty approachable if you ignore all of the math and just focus on the examples they give). So this is similar in intuition to an adjectives like "straight", "quiet", or "unknown". Here's what I mean with"straight", and then how it applies to "loss", and then, I promise, a relevant point about the logic here. A pipe can be completely, 100% straight. There is a maximum degree of straightness where the scale ends. Then it can become a little, a lot, or an arbitrary amount of no-straight, but there's no maximal degree of not-straightness.
But you can't really felicitously say
(The same is true of the natural numbers, you have a minimum, 0, but no maximum value) The same thing is true of function gain/loss
Why this is relevant is that we exploit these scales to imply things. If you ask how a student did on a test and they say, "I passed", you're likely to intepret that as meaning that they did not fail, but also did not do well, because even though an A is a passing grade, fi they HAD gotten an A they could have just as easily said "I aced it" and been more specific, so we take the fact that they didn't say "I aced it" as evidence that they did not in fact do well. Ok, so translating into genomics and CatVars, people may say "Loss" and mean it as anything lower than normal function. but other people could say "Partial loss-of-function" if it was not complete loss, and so along the same lines of the logic above, interpret "loss of function" to mean a complete loss of function. So in short, there are reasons to suggest that "Loss of function" itself is ambiguous between being a partial-to-full loss-of-function or strictly a full loss-of-function. And I am not 100% sure what we want to do about that. |
Beta Was this translation helpful? Give feedback.
-
That makes sense! I think that this relates to the discussion on this morning's call too, right? Specifically about dividing into splitting up Variation and Location from the definingContext constraint. I LOVE the example that you used relating pipe straightness to gain of function. When we get into this in a future call, I think walking people through this illustrative example would be a very helpful conversational aid. |
Beta Was this translation helpful? Give feedback.
-
I tried to capture the current lucidchart for function variants in this branch: 16-update-function-variants. I either made modification to or added new files to schema/cat-vrs/:
For FunctionConstraint
For GeneContextConstraint
To note, there was a lot of dialogue at the 2024-08-27 meeting about potentially adding "function target" as a property. Ultimately, this was decided to be omitted from the initial draft, with the possibility of revisiting this property if needed. This was because there is a desire to keep the constraints to be focused on variant-specific details within the scope of this working group. |
Beta Was this translation helpful? Give feedback.
-
This is a thread to host discussion pertaining to the the development of the FunctionConstraint cover function variants in the constraint-based framework of Cat-VRS.
Below is the current demo version of a function variant in Cat-VRS, from the main constraint model discussion thread, and with some extraneous material pruned. (there was some spillover from the CatCNV mockup).
Beta Was this translation helpful? Give feedback.
All reactions