PPIIMoL: Difference between revisions

From PyMOLWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 3: Line 3:
'''PPIIMoL''' is a Python module for [[PyMOL]] that automates the detection of polyproline II (PPII) helices in proteins. It identifies PPII-like φ/ψ angle patterns, screens for plausible non‑canonical Cα–H···O=C contacts, and provides one‑click visualization and export.
'''PPIIMoL''' is a Python module for [[PyMOL]] that automates the detection of polyproline II (PPII) helices in proteins. It identifies PPII-like φ/ψ angle patterns, screens for plausible non‑canonical Cα–H···O=C contacts, and provides one‑click visualization and export.


This tool was developed as part of a Bachelor's Thesis in Computer Engineering in collaboration with the '''Protein Structure, Dynamics and Interactions by NMR Group''' at the Instituto de Química‑Física “Blas Cabrera” (IQF‑CSIC). The module’s design and validation take as a '''primary reference''' the data and architectonic principles reported by '''Segura Rodríguez & Laurents (2024)'''. See ''Provenance & how to cite'' below.
This tool was developed as part of a Bachelor's Thesis in Computer Engineering in collaboration with the '''Protein Structure, Dynamics and Interactions by NMR Group''' at the Instituto de Química‑Física “Blas Cabrera” (IQF‑CSIC). The module’s design and validation take as a '''primary reference''' the data and architectonic principles reported by '''Segura Rodríguez & Laurents (2024)'''. see ''References'' and ''How to cite'' below.


== Scientific background ==
== Scientific background ==
Line 18: Line 18:


== Requirements ==
== Requirements ==
* [[PyMOL]] 2.x or newer
* [[PyMOL]] 2.x or newer.
* Python with [https://docs.python.org/3/library/tkinter.html Tkinter] support (for the GUI)
* Python with [https://docs.python.org/3/library/tkinter.html Tkinter] enabled (for the GUI).


== Installation ==
== Installation ==
'''Option A — Single‑file run (no cloning)'''
'''Option A — Single‑file download (simplest)'''
# Download `PPIIMoL.py` from the [https://github.com/silviaenma/PPIIMoL GitHub repository].
# Download `PPIIMoL.py` from the repository (see [[#Repository|Repository]] below).
# In PyMOL:
# In PyMOL:
<pre>
<pre>
run /path/to/PPIIMoL.py
run /full/path/to/PPIIMoL.py
</pre>
</pre>


'''Option B — Clone repository (optional)'''
'''Option B — Clone the repository (optional)'''
<pre>
<pre>
git clone https://github.com/silviaenma/PPIIMoL.git
git clone https://github.com/silviaenma/PPIIMoL.git
Line 38: Line 38:
</pre>
</pre>


'''Option C — Install as plugin (optional)'''
'''Optional: install as a plugin'''
* PyMOL '''Plugin → Plugin Manager → Install New Plugin''' → select `PPIIMoL.py` (or the folder) → restart.
* In PyMOL: '''Plugin → Plugin Manager → Install New Plugin''' → select `PPIIMoL.py` (or the whole folder) → restart PyMOL.


== Usage ==
== Usage (GUI) ==
When loaded, PPIIMoL opens a Tkinter window with buttons to:
Once loaded, PPIIMoL opens a Tkinter window with buttons to:
* Prepare the structure (remove solvent, add hydrogens)
* '''Load PDB''' (or use an already‑loaded object),
* Detect PPII segments
* '''Detect PPII''' (scan φ/ψ windows and list segments),
* Visualize / color segments
* '''Scan Cα–H···O=C''' (optional geometric screening),
* Export results (CSV, PDB)
* '''Style / Colors''' (apply the chosen palette),
* '''Export''' (CSV reports; optional per‑segment PDBs).


Outputs are written to a dated folder and objects/selections are created in the PyMOL session.
Results are written to a date‑stamped folder; selections/objects are created in the PyMOL session and colored according to the chosen scheme.


== Figures ==
== Example (command line, optional) ==
<!-- Example insertions; replace with your uploaded file names -->
<pre>
[[File:PPIIMoL_Fig1.jpg|thumb|center|Figure 1 from Segura Rodríguez & Laurents (2024), bioRxiv preprint of "Architectonic principles of polyproline II helix bundle protein domains". Licensed under CC BY‑NC‑ND 4.0.]]
# Load the module (either single file or cloned repo)
[[File:PPIIMoL_Fig2.jpg|thumb|center|Figure 2 from Segura Rodríguez & Laurents (2024), bioRxiv preprint. Licensed under CC BY‑NC‑ND 4.0.]]
run /full/path/to/PPIIMoL.py
<!-- Add Fig3..Fig8 similarly if desired -->
# or
run PPIIMoL/PPIIMoL.py
 
# Load a structure and (optionally) trigger detection
fetch 3bog, async=0
ppii_detect()
</pre>
 
== Reference figures ==
Below are reference figures illustrating PPII bundle organization and residue patterns, reproduced with permission from the authors of the cited work.
 
<!-- Replace filenames with the ones you upload to PyMOLWiki -->
[[File:PPIIMoL_Fig1.jpg|thumb|center|600px|Figure 1. Reproduced with permission from Segura Rodríguez & Laurents (2024).]]
[[File:PPIIMoL_Fig2.jpg|thumb|center|600px|Figure 2. Reproduced with permission from Segura Rodríguez & Laurents (2024).]]
[[File:PPIIMoL_Fig3.jpg|thumb|center|600px|Figure 3. Reproduced with permission from Segura Rodríguez & Laurents (2024).]]
[[File:PPIIMoL_Fig4.jpg|thumb|center|600px|Figure 4. Reproduced with permission from Segura Rodríguez & Laurents (2024).]]
[[File:PPIIMoL_Fig5.jpg|thumb|center|600px|Figure 5. Reproduced with permission from Segura Rodríguez & Laurents (2024).]]
[[File:PPIIMoL_Fig6.jpg|thumb|center|600px|Figure 6. Reproduced with permission from Segura Rodríguez & Laurents (2024).]]
[[File:PPIIMoL_Fig7.jpg|thumb|center|600px|Figure 7. Reproduced with permission from Segura Rodríguez & Laurents (2024).]]
[[File:PPIIMoL_Fig8.jpg|thumb|center|600px|Figure 8. Reproduced with permission from Segura Rodríguez & Laurents (2024).]]
 
== Data source and acknowledgments ==
The detection criteria and packing cues implemented in PPIIMoL were informed by the comparative analysis of glycine‑rich PPII bundles reported in the article below. Development benefited from scientific input and validation support by the '''Protein Structure, Dynamics and Interactions by NMR Group (IQF‑CSIC)'''.
 
== How to cite ==
If PPIIMoL is useful in your work, please cite both the software and the reference article:


== Provenance & how to cite ==
* '''Software'''
The algorithm implements the manual workflow used at IQF‑CSIC and was benchmarked on reference domains reported by Segura Rodríguez & Laurents. If you use PPIIMoL in research, please cite:
: Rodríguez Fernández, S. E. (2025). ''PPIIMoL (version X.Y)'' [Computer software]. GitHub. https://github.com/silviaenma/PPIIMoL


* '''Software''' — Rodríguez Fernández, S. E. ''PPIIMoL: automated detection of polyproline II helices in PyMOL''. GitHub: https://github.com/silviaenma/PPIIMoL (GPL‑3.0).
* '''Reference article'''
* '''Primary reference (journal)''' — Segura Rodríguez, C. M., & Laurents, D. V. (2024). ''Architectonic principles of polyproline II helix bundle protein domains''. ''Archives of Biochemistry and Biophysics'', 741, 109981. [https://doi.org/10.1016/j.abb.2024.109981 DOI]
: Segura Rodríguez, C. M., & Laurents, D. V. (2024). Architectonic principles of polyproline II helix bundle protein domains. ''Archives of Biochemistry and Biophysics, 741'', 109981. [https://doi.org/10.1016/j.abb.2024.109981 https://doi.org/10.1016/j.abb.2024.109981]
* '''Figures source (preprint license)''' — bioRxiv preprint of the above article, licensed under CC BY‑NC‑ND 4.0 (attribution required; no derivatives).


== Repository ==
== Repository ==
* [https://github.com/silviaenma/PPIIMoL PPIIMoL on GitHub]
* GitHub: https://github.com/silviaenma/PPIIMoL


== License ==
== License ==

Revision as of 05:46, 14 August 2025

PPIIMoL

PPIIMoL is a Python module for PyMOL that automates the detection of polyproline II (PPII) helices in proteins. It identifies PPII-like φ/ψ angle patterns, screens for plausible non‑canonical Cα–H···O=C contacts, and provides one‑click visualization and export.

This tool was developed as part of a Bachelor's Thesis in Computer Engineering in collaboration with the Protein Structure, Dynamics and Interactions by NMR Group at the Instituto de Química‑Física “Blas Cabrera” (IQF‑CSIC). The module’s design and validation take as a primary reference the data and architectonic principles reported by Segura Rodríguez & Laurents (2024). see References and How to cite below.

Scientific background

Polyproline II (PPII) helices are extended, left‑handed motifs (≈3 residues/turn) typically enriched in glycine‑ and proline‑rich domains. Although common in several glycine‑rich bundles, they are often unannotated in PDB files. PPIIMoL automates their detection directly in PyMOL to improve speed and reproducibility.


Features

  • 🔍 Automatic detection of PPII segments via phi/psi angle analysis.
  • 🧬 Identification of Cα-H···O=C interactions relevant to structural stability.
  • 📊 CSV export of detected segments and interactions.
  • 🎨 Direct visualization in PyMOL with customizable color codes.
  • 🖱️ Simple Tkinter-based GUI — no commands required; all actions are accessible via buttons.


Requirements

  • PyMOL 2.x or newer.
  • Python with Tkinter enabled (for the GUI).

Installation

Option A — Single‑file download (simplest)

  1. Download `PPIIMoL.py` from the repository (see Repository below).
  2. In PyMOL:
run /full/path/to/PPIIMoL.py

Option B — Clone the repository (optional)

git clone https://github.com/silviaenma/PPIIMoL.git

Then in PyMOL:

run PPIIMoL/PPIIMoL.py

Optional: install as a plugin

  • In PyMOL: Plugin → Plugin Manager → Install New Plugin → select `PPIIMoL.py` (or the whole folder) → restart PyMOL.

Usage (GUI)

Once loaded, PPIIMoL opens a Tkinter window with buttons to:

  • Load PDB (or use an already‑loaded object),
  • Detect PPII (scan φ/ψ windows and list segments),
  • Scan Cα–H···O=C (optional geometric screening),
  • Style / Colors (apply the chosen palette),
  • Export (CSV reports; optional per‑segment PDBs).

Results are written to a date‑stamped folder; selections/objects are created in the PyMOL session and colored according to the chosen scheme.

Example (command line, optional)

# Load the module (either single file or cloned repo)
run /full/path/to/PPIIMoL.py
# or
run PPIIMoL/PPIIMoL.py

# Load a structure and (optionally) trigger detection
fetch 3bog, async=0
ppii_detect()

Reference figures

Below are reference figures illustrating PPII bundle organization and residue patterns, reproduced with permission from the authors of the cited work.

Figure 1. Reproduced with permission from Segura Rodríguez & Laurents (2024).
Figure 2. Reproduced with permission from Segura Rodríguez & Laurents (2024).
Figure 3. Reproduced with permission from Segura Rodríguez & Laurents (2024).
Figure 4. Reproduced with permission from Segura Rodríguez & Laurents (2024).
Figure 5. Reproduced with permission from Segura Rodríguez & Laurents (2024).
Figure 6. Reproduced with permission from Segura Rodríguez & Laurents (2024).
Figure 7. Reproduced with permission from Segura Rodríguez & Laurents (2024).
Figure 8. Reproduced with permission from Segura Rodríguez & Laurents (2024).

Data source and acknowledgments

The detection criteria and packing cues implemented in PPIIMoL were informed by the comparative analysis of glycine‑rich PPII bundles reported in the article below. Development benefited from scientific input and validation support by the Protein Structure, Dynamics and Interactions by NMR Group (IQF‑CSIC).

How to cite

If PPIIMoL is useful in your work, please cite both the software and the reference article:

  • Software
Rodríguez Fernández, S. E. (2025). PPIIMoL (version X.Y) [Computer software]. GitHub. https://github.com/silviaenma/PPIIMoL
  • Reference article
Segura Rodríguez, C. M., & Laurents, D. V. (2024). Architectonic principles of polyproline II helix bundle protein domains. Archives of Biochemistry and Biophysics, 741, 109981. https://doi.org/10.1016/j.abb.2024.109981

Repository

License

PPIIMoL is released under the GNU GPLv3.