R2DT icon indicating copy to clipboard operation
R2DT copied to clipboard

Create animated 2Ds showing transition between 2D structures from PDB files

Open AntonPetrov opened this issue 6 months ago • 0 comments

@fryzjergda Hi Tomasz! 👋

Here is an outline of the mini-project that we discussed:

  • Please base your work on the develop R2DT branch as it contains the latest code 💎
  • Install RNAview in the base_image Dockerfile (starter code: Dockerfile-rnaview) 🎉
  • Write a new utility script that will take 1 PDB file, annotate basepairs, parse results, and generate R2DT diagrams 💪
    • The starter code is in rnapuzzles-prepare-fasta.py, rnaview.py, and rnapuzzles_run_r2dt.py
  • Write a new utility script that will take 2 PDB files and generate 2 template-free R2DT diagrams and an animation between them 🎨
    • The starter code is in animate_puzzles.py
    • Ensure that the new command can be launched similar to this: docker run -it --rm rnacentral/r2dt:animate-3d bash -c "python3 utils/animate3d.py pdb1 pdb2 output.svg"
  • Add 2 tests to confirm that both new scripts run as expected 🤓
  • Add a new page to documentation ✍️
  • Send a pull request to the develop branch in this repo ✅

I will send the starter code by email. Please let me know if you have any questions. Thanks a lot!

AntonPetrov avatar Aug 23 '24 14:08 AntonPetrov