| The il2_human contains 4 cysteins (C) in positions 9, 78, 125, 145. We want to generate the sequence of a mutatnt were the cysteins 78 and 125 are replaced by serins (S)
| write the pseudocode, before to propose an implementation:
| The il2_human contains 4 cysteins (C) in positions 9, 78, 125, 145.
| We want to generate the sequence of a mutatnt were the cysteins 78 and 125 are replaced by serins (S)
| Write the pseudocode, before to propose an implementation:
take care of the string numbered vs sequence numbered:
We have to take care of the string numbered vs sequence numbered:
| C in seq -> in string
| 9 -> 8
...
...
@@ -280,12 +333,16 @@ take care of the string numbered vs sequence numbered:
| 125 -> 124
| 145 -> 144
| generate 3 slices from the il2_human
| head : from the begining and cut between the first cytein and the second
| body include the 2nd and 3rd cystein
| tail cut after the 3rd cystein until the end
| replace body cystein by serin
| make new sequence with head body_mutate tail
| *generate 3 slices from the il2_human*
| *head <- from the begining and cut between the first cytein and the second*
| *body <- include the 2nd and 3rd cystein*
| *tail <- cut after the 3rd cystein until the end*