M
F
Color:
Hets:
Recall selected animals
|
About Wildcards
Help, other Calculators
Henk69.nl
NOTE: Try not to use too many wildcards; this will slow down the operation and produce huge amounts of data.
This calculator needs a minimum amount of information to run. But it must be accurate.
Example (Horse) for a external js file to be linked by the "...kruis4list.php?
js=lists/list4horse.js
" in querystring.
//List the order of dominance Alleles4list = new Array("A","at","a","E","e"); //List of genotypes must be complete, all loci in correct order, correctly wildcarded. //The initial identifies the gene/locus of the allele, so alternate loci with different initials. //Use slashes and commas. Bracket () second allele for sexlinked genes. Max. 6 characters per allele. //genotype,phenotype-name,picture-path ListGenotypes[ListGenotypes.length]=new Array("A/_,E/_","bay","paard/Bay.gif"); ListGenotypes[ListGenotypes.length]=new Array("at/_,E/_","brown","paard/Brown.gif"); ListGenotypes[ListGenotypes.length]=new Array("a/a,E/_","black","paard/Black.gif"); ListGenotypes[ListGenotypes.length]=new Array("_/_,e/e","chestnut","paard/Chestnut.gif");
Example sexlinked genes (Chicken):
//Sexlinked genes in play? OddGender = "F"; //"F" for birds or "M" for mammals //List the order of dominance Alleles4list = new Array("B","b+","S","s+"); //see remarks in first example ListGenotypes[ListGenotypes.length]=new Array("B/(_),_/(_)","cuckoo",""); ListGenotypes[ListGenotypes.length]=new Array("b+/(b+),s+/(s+)","gold",""); ListGenotypes[ListGenotypes.length]=new Array("b+/(b+),S/(S)","silver",""); // S/- would match S/S and S/s+ so S/S should be before S/s+ ListGenotypes[ListGenotypes.length]=new Array("b+/(b+),S/(s+)","golden","");