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

» Site Navigation

» Home
 > FAQ

» Online Users: 3,230

1 members and 3,229 guests
Most users ever online was 6,337, 01-24-2020 at 04:30 AM.

» Today's Birthdays

None

» Stats

Members: 75,031
Threads: 248,490
Posts: 2,568,453
Top Poster: JLC (31,651)
Welcome to our newest member, isismomma
Page 1 of 2 12 LastLast
Results 1 to 10 of 16
  1. #1
    BPnet Veteran Wh00h0069's Avatar
    Join Date
    12-30-2007
    Location
    Middletown, OH
    Posts
    4,349
    Thanks
    915
    Thanked 832 Times in 736 Posts
    Images: 8

    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.

  2. #2
    BPnet Lifer Annarose15's Avatar
    Join Date
    06-25-2010
    Location
    Gainesville, GA
    Posts
    3,632
    Thanks
    1,537
    Thanked 1,708 Times in 1,206 Posts

    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
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



  3. The Following User Says Thank You to Annarose15 For This Useful Post:

    Wh00h0069 (03-01-2012)

  4. #3
    BPnet Veteran The Serpent Merchant's Avatar
    Join Date
    10-15-2011
    Location
    Orlando, Florida
    Posts
    8,193
    Thanks
    1,504
    Thanked 3,300 Times in 2,344 Posts
    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)

  5. The Following User Says Thank You to The Serpent Merchant For This Useful Post:

    Wh00h0069 (03-01-2012)

  6. #4
    BPnet Royalty OhhWatALoser's Avatar
    Join Date
    07-28-2007
    Location
    Suburbs of Detroit
    Posts
    4,986
    Thanks
    530
    Thanked 2,721 Times in 1,477 Posts
    Images: 2
    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.

  7. The Following User Says Thank You to OhhWatALoser For This Useful Post:

    Wh00h0069 (03-01-2012)

  8. #5
    BPnet Veteran The Serpent Merchant's Avatar
    Join Date
    10-15-2011
    Location
    Orlando, Florida
    Posts
    8,193
    Thanks
    1,504
    Thanked 3,300 Times in 2,344 Posts

    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.
    ~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)

  9. The Following User Says Thank You to The Serpent Merchant For This Useful Post:

    Wh00h0069 (03-01-2012)

  10. #6
    BPnet Royalty OhhWatALoser's Avatar
    Join Date
    07-28-2007
    Location
    Suburbs of Detroit
    Posts
    4,986
    Thanks
    530
    Thanked 2,721 Times in 1,477 Posts
    Images: 2

    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

  11. The Following 2 Users Say Thank You to OhhWatALoser For This Useful Post:

    mattchibi (03-01-2012),Wh00h0069 (03-01-2012)

  12. #7
    BPnet Veteran The Serpent Merchant's Avatar
    Join Date
    10-15-2011
    Location
    Orlando, Florida
    Posts
    8,193
    Thanks
    1,504
    Thanked 3,300 Times in 2,344 Posts

    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.
    ~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)

  13. #8
    BPnet Veteran Wh00h0069's Avatar
    Join Date
    12-30-2007
    Location
    Middletown, OH
    Posts
    4,349
    Thanks
    915
    Thanked 832 Times in 736 Posts
    Images: 8

    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.
    Eddie Strong, Jr.

  14. #9
    BPnet Lifer h00blah's Avatar
    Join Date
    05-17-2009
    Posts
    5,686
    Thanks
    4,011
    Thanked 2,570 Times in 1,769 Posts
    Images: 2

    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.


    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
    Last edited by h00blah; 03-01-2012 at 02:29 PM.
    Quote Originally Posted by reixox View Post
    BPs are like pokemon. you tell yourself you're not going to get sucked in. but some how you just gotta catch'em all.

  15. #10
    BPnet Lifer Mike41793's Avatar
    Join Date
    12-15-2011
    Location
    Philadelphia, PA
    Posts
    16,924
    Thanks
    6,661
    Thanked 7,979 Times in 5,583 Posts
    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.
    1.0 normal bp
    mad roaches yo

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Powered by vBadvanced CMPS v4.2.1