• Hello!

    Either you have not registered on this site yet, or you are registered but have not logged in. In either case, you will not be able to use the full functionality of this site until you have registered, and then logged in after your registration has been approved.

    Registration is FREE, so please register so you can participate instead of remaining a lurker....

    Please be certain that the location field is correctly filled out when you register. All registrations that appear to be bogus will be rejected. Which means that if your location field does NOT match the actual location of your registration IP address, then your registration will be rejected.

    Sorry about the strictness of this requirement, but it is necessary to block spammers and scammers at the door as much as possible.

Question for genetic wizzards

Menhir said:
@Marcel oomph...
So, it's possible that I'm to blind to see what you're doing, but do you setup in this algorithm only the "Cards" each individual is able to pass to the next generation, or are you already calculating the possibibilities in the end. ....ohm,

LOL,

In pseudo code I 'know' the number of genes on both sides. So Number of Genes ^ 2 gives the number of possible combinations on each sides. Three genes = 3 ^ 2 = 8 possibilities. I do a bitwise operation for 1 to 8 with the genes to make all combinations.. But don't worry about it when you don't get it because I am a loozy explainer.. Anyways.. the program is finished. I need to make a disclaimer and an aboutbox with credits (to the nice people who helped me here) and I will release it here. Probably tomorrow..
 

Attachments

  • pic-04.jpg
    pic-04.jpg
    105.1 KB · Views: 58
Aaaaaaaaaahhhhhhhhhhhhh,

now I understand :)

The thing is, I REALLY don't want to "diss" you or something. But the result you give to the user - I wouldn't either call this well ordered nor for a breeder "correct".
My Skript gives you this:

1/4 Nominat het.Amelanistic Stripe poss.het.50% Hypomelanistic
1/4 Amelanistic het.Stripe poss.het.50% Hypomelanistic
1/4 Stripe het.Amelanistic poss.het.50% Hypomelanistic
1/4 Amelanistic Stripe poss.het.50% Hypomelanistic

Sorry, I copied it out of the table (in pewters site hom will be bold, het normal and the posshets in italics - so it is better so read...).
The thing with your version is, that you have to order the results and you can't also differate the het.Hypo from the poss.het.Hypo!!!
Another case is, when 2 Animals are het.Hypo - what would your program then do?
Mine will open 2 branches:
1/4 Hypo
3/4 Nominat poss.het66% Hypo

Because I'm using the tree-recursive way, he will order it from least homo-genes to the most homo-genes, just by the order I let him recall himself (I know, this isn't really good in all languages).

