You will write three small functions for the results of a test cross with two linked genes.
The idea. The recombinants are the offspring that do not have a parental combination. The recombination frequency is their share of all the offspring, in per cent, and it is the distance in map units.
Your tasks.
recombination_frequency. It takes a dictionary of counts and the list of the two parental kinds, and gives the frequency in per cent.middle_gene. It takes the three distances and gives the letter of the gene that lies in the middle.expected_recombinants. It gives the number of recombinant offspring expected from a number of offspring and a distance in map units.Have you tried it?
Do the tasks in the editor first, and run the checker after each one. Its hints help when a check fails. When you are ready, compare your code with this solution.
Log in to join the discussion.
Loading…
With Standard, you also open 12 more problems, 2 Python labs and 1 extra course. Everything you have used here stays free, always.