» Site Navigation
1 members and 3,229 guests
Most users ever online was 6,337, 01-24-2020 at 04:30 AM.
» Today's Birthdays
» Stats
Members: 75,031
Threads: 248,490
Posts: 2,568,453
Top Poster: JLC (31,651)
|
-
Genetics Calculation Formula (not punnet squares)?
I am attempting to create a genetics calculator in Java, and need to know the formula for genetics probability without using punnet squares. For example:
An albino bred to a hypo het albino:
25% het albino
25% hypo het albino
25% albino
25% hypo albino
Any help would be greatly appreciated.
Eddie Strong, Jr.
-
-
Re: Genetics Calculation Formula (not punnet squares)?
I'm afraid I do the Punnett squares, but here are the correct results for your example:
Genetic Wizard 3.0 calculations by
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
The Following User Says Thank You to Annarose15 For This Useful Post:
-
Honestly why not just use the genetics calculatator at World of Ball Pythons? They already have everything worked out.
If this is just a project that you want to do, then I suggest that you use the information from WOBP
http://www.worldofballpythons.com/wizard/
~Aaron
0.1 Pastel 100% Het Clown Ball Python (Hestia)
1.0 Coastal/Jungle Carpet Python (Shagrath)
0.1 Dumeril's Boa (Nergal)
0.1 Bearded Dragon (Gaius)
1.0 Siberian Husky (Picard)
0.1 German Shepherd/Lab Mix (Jadzia)
-
The Following User Says Thank You to The Serpent Merchant For This Useful Post:
-
There's not a simple formula, you compare het and homo forms of every trait, you will be using multiple switches depending on that, then to do complexes you basically rewrite the calculation part to fit it. Only way I could figure it out at least.
Don't listen to them up above, there's alot more we can do with the calculators, hopefully in a few months I can put out the next step... learning new languages is driving me nuts and I lost motivation for a while, I've been slowly working on it though.
-
The Following User Says Thank You to OhhWatALoser For This Useful Post:
-
Re: Genetics Calculation Formula (not punnet squares)?
Originally Posted by OhhWatALoser
There's not a simple formula, you compare het and homo forms of every trait, you will be using multiple switches depending on that, then to do complexes you basically rewrite the calculation part to fit it. Only way I could figure it out at least.
Don't listen to them up above, there's alot more we can do with the calculators, hopefully in a few months I can put out the next step... learning new languages is driving me nuts and I lost motivation for a while, I've been slowly working on it though.
What more do you want in a genetics calculator? WOBP tells you exactly what the odds are. I'm all for development of new tools (electrical engineering major in college) but I don't see any reason to at this point.
~Aaron
0.1 Pastel 100% Het Clown Ball Python (Hestia)
1.0 Coastal/Jungle Carpet Python (Shagrath)
0.1 Dumeril's Boa (Nergal)
0.1 Bearded Dragon (Gaius)
1.0 Siberian Husky (Picard)
0.1 German Shepherd/Lab Mix (Jadzia)
-
The Following User Says Thank You to The Serpent Merchant For This Useful Post:
-
Re: Genetics Calculation Formula (not punnet squares)?
Originally Posted by The Serpent Merchant
What more do you want in a genetics calculator? WOBP tells you exactly what the odds are. I'm all for development of new tools (electrical engineering major in college) but I don't see any reason to at this point.
A few months ill show you
-
The Following 2 Users Say Thank You to OhhWatALoser For This Useful Post:
mattchibi (03-01-2012),Wh00h0069 (03-01-2012)
-
Re: Genetics Calculation Formula (not punnet squares)?
Originally Posted by OhhWatALoser
A few months ill show you
I'll keep my eye out, as I said I'm all for development of new tools and progress.
~Aaron
0.1 Pastel 100% Het Clown Ball Python (Hestia)
1.0 Coastal/Jungle Carpet Python (Shagrath)
0.1 Dumeril's Boa (Nergal)
0.1 Bearded Dragon (Gaius)
1.0 Siberian Husky (Picard)
0.1 German Shepherd/Lab Mix (Jadzia)
-
-
Re: Genetics Calculation Formula (not punnet squares)?
Originally Posted by OhhWatALoser
There's not a simple formula, you compare het and homo forms of every trait, you will be using multiple switches depending on that, then to do complexes you basically rewrite the calculation part to fit it. Only way I could figure it out at least.
Don't listen to them up above, there's alot more we can do with the calculators, hopefully in a few months I can put out the next step... learning new languages is driving me nuts and I lost motivation for a while, I've been slowly working on it though.
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.
Eddie Strong, Jr.
-
-
Re: Genetics Calculation Formula (not punnet squares)?
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.
Originally Posted by OhhWatALoser
A few months ill show you
o_O!! Oh man! I have no idea what could possibly be added, but I hope it's cool
Last edited by h00blah; 03-01-2012 at 02:29 PM.
Originally Posted by reixox
BPs are like pokemon. you tell yourself you're not going to get sucked in. but some how you just gotta catch'em all.
-
-
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.
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.
1.0 normal bp
mad roaches yo
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|