But stop, I didn't look if that results I've postet are right, because I embed the algorithm for dealing with Motley&Stripe today - like pewters describes it here (http://www.kornnatterlexikon.de/Lexikon/gpattern.htm) - so, this may have caused some mistakes, and I didn't had time to test the complete programm. But I think you get the idea what I meant.

That was why I asked you about the algorithm to count and order the results...

So I hope you don't feel attacked by me or something, I just meant to give you a new thought or an idea how to make the results more comfortable and ordered.

Greetings

One thing - does your program give 32 possiblities if 5 Morphs are in the paring?
Try this (hypothetic!): male: Butter het. Anery
female: Anery het. Butter, Hypo, Motley

Should give (if I believe my script):
1/8 Nominat het.Amelanistic Anerysthic Caramel poss.het.50% Hypomelanistic Motley
1/8 Amelanistic het.Anerysthic Caramel poss.het.50% Hypomelanistic Motley
1/8 Anerysthic het.Amelanistic Caramel poss.het.50% Hypomelanistic Motley
1/8 Amelanistic Anerysthic het.Caramel poss.het.50% Hypomelanistic Motley
1/8 Caramel het.Amelanistic Anerysthic poss.het.50% Hypomelanistic Motley
1/8 Amelanistic Caramel het.Anerysthic poss.het.50% Hypomelanistic Motley
1/8 Anerysthic Caramel het.Amelanistic poss.het.50% Hypomelanistic Motley
1/8 Amelanistic Anerysthic Caramel poss.het.50% Hypomelanistic Motley

Which are only 8 possibilities distinguishable for the breeder.
 
Last edited:
My program will result this:

Female is : Anery A het. Amel het. Motley het. Caramel het. Hypo
Male is : Amel Caramel het. Anery A
Offspring is predicted :
bbAaEeFfGg -> 3,13% Anery A, het. Amel, het. Motley, het. Caramel, het. Hypo
AaBbEeFfGg -> 3,13% het. Amel, het. Anery A, het. Motley, het. Caramel, het. Hypo
aabbEeFfGg -> 3,13% Amel, Anery A, het. Motley, het. Caramel, het. Hypo
aaBbEeFfGg -> 3,13% Amel, het. Anery A, het. Motley, het. Caramel, het. Hypo
bbAaFfGgEE -> 3,13% Anery A, het. Amel, het. Caramel, het. Hypo, poss het. Motley
AaBbFfGgEE -> 3,13% het. Amel, het. Anery A, het. Caramel, het. Hypo, poss het. Motley
aabbFfGgEE -> 3,13% Amel, Anery A, het. Caramel, het. Hypo, poss het. Motley
aaBbFfGgEE -> 3,13% Amel, het. Anery A, het. Caramel, het. Hypo, poss het. Motley
bbffAaEeGg -> 3,13% Anery A, Caramel, het. Amel, het. Motley, het. Hypo
ffAaBbEeGg -> 3,13% Caramel, het. Amel, het. Anery A, het. Motley, het. Hypo
aabbffEeGg -> 3,13% Amel, Anery A, Caramel, het. Motley, het. Hypo
aaffBbEeGg -> 3,13% Amel, Caramel, het. Anery A, het. Motley, het. Hypo
bbffAaGgEE -> 3,13% Anery A, Caramel, het. Amel, het. Hypo, poss het. Motley
ffAaBbGgEE -> 3,13% Caramel, het. Amel, het. Anery A, het. Hypo, poss het. Motley
aabbffGgEE -> 3,13% Amel, Anery A, Caramel, het. Hypo, poss het. Motley
aaffBbGgEE -> 3,13% Amel, Caramel, het. Anery A, het. Hypo, poss het. Motley
bbAaEeFfGG -> 3,13% Anery A, het. Amel, het. Motley, het. Caramel, poss het. Hypo
AaBbEeFfGG -> 3,13% het. Amel, het. Anery A, het. Motley, het. Caramel, poss het. Hypo
aabbEeFfGG -> 3,13% Amel, Anery A, het. Motley, het. Caramel, poss het. Hypo
aaBbEeFfGG -> 3,13% Amel, het. Anery A, het. Motley, het. Caramel, poss het. Hypo
bbAaFfEEGG -> 3,13% Anery A, het. Amel, het. Caramel, poss het. Motley, poss het. Hypo
AaBbFfEEGG -> 3,13% het. Amel, het. Anery A, het. Caramel, poss het. Motley, poss het. Hypo
aabbFfEEGG -> 3,13% Amel, Anery A, het. Caramel, poss het. Motley, poss het. Hypo
aaBbFfEEGG -> 3,13% Amel, het. Anery A, het. Caramel, poss het. Motley, poss het. Hypo
bbffAaEeGG -> 3,13% Anery A, Caramel, het. Amel, het. Motley, poss het. Hypo
ffAaBbEeGG -> 3,13% Caramel, het. Amel, het. Anery A, het. Motley, poss het. Hypo
aabbffEeGG -> 3,13% Amel, Anery A, Caramel, het. Motley, poss het. Hypo
aaffBbEeGG -> 3,13% Amel, Caramel, het. Anery A, het. Motley, poss het. Hypo
bbffAaEEGG -> 3,13% Anery A, Caramel, het. Amel, poss het. Motley, poss het. Hypo
ffAaBbEEGG -> 3,13% Caramel, het. Amel, het. Anery A, poss het. Motley, poss het. Hypo
aabbffEEGG -> 3,13% Amel, Anery A, Caramel, poss het. Motley, poss het. Hypo
aaffBbEEGG -> 3,13% Amel, Caramel, het. Anery A, poss het. Motley, poss het. Hypo
 
Hey Marcel,

I suppose I should ask... is Wizzard spelled properly for your native language? In English (American English atleast), it's spelled Wizard, with one 'z'. Just something you might want to think about changing, if you intend for your program to go to public use.

-Kat
 
Kat said:
Hey Marcel,

I suppose I should ask... is Wizzard spelled properly for your native language? In English (American English atleast), it's spelled Wizard, with one 'z'. Just something you might want to think about changing, if you intend for your program to go to public use.

-Kat

LOL, no that is just my bad english.. Thanks ;)
 
