HOME | DD

Vizseryn — GeneBot: Equine Genetics Generator

#calculator #equine #generator #geno #horse #realistic #genotypes #genebot
Published: 2015-08-14 01:08:08 +0000 UTC; Views: 12042; Favourites: 331; Downloads: 620
Redirect to original
Description  Explanation video! www.youtube.com/watch?v=QUXoxp…

If you try to run it and it says 'A Java Exception has occurred'
install Java 8 and it will work!


Hey everyone!

I am very excited to announce that my computer-programming brother has made a program that can easily generate any number of random genos from two given ones (from two parents)!

This is a JAVA script.

I've named it GeneBot


You will need to use the format below when you enter your horse's genotype (copy and paste into the prompt)
Brigandor-Smartblood horses will have this special genotype code on the imports so that will make it easy! I would suggest having the correct code from below on any horse you think you'll be using GeneBot with


This is the order of the genes: 
EE/AA/prl&Cr/DD/RR/ChCh/ZZ/StySty/ff/pp/GG/TT/nO/SbSb/SplSpl/Lp1&Lp2/RbRb/WW
This order cannot be changed!
Note that (see at the bottom for further explanation if you're geeky like that): 
- Cr and prl occupy the same gene slot
- The Lp patterns are denoted as Lp1 or Lp2
- At and A+ need to come after 'a' if there is a recessive agouti copy, i.e. aAt (not Ata)
- If there is only one copy of a gene, mark the missing slot with an 'n' at the beginning, not a lowercase version of the gene, i.e. nG or nSty
- prlprl is the only recessive gene with more than one letter to represent it that will work in this program!

You cannot delete any unused gene slots! Replace them with 'nn'

How to use this: 
The genes that aren't present, replace with 'nn'
For the ones that are, use whatever the geno says.
For example, a sooty silver dapple tobiano splash bay dun with Ee/AA/nD/ZZ/nSty/nT/nSpl would be:
Ee/AA/nn/nD/nn/nn/ZZ/nSty/nn/nn/nn/nT/nn/nn/nSpl/nn/nn/nn

I just replaced the non-present genes with nn and changed the present ones to the correct form.

Copy and paste the two genes in turn, and then enter how many times you want the program to roll a geno, and then hit 'Go' and it'll give you that list! Sometimes it'll give you something like "aA" so you can change that back around to the normal 'Aa' Any sections that are just 'nn' are taken out already!


If you'd like a video to explain it, let me know :3

Please let me know if you enter something that breaks it, and comment with what you entered!



Any donations for my brother's work would be great!
You can donate points to me and I'll pay him


If you use this for your horse on its reference, please link back to this! Thank you!




Further explanation on how the program runs for breeds with created genes who want to use this:
GeneBot checks everything between the slashes '/' to figure out the alleles you have entered.
This is the order that it checks:
1. 'n' first: if there is an 'n' as the very first character of the set, it reads that as one copy of whatever comes after it [nSty]
2. two characters: if there are only two characters total, it splits the two and reads each letter as one allele each [Ee]
3. capital letter: if there is a capital letter in the sequence, it will split it into two alleles, the second starting from the capital [prlCr]
                    this is why At and A+ must come after a recessive agouti if there is a recessive one present [aAt]
4. prl case: there is a case that the program checks for prlprl and will correctly separate that sequence even though there is no 'n' and no capitals and it it more than two letters in total length. This is why any other case of recessive genes represented by more than one letter for each allele will not work. You will have to use capitals and then change it back to lowercase at the end.

If you are creating your own gene sequence, remember that when you enter two genos into the program, in order for it to work like you want it to, the same gene must occupy the same location for both sets, and both sets have to the the same length.
If you want to add genes, you can do that - add them at the end, and remember what position they're in. The one I provided has 18 sets of genes, so if you add a Pck gene for example, the Pck gene is in the 19th position.
You can 'breed' any two sets of genes as long as you add enough '/nn's to the shorter one to make it the same length, and there are no genes that occupy the same position but are different, such as, if one set has the Pck in the 19th position but the other has a Dgn gene in that 19th position. Move one of them to the 20th position and fill in the space with 'nn'.


If you have a breed and you want to use this and the code for it, feel free to request this to your group's favorites, or to put it in a gallery folder!




> More of my things I uploaded for your use, including linearts, GIMP brushes, and tutorials <

Free:
   
Pay to use:
       Public Greyscale 03
Related content
Comments: 79

Vizseryn In reply to ??? [2015-08-16 16:09:08 +0000 UTC]

Number, is you have to enter the number of times you want the program to roll

👍: 0 ⏩: 1

SilverBrooke-Stables In reply to Vizseryn [2015-08-17 05:32:04 +0000 UTC]

OH got it. Thanks 

👍: 0 ⏩: 0

SofiesDrawings In reply to ??? [2015-08-14 07:45:16 +0000 UTC]

I think i would like you to explain it in a video cause i don't really understand it...
Btw *High five* to your brother

👍: 0 ⏩: 1

Vizseryn In reply to SofiesDrawings [2015-08-14 13:16:18 +0000 UTC]

Okay! I'll do that and update this

👍: 0 ⏩: 1

SofiesDrawings In reply to Vizseryn [2015-08-14 15:26:19 +0000 UTC]

okay

👍: 0 ⏩: 1

Vizseryn In reply to SofiesDrawings [2015-08-14 16:45:08 +0000 UTC]

Done!

👍: 0 ⏩: 2

SofiesDrawings In reply to Vizseryn [2015-08-15 10:59:10 +0000 UTC]

Thanks

👍: 0 ⏩: 0

Brightheart10 In reply to Vizseryn [2015-08-14 18:00:50 +0000 UTC]

Thank you!

👍: 0 ⏩: 1

Vizseryn In reply to Brightheart10 [2015-08-14 19:48:16 +0000 UTC]

It made sense? XD Just wanna make sure I explained it well enough!

👍: 0 ⏩: 0

awesomeowl321 [2015-08-14 03:17:19 +0000 UTC]

This is wonderful! I won't copy this too, 0.0 but I might have some genetics questions coming your way if you don't mind my bucketful of questions overloading you. 

👍: 0 ⏩: 1

Vizseryn In reply to awesomeowl321 [2015-08-14 03:40:55 +0000 UTC]

Sure, I'll help you with genetics

👍: 0 ⏩: 1

awesomeowl321 In reply to Vizseryn [2015-08-14 04:34:47 +0000 UTC]

I got most of them down, but writing them is a little iffy for me. By the way, these are questions for real(istic) horse genetics.
I understand if you can't/don't want to answer the 9 questions listed here. I'll find out somehow. o.O

1. Black (Often written as EE/aa or Ee/aa): Does it always have to have the aa at the end?
2. Chestnut: They are always written as ee/aa or ee/Aa (can't see the agouti cause no black coat to lighten up) right? 
3. Pearl: Can you see a difference between a pearl and a cream?
4. PrlCr: What are the main visual indicators of a horse that carry and express those genes? 
5. Silver dapple: Can they be only expressed on parts where there is black? What about bays?
6. Can you have 2 agouti (A) in one horse? 
7. Do you bother with wild bays (At) a lot?

8. Breeding: Since you are the founder of many pretty horses, and you are probably the one who decides the foal geno and pheno, how do you choose the color of the foal? Online dice? Online program? Genetic logic?

9. Are their any genetics that can't be expressed on a horse at the same time? Is there a rule for that? 

👍: 0 ⏩: 1

Vizseryn In reply to awesomeowl321 [2015-08-14 06:37:16 +0000 UTC]

Np, it'll keep me fresh on my gene knowledge XD

1. It's a good idea to have it - the 'base' colors are black, bay and chestnut and so it's good to definitely distinguish it from bay
2. Yeppers (or ee/AA, etc with other agouti)
3. Do you mean between a CrCr and a prlprl?
4. One copy of prl does nothing visually, while one cream does (on black is marginal but still a slight change), and prlprl compared to CrCr are a bit more champagne-color I'd say, darker than the CrCr equivalent, and perhaps have a green-ish eye rather than blue. prlCr looks very close to CrCr but not quite, it can be very hard to just look at a horse and see it's a prlCr and not a CrCr
5. Yes - on bays, the dark points on the legs too will be slightly silver-y, especially if there is feathering (that is why silver doesn't affect chestnuts, it's like agouti in that way)
6. Yep, any combo of any agouti
7. Wild bay is A+ and brown/seal bay is At - I don't like wild bay much but I do like seal bay!
8. Well, before this XD I used a random number generator on my phone from 1-100, odd numbers I took the first letter/geno from a set, and even numbers I took the second, and had to go through every set of genes from both parents for foals to do it that way. Which was a pain.
9. Only those restricted by base color - example, flaxen only affects chestnuts and silver dapple affects black/bay, so if your horse had both only one would be expressed. Everything else just sorta combines together in the coat

👍: 0 ⏩: 1

awesomeowl321 In reply to Vizseryn [2015-08-16 01:57:25 +0000 UTC]

*Hugs* Thank you so much! I hate and love genetics at the same time. Now I need to figure out horse breeding here. You know how some colours are more rare then others? (Silver dapple, cream, pearl etc). Whis that? Is it because its harder to pass on? Is it because originally there wasn't many horses of this colour? 

(Hehe I might need some help on how to manage breeding in my new breed. Can you give me tips on how to do it? Is there a popular system where I can use too?)

👍: 0 ⏩: 1

Vizseryn In reply to awesomeowl321 [2015-08-16 02:51:03 +0000 UTC]

XD when I was first starting I had the same love/hate relationship - now it's mostly love <3
So, bay is the very very very 'base' or 'original' color (since it's two dominants) and everything else is a mutation more or less, some only having occurred in small parts of the world which have only recently spread due to globalization, etc. Only recessive genes are harder to pass on than dominant ones, but some colors like perlino still require two dominant creams to show, while champagne is a 'complete dominant' so one and two copies of the gene look exactly alike. 

If you're just starting out, you might just want to let members do breeding themselves - HARPG people who have been here a bit should understand how to do it just fine and while the breed is small, you don't want to restrict breeding, certainly, you want horses everywhere! If it gets big or out of hand, then you might want to make members go through the group. You can read about how I have set Brigandors up - I just check that the geno is possible and that the horses aren't related, essentially. Also that the owner has permission to use the slots, so there aren't any rogue foals or whatever XD

👍: 0 ⏩: 1

awesomeowl321 In reply to Vizseryn [2015-08-16 04:02:24 +0000 UTC]

Hey I think I will try that! Thank you for the tip!

👍: 0 ⏩: 1

Vizseryn In reply to awesomeowl321 [2015-08-16 16:07:58 +0000 UTC]

No problem!

👍: 0 ⏩: 0

Flamestorm11 [2015-08-14 01:27:53 +0000 UTC]

 I keep getting an error D: "a Java exception occurred"

👍: 0 ⏩: 1

Vizseryn In reply to Flamestorm11 [2015-08-14 01:30:57 +0000 UTC]

What are you entering?

👍: 0 ⏩: 1

Flamestorm11 In reply to Vizseryn [2015-08-14 01:31:19 +0000 UTC]

I'm trying to pen it D: It wont let me open it at all :c

👍: 0 ⏩: 1

Vizseryn In reply to Flamestorm11 [2015-08-14 01:37:46 +0000 UTC]

Is your computer up-to-date on Java?

👍: 0 ⏩: 1

Flamestorm11 In reply to Vizseryn [2015-08-14 01:38:37 +0000 UTC]

Yeah i updated it just here recently :c

👍: 0 ⏩: 1

Vizseryn In reply to Flamestorm11 [2015-08-14 01:41:49 +0000 UTC]

Do what version of Java you're running?

👍: 0 ⏩: 0

ShishiNoSeirei [2015-08-14 01:15:48 +0000 UTC]

this is awsome

👍: 0 ⏩: 1

Vizseryn In reply to ShishiNoSeirei [2015-08-14 01:27:11 +0000 UTC]

👍: 0 ⏩: 0

Scythe-Stuff In reply to ??? [2015-08-14 01:12:29 +0000 UTC]

Give your brother a hug for me! This is awesome!

👍: 0 ⏩: 1

Vizseryn In reply to Scythe-Stuff [2015-08-14 01:27:04 +0000 UTC]

I don't do hugs XD but I'll tell him!

👍: 0 ⏩: 1

Scythe-Stuff In reply to Vizseryn [2015-08-14 01:28:26 +0000 UTC]

lol

👍: 0 ⏩: 0