4
$\begingroup$

Alright, I posted this same question over at MSE, https://math.stackexchange.com/questions/2395394/solving-ptrue-of-finding-counterpart-pairs-in-2-sets-with-constraints-involvin,

I had a bounty on it for 100 and a user named Vincent told me he had solved it, and that it would just take a day or two to write out. During that day or two, the bounty expired...and he mysteriously disappeared with the solution...and
I havn't heard from him at all . I do not know if those events were causally correlated or just correlated. It's been over ~11 days now...so I'm concluding my question over there is dead and gone. Hence, why I've gone all out with 200 bounty on this one.

Regardless, given his questions over there in the comments I tried to be very specific about what I'm asking here (hence the very long subscripts, heh).

I actually need to try to figure out a means of doing this without generating simulations...and/or then using those generated simulations as a sample for the larger population...and then just extrapolate via a few tests to make sure I can "safety make those assumptions."

It's more about understanding the relationship and patterns of ALOT of questions like this one (there are many varieties) and correlating them to any biological reasoning or mechanism. That's why I want to know how to do it, if its possible.

I apologize for the lack or incorrect usage of formal notation. Did my best.

Regardless, here is my question.

( My use of "|" ANYWHERE means OR )

$$D = D\_EitherUnlessInitialSpecificed = (D\_Initial | D_CounterpartToInitial)$$ $$B = B\_EitherUnlessInitialSpecificed = (B\_Initial | B\_CounterpartToInitial)$$

Yes, I wrote that redundantly, but hopefully clearly.I hope I wrote that correctly.

Definition of counterparts:

a, c, g, and t do not represent anything quantifiable. They only represent a quality.

As stated more generally above, and more specifically down below:

$$D\; can\; only = a\; or \; c\; ; \; a < -- > c$$ $$if\; D = a,\; then \;D_c = c$$$$if\; D = c,\; then \;D_c = a$$

$$B\; can\; only = t\; or \; g\; ; \; t < -- > g$$ $$if\; B = t,\; then \;B_c = g$$$$if\; B = g,\; then \;D_c = t$$

In the end, everything comes down to the placement of $a$, $c$, $g$, and $t$ within constraints I'll define shortly.

$$W = (D\;|B)$$

and we'll be using 2 instances of $W$, $W_1$ & $W_2$ which are not exclusive of each other in any context, nor are they exclusive/equal when the same instance is repeated in the same or a different set/array/etc.

They are more like placeholders for a position which you're trying to find the counterpart to.

If I use $W_2$ or $W_1$ and then use it again multiple times, each time it takes on a value which is assigned actually only by you.

Now,

$$W_1 = (D | B)$$$$W_2 = (D | B)$$

$$Wa\; =\; an\; instance\; of\; the \;set \;or\; what\; I\; am\; going \;to \;begin \;calling\; an\;"array"\; \{W_1,W_2\}$$

We'll make 8 individual instances of these paired arrays and then store them into an array, $ArrayTop$ aka $ArrT$

$$ArrT\;=\;\{Wa_1,Wa_2,Wa_3,Wa_4,Wa_5,Wa_6,Wa_7,Wa_8\}$$

You can also reference the items in the array from their order via $ArrT_1,ArrT_2...etc.$ if needed.

Now, we'll make 16 more individual instances of these paired arrays and then store them into another array, $ArrayBottom$ aka $ArrB$. However, we'll start $Wa_x$ at 9.

$$ArrB\;=\;\{Wa_9,Wa_{10},Wa_{11},Wa_{12},Wa_{13},Wa_{14},Wa_{15},Wa_{16},Wa_{17},Wa_{18},Wa_{19},Wa_{20},Wa_{21},Wa_{22},Wa_{23},Wa_{24}\}$$

or

$$ArrB_1, ArrB_2...ArrB_{16}$$

If, given $ArrT$ & $ArrB$ and these constraints,

$$Each$$ $$ a, c, g,\ and\ t$$

$$has \;a \;required \;"point\; usage" \;of \;exactly \;16\; for\; W_1 \;collectively\; and\; W_2\; collectively.$$

Every time one of these 4 letters is used in:


$ArrT$, it acquires 4 points.

$ArrB1$ or $ArrB2$, then it acquires 3 points.

$ArrB3$ through to $ArrB14$, then it acquires 2 points.

$ArrB15$ or $ArrB16$, then it acquires 1 point.


To clarify further, a letter acquires points for it's $W_1$ and separately for its $W_2$.


Find the number of all possible scenarios for the placements of $$a,t,g,\; and\; c$$ where, for each item in $ArrT$, two items in $ArrB$ contain the respective counterparts of $W_1$ and $W_2$ from that item in $ArrT = TRUE$.

Also, the total # of possible scenarios if you want, although that's somewhat easy to figure out.

To Summarize: My question is

1) What is the answer you come up with.

2) How did you do it?

Any questions, let me know.


I have included a picture to provide the context for what this is for and where it comes from to hopefully help resolve any confusion.

One very important thing I need to stress here and which can cause confusion with this picture is the fact that there are actually a few symmetries with very low probabilities to occur especially in tandem between the two halves (pending you're looking for them). I will say that this is our genetic code for everything on earth...so that's kind of cool but the question I'm asking has absolutely nothing to do with symmetry and only the presence of things in the top group that then have their counterparts in the bottom regardless of their location in the "horizontal" plane of the group. The mathematical explanation should hopefully communicate that though.

Ignore the upper left part of the picture and any row that is the "3rd row" in either of the groups. (Contains R, Y, H, N, and 2 instances of G)

Rumer's Rule Shown of the genetic code shown with a stop codon reassigned as cysteine...restoring symmetry...codons are separted into degeneracy groups and then ordered by nucleon number.  The former is common to do in biological research of the code, the later and the reassignment of cysteine arn't.

$\endgroup$
1
+200
$\begingroup$

I'm back... I posted the answer to the original question at https://math.stackexchange.com/a/2419479/101420

Now that we are at stats.stackexchange I can say a bit more about the first line of that answer, namely that it is more of a counting problem than a probability question. Probabilities are sometimes defined as a ratio: the number of 'interesting' or 'relevant' cases divided by the 'total' number of cases.

In the other answer I computed the first of these numbers (which is also what you are asking here in the body of the question - probabilities show up only in the title) but if you want to turn the answer into a probability, you also need the second number, i.e. the total number of things that COULD have happened (with equal probability) under a simpler model of the underlying biology. The question is: what is the simpler model? If you consider 'all cases' to be all ways of placing a, c, t, g into the 48 slots then there are $4^{48}$ possibilities, but from the wording of the question I get the impression that you have a more subtle idea about what is going on here: the 'total' number of cases is the number of placements of a, c, g, t that obey some but not all of the conditions from the question, and within that you consider the interesting cases the ones that satisfy all.

I computed the number of interesting cases over at MSE, but if you want a probability you need to be more specific about what subset of conditions define the 'total' number of cases.

| cite | improve this answer | |
$\endgroup$
  • $\begingroup$ haha, the edit you JUST made...as it was saying 4^4 ... x 8 ? was confusing me but i see you fixed it. You catch that over at the MSE answer too? $\endgroup$ – Taal Sep 7 '17 at 19:13
  • $\begingroup$ Ah, I just saw it had the same problem there (with two numbers even: $4^{27}$ and $4^{47}$). There may well be more of these latex-spelling errors. Please don't hesitate to ask about anything that looks weird or unclear in the answer! $\endgroup$ – Vincent Sep 7 '17 at 19:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.