» Site Navigation
3 members and 519 guests
Most users ever online was 47,180, 07-16-2025 at 05:30 PM.
» Today's Birthdays
» Stats
Members: 75,912
Threads: 249,117
Posts: 2,572,190
Top Poster: JLC (31,651)
Welcome to our newest member, coda
|
-
Re: Genetics Calculation Formula (not punnet squares)?
Quote:
Originally Posted by Wh00h0069
Thanks. I was actually thinking of creating a java applet that calculates for ball pythons, boas, corn snakes, and leopard geckos. It would take a while to figure out all of the different combinations, and names, as well as images of each one. However, I recently graduated with my Bachelors in Software Engineering, and I am looking for a fun project. I actually think that I have figured it out. I did a little research, and it is called branching. Correct me if I am wrong.
Albino x Het Albino:
.5 het albino
.5 albino
Hypo x normal
.5 wild type
.5 hypo
Put them together:
.5 het albino -> .5 wild type = .25 het albino
-> .5 hypo = .25 hypo het albino.5 albino -> wild type = .25 albino
-> = .25 hypo albino
Then if you wanted to add another morph, for example a pied
Pied x het pied
.5 het pied
.5 pied
.25 het albino -> .5 het pied = .125 double het pied albino
-> .5 pied = .125 pied het albino
.25 hypo het albino-> .5 het pied = .125 hypo double het pied albino
-> .5 pied = .125 hypo pied het albino
.25 albino-> .5 het pied = .125 albino het pied
-> .5 pied = .125 albino pied
.25 hypo albino-> .5 het pied = .125 hypo albino het pied
-> .5 pied = .125 hypo albino pied
And so forth, and so on.
Perhaps I'm misreading your math, but there's no way to get a hypo from the OP's pairing, since only one parent carries the gene. And with the added Pied example, are you assuming one parent is also a pied, and one is also het pied?
-
Re: Genetics Calculation Formula (not punnet squares)?
Quote:
Originally Posted by Wh00h0069
Albino x Het Albino:
.5 het albino
.5 albino
Hypo x normal
.5 wild type
.5 hypo
Put them together:
.5 het albino -> .5 wild type = .25 het albino
-> .5 hypo = .25 hypo het albino
.5 albino -> wild type = .25 albino
-> = .25 hypo albino
Then if you wanted to add another morph, for example a pied
Pied x het pied
.5 het pied
.5 pied
.25 het albino -> .5 het pied = .125 double het pied albino
-> .5 pied = .125 pied het albino
.25 hypo het albino-> .5 het pied = .125 hypo double het pied albino
-> .5 pied = .125 hypo pied het albino
.25 albino-> .5 het pied = .125 albino het pied
-> .5 pied = .125 albino pied
.25 hypo albino-> .5 het pied = .125 hypo albino het pied
-> .5 pied = .125 hypo albino pied
And so forth, and so on.
Well...For starters, the majority of your offspring is incorrect.
You're using a lot of Visual hets, so their mating with a normal will result in normal looking animals that carry that het gene.
Also, Visual x Different 100% het is going to be 100% visual het and possible het of that original 100% het.
Example: Pied x 100% het albino = normal looking 100% pied possible het albino
Albino x normal = normal 100% het albino
As others have said. The calculator has already been done and can use multiple genes.
Genetic Wizard 3.0 calculations by
http://www.worldofballpythons.com/gfx/logo.png
Genetic Wizard 3.0 calculations by
http://www.worldofballpythons.com/gfx/logo.png
Genetic Wizard 3.0 calculations by
http://www.worldofballpythons.com/gfx/logo.png
Genetic Wizard 3.0 calculations by
http://www.worldofballpythons.com/gfx/logo.png
Genetic Wizard 3.0 calculations by
http://www.worldofballpythons.com/gfx/logo.png
-
Re: Genetics Calculation Formula (not punnet squares)?
Quote:
Originally Posted by Wh00h0069
Thanks. I was actually thinking of creating a java applet that calculates for ball pythons, boas, corn snakes, and leopard geckos. It would take a while to figure out all of the different combinations, and names, as well as images of each one. However, I recently graduated with my Bachelors in Software Engineering, and I am looking for a fun project. I actually think that I have figured it out. I did a little research, and it is called branching. Correct me if I am wrong.
Albino x Het Albino:
.5 het albino
.5 albino
Hypo x normal
.5 wild type
.5 hypo
Put them together:
.5 het albino -> .5 wild type = .25 het albino
-> .5 hypo = .25 hypo het albino
.5 albino -> wild type = .25 albino
-> = .25 hypo albino
Then if you wanted to add another morph, for example a pied
Pied x het pied
.5 het pied
.5 pied
.25 het albino -> .5 het pied = .125 double het pied albino
-> .5 pied = .125 pied het albino
.25 hypo het albino-> .5 het pied = .125 hypo double het pied albino
-> .5 pied = .125 hypo pied het albino
.25 albino-> .5 het pied = .125 albino het pied
-> .5 pied = .125 albino pied
.25 hypo albino-> .5 het pied = .125 hypo albino het pied
-> .5 pied = .125 hypo albino pied
And so forth, and so on.
hypo in ball pythons is recessive, therefore hypo = homozygous not heterozygous like in boas (which I see is what you keep) but yes you have the logic correct, then you have to take into account complexes, something along the lines if gene 1 and gene 2 are in a complex and in the same snake, calculate it a different way instead.
same exact thing can be applied to any species, problem I found was getting information on other species, good luck to ya there lol.
-
Re: Genetics Calculation Formula (not punnet squares)?
Quote:
Originally Posted by Mike41793
WOBP does this exact thing and lists it so its very easy to understand. If you do end up making something dont do it how you did it here^ bc that was confusing and took me a few minutes to decipher lol. (im not trying to be mean, just giving constructive criticism). What do you plan on adding for bps...?
Making one for other species would be very helpful though! Like: hoggies, corns, boas, ksb's, leos, beardies, cresties...etc.
I wouldn't. I was just showing how the math is calculated. I would purely be showing the end results, like on Genetics Wizard.
-
Re: Genetics Calculation Formula (not punnet squares)?
Quote:
Originally Posted by Annarose15
Perhaps I'm misreading your math, but there's no way to get a hypo from the OP's pairing, since only one parent carries the gene. And with the added Pied example, are you assuming one parent is also a pied, and one is also het pied?
I was talking about a boa hypo, which is a codom , sorry about that. The genes wasn't really what I was asking about. I know how to calculate the genes, and do must of them in my head. I was just asking how to do the calculation without using punnet squares.
-
Re: Genetics Calculation Formula (not punnet squares)?
Quote:
Originally Posted by Wh00h0069
Thanks. I was actually thinking of creating a java applet that calculates for ball pythons, boas, corn snakes, and leopard geckos. It would take a while to figure out all of the different combinations, and names, as well as images of each one. However, I recently graduated with my Bachelors in Software Engineering, and I am looking for a fun project. I actually think that I have figured it out. I did a little research, and it is called branching. Correct me if I am wrong.
Albino x Het Albino:
.5 het albino
.5 albino
Hypo x normal
.5 wild type
.5 hypo
Put them together:
.5 het albino -> .5 wild type = .25 het albino
-> .5 hypo = .25 hypo het albino
.5 albino -> wild type = .25 albino
-> = .25 hypo albino
Then if you wanted to add another morph, for example a pied
Pied x het pied
.5 het pied
.5 pied
.25 het albino -> .5 het pied = .125 double het pied albino
-> .5 pied = .125 pied het albino
.25 hypo het albino-> .5 het pied = .125 hypo double het pied albino
-> .5 pied = .125 hypo pied het albino
.25 albino-> .5 het pied = .125 albino het pied
-> .5 pied = .125 albino pied
.25 hypo albino-> .5 het pied = .125 hypo albino het pied
-> .5 pied = .125 hypo albino pied
And so forth, and so on.
You got it. A branching system can be turned into a series of loops in a computer program.
Albino x Het Albino is loop one:
0.5 het albino
0.5 albino
pied x het pied is loop 2:
0.5 het pied
0.5 pied
Go through loop 2 for each entry in loop 1 and multiply the fractions:
0.5 het albino - 0.5 het pied = 0.25 het albino het pied
0.5 het albino - 0.5 pied = 0.25 het albino pied
0.5 albino - 0.5 het pied = 0.25 albino het pied
0.5 albino - 0.5 pied = 0.25 albino pied
By the way, hypo seems to be an alternate name for ghost in ball pythons. And ghost is recessive to wild type. Hypo is a recessive mutant gene in corn snakes. And hypo is an alternate name for salmon, a dominant mutant gene in boa constrictors.
A branching system for two gene pairs takes half the time for the equivalent Punnett square. I've been using branching for many years, so PM me if you have questions about it.
|