Menhir said:
The thing with your version is, that you have to order the results and you can't also differate the het.Hypo from the poss.het.Hypo!!!


So I hope you don't feel attacked by me or something, I just meant to give you a new thought or an idea how to make the results more comfortable and ordered.

LOL, no I am not affended. I really appreciate the comments. I do have a distinctive difference in Het Hypo and possible Het Hypo. I adjusted the program to show you the numbers instead of percentages. Here is the new result:

Female is : Anery A het. Amel het. Motley het. Caramel het. Hypo
Male is : Amel Caramel het. Anery A
Offspring is predicted :
AaBbEeFfGG -> 1/32 het. Amel, het. Anery A, het. Motley, het. Caramel, poss het. Hypo
aaBbEeFfGG -> 1/32 Amel, het. Anery A, het. Motley, het. Caramel, poss het. Hypo
aabbEeFfGG -> 1/32 Amel, Anery A, het. Motley, het. Caramel, poss het. Hypo
AaBbEeFfGg -> 1/32 het. Amel, het. Anery A, het. Motley, het. Caramel, het. Hypo
aabbEeFfGg -> 1/32 Amel, Anery A, het. Motley, het. Caramel, het. Hypo
aaBbEeFfGg -> 1/32 Amel, het. Anery A, het. Motley, het. Caramel, het. Hypo
aabbffEEGG -> 1/32 Amel, Anery A, Caramel, poss het. Motley, poss het. Hypo
aabbffEeGg -> 1/32 Amel, Anery A, Caramel, het. Motley, het. Hypo
aabbffEeGG -> 1/32 Amel, Anery A, Caramel, het. Motley, poss het. Hypo
aabbFfEEGG -> 1/32 Amel, Anery A, het. Caramel, poss het. Motley, poss het. Hypo
aaBbFfEEGG -> 1/32 Amel, het. Anery A, het. Caramel, poss het. Motley, poss het. Hypo
AaBbFfEEGG -> 1/32 het. Amel, het. Anery A, het. Caramel, poss het. Motley, poss het. Hypo
AaBbFfGgEE -> 1/32 het. Amel, het. Anery A, het. Caramel, het. Hypo, poss het. Motley
aaBbFfGgEE -> 1/32 Amel, het. Anery A, het. Caramel, het. Hypo, poss het. Motley
aabbFfGgEE -> 1/32 Amel, Anery A, het. Caramel, het. Hypo, poss het. Motley
aabbffGgEE -> 1/32 Amel, Anery A, Caramel, het. Hypo, poss het. Motley
aaffBbEeGg -> 1/32 Amel, Caramel, het. Anery A, het. Motley, het. Hypo
aaffBbEEGG -> 1/32 Amel, Caramel, het. Anery A, poss het. Motley, poss het. Hypo
aaffBbEeGG -> 1/32 Amel, Caramel, het. Anery A, het. Motley, poss het. Hypo
aaffBbGgEE -> 1/32 Amel, Caramel, het. Anery A, het. Hypo, poss het. Motley
bbAaEeFfGg -> 1/32 Anery A, het. Amel, het. Motley, het. Caramel, het. Hypo
bbAaEeFfGG -> 1/32 Anery A, het. Amel, het. Motley, het. Caramel, poss het. Hypo
bbAaFfEEGG -> 1/32 Anery A, het. Amel, het. Caramel, poss het. Motley, poss het. Hypo
bbAaFfGgEE -> 1/32 Anery A, het. Amel, het. Caramel, het. Hypo, poss het. Motley
bbffAaEeGG -> 1/32 Anery A, Caramel, het. Amel, het. Motley, poss het. Hypo
bbffAaEeGg -> 1/32 Anery A, Caramel, het. Amel, het. Motley, het. Hypo
bbffAaEEGG -> 1/32 Anery A, Caramel, het. Amel, poss het. Motley, poss het. Hypo
bbffAaGgEE -> 1/32 Anery A, Caramel, het. Amel, het. Hypo, poss het. Motley
ffAaBbEeGG -> 1/32 Caramel, het. Amel, het. Anery A, het. Motley, poss het. Hypo
ffAaBbEEGG -> 1/32 Caramel, het. Amel, het. Anery A, poss het. Motley, poss het. Hypo
ffAaBbEeGg -> 1/32 Caramel, het. Amel, het. Anery A, het. Motley, het. Hypo
ffAaBbGgEE -> 1/32 Caramel, het. Amel, het. Anery A, het. Hypo, poss het. Motley
 
