Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <problem>
- <p> El constructor de proteína permite encadenar los bloques de construcción de proteínas, amino ácidos, y ver como esa cadena formará una estructura. Se está representado con
- The protein builder allows you string together the building blocks of proteins, amino acids, and see how that string will form into a structure. Se te presenta un objetivo de forma de proteína, y tu tarea es tratar de recrearlo. En el ejemplo de abajo la forma que se te pide formar es una línea simple.</p>
- <p> Asegurate de hacer click en "Fold" para plegar la proteína antes de hacer click en "Check".</p>
- <script type="loncapa/python">
- def protex_grader(expect,ans):
- import json
- ans=json.loads(ans)
- if "ERROR" in ans["protex_answer"]:
- raise ValueError("Protex did not understand your answer. Try folding the protein.")
- return ans["protex_answer"]=="CORRECT"
- </script>
- <text>
- <customresponse cfn="protex_grader">
- <designprotein2dinput width="855" height="500" target_shape="W;W;W;W;W;W;W"/>
- </customresponse>
- </text>
- <solution>
- <p>
- Many protein sequences, such as the following example, fold to a straight line.You can play around with the protein builder if you're curious.
- </p>
- <ul>
- <li>
- Stick: RRRRRRR
- </li>
- </ul>
- </solution>
- </problem>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement