Python code, modeling a digestion of a DNA sequence using one or more enzymes.
Write a program which, from a restriction enzyme, gives the result of the digestion of a sequence by this enzyme. That is, the program gives the number of fragments and their length. It will also be able to give, the fragments sorted by length (as in a migration). Suggest a menu for that.
Secondly, digestion will take place by one or more enzymes that will be choosen by the user.
The options are:
- Display the dictionary of available enzymes
- Add an enzyme to the dictionary
- Digestion of a sequence by the selected enzyme
- Digestion of a sequence by several enzymes
- Exit the interface
Lucie GOMES Louise WEBER