Yes, but i think this difference is unnecessary.
You have 32 possibilities, but you can just distingush 8 with your eyes! And the Chance of getting 50% hets. is also considered by the poss.het. Data that I give to the user.

So, I think I would do hard to see in your 32 possibilities what I will be able to see in the "clutch" I am waiting for.

So, I could really annoy your programm by paring Nominat het. A, B, C, D x Nominat het. E, F, G, H because all you get is:

Nominat poss.het.50% A, B, C, D, E, F, G, H

Your programm would give me all 2exp8 different Version - but these Versions already exist in the indication that the animals are poss.het.50% blablabla - know what I mean?
 
maybe a lilttle off topic

is there any other progeny predictor out there thats got more then micks? or is there an update? i use it but half the time i dont get the results i shoud i may put a snow het carmel to a normal. het butter,ghost or and it does not get the rest right it will just say hypo or anery. im not good with the squares.any help would be great
 
I agree, it is more useful to a breeder to sort only by phenotype.

Also, just to be mean (hey, I AM a software QA engineer, or used to be)

ffAaBbGgEE -> 1/32 Caramel, het. Amel, het. Anery A, het. Hypo, poss het. Motley

This individual is not "possible het" for anything, because you know its genotype: it is NOT het motley. :p

You still need more work parsing the results into "human readable" but it looks like you got the math part running correctly. :)
 
Huh?

eddie said:
is there any other progeny predictor out there thats got more then micks? or is there an update? i use it but half the time i dont get the results i shoud i may put a snow het carmel to a normal. het butter,ghost or and it does not get the rest right it will just say hypo or anery. im not good with the squares.any help would be great
proghelp.gif


prog0.gif


prog1.gif


prog2.gif


prog3.gif
 
...maybe also offtopic:

I postet the link to pewters table for Motley&Stripe - did anyone read it? Because I'm using this for my calculator to deal with Motley, Stripe and MotleyXStripe animals.
Is this correct or the most common way to deal with it in present?
 
Menhir said:
...maybe also offtopic:

I postet the link to pewters table for Motley&Stripe - did anyone read it? Because I'm using this for my calculator to deal with Motley, Stripe and MotleyXStripe animals.
Is this correct or the most common way to deal with it in present?

I will deal with Stripe and Motley the same way other genes work.. Maybe later I will look at that problem (in a later version ;-)
 
Back
Top