Vote for BP.Net for the 2013 Forum of the Year! Click here for more info.

» Site Navigation

» Home
 > FAQ

» Online Users: 690

0 members and 690 guests
No Members online
Most users ever online was 47,180, 07-16-2025 at 05:30 PM.

» Today's Birthdays

None

» Stats

Members: 75,915
Threads: 249,118
Posts: 2,572,196
Top Poster: JLC (31,651)
Welcome to our newest member, KBFalconer
  • 03-01-2012, 08:22 AM
    Wh00h0069
    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.
  • 03-01-2012, 08:28 AM
    Annarose15
    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
    http://www.worldofballpythons.com/gfx/logo.png
  • 03-01-2012, 08:50 AM
    The Serpent Merchant
    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/
  • 03-01-2012, 01:24 PM
    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.
  • 03-01-2012, 01:29 PM
    The Serpent Merchant
    Re: Genetics Calculation Formula (not punnet squares)?
    Quote:

    Originally Posted by OhhWatALoser View 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.

    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.
  • 03-01-2012, 01:34 PM
    OhhWatALoser
    Re: Genetics Calculation Formula (not punnet squares)?
    Quote:

    Originally Posted by The Serpent Merchant View Post
    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 :)
  • 03-01-2012, 01:36 PM
    The Serpent Merchant
    Re: Genetics Calculation Formula (not punnet squares)?
    Quote:

    Originally Posted by OhhWatALoser View Post
    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.
  • 03-01-2012, 02:04 PM
    Wh00h0069
    Re: Genetics Calculation Formula (not punnet squares)?
    Quote:

    Originally Posted by OhhWatALoser View 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.

    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.
  • 03-01-2012, 02:28 PM
    h00blah
    Re: Genetics Calculation Formula (not punnet squares)?
    Quote:

    Originally Posted by Wh00h0069 View Post
    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.

    :confuzd:

    Quote:

    Originally Posted by OhhWatALoser View Post
    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 :gj:
  • 03-01-2012, 02:51 PM
    Mike41793
    Quote:

    Originally Posted by Wh00h0069 View Post

    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.
Powered by vBadvanced CMPS v4.2.1