pandappi 2.0.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pandappi-2.0.0/LICENSE +21 -0
- pandappi-2.0.0/PKG-INFO +342 -0
- pandappi-2.0.0/README.md +307 -0
- pandappi-2.0.0/pandappi/__init__.py +9 -0
- pandappi-2.0.0/pandappi/core.py +967 -0
- pandappi-2.0.0/pandappi/interactions/__init__.py +0 -0
- pandappi-2.0.0/pandappi/interactions/amide_amide.py +142 -0
- pandappi-2.0.0/pandappi/interactions/amide_aromatic.py +179 -0
- pandappi-2.0.0/pandappi/interactions/cation_pi.py +161 -0
- pandappi-2.0.0/pandappi/interactions/ch_pi.py +173 -0
- pandappi-2.0.0/pandappi/interactions/disulfide.py +70 -0
- pandappi-2.0.0/pandappi/interactions/halogen_bonds.py +115 -0
- pandappi-2.0.0/pandappi/interactions/hydrogen_bonds.py +87 -0
- pandappi-2.0.0/pandappi/interactions/hydrophobic.py +84 -0
- pandappi-2.0.0/pandappi/interactions/ionic.py +91 -0
- pandappi-2.0.0/pandappi/interactions/metal_coordination.py +155 -0
- pandappi-2.0.0/pandappi/interactions/pi_interactions.py +264 -0
- pandappi-2.0.0/pandappi/interactions/salt_bridges.py +90 -0
- pandappi-2.0.0/pandappi/interactions/sulfur_aromatic.py +143 -0
- pandappi-2.0.0/pandappi/interactions/utils.py +65 -0
- pandappi-2.0.0/pandappi/interactions/van_der_waals.py +97 -0
- pandappi-2.0.0/pandappi/interactions/water_mediated.py +112 -0
- pandappi-2.0.0/pandappi/main.py +135 -0
- pandappi-2.0.0/pandappi/reports/__init__.py +0 -0
- pandappi-2.0.0/pandappi/reports/generator.py +251 -0
- pandappi-2.0.0/pandappi/visualization/__init__.py +0 -0
- pandappi-2.0.0/pandappi/visualization/interaction_map.py +636 -0
- pandappi-2.0.0/pandappi/visualization/network.py +70 -0
- pandappi-2.0.0/pandappi/visualization/plot3d.py +842 -0
- pandappi-2.0.0/pandappi/visualization/plot_3d_enhanced.py +707 -0
- pandappi-2.0.0/pandappi/visualization/viewer_scripts.py +119 -0
- pandappi-2.0.0/pandappi.egg-info/PKG-INFO +342 -0
- pandappi-2.0.0/pandappi.egg-info/SOURCES.txt +38 -0
- pandappi-2.0.0/pandappi.egg-info/dependency_links.txt +1 -0
- pandappi-2.0.0/pandappi.egg-info/entry_points.txt +2 -0
- pandappi-2.0.0/pandappi.egg-info/requires.txt +9 -0
- pandappi-2.0.0/pandappi.egg-info/top_level.txt +1 -0
- pandappi-2.0.0/pyproject.toml +59 -0
- pandappi-2.0.0/setup.cfg +4 -0
- pandappi-2.0.0/tests/test_smoke.py +47 -0
pandappi-2.0.0/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 Pritam Kumar Panda
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
pandappi-2.0.0/PKG-INFO
ADDED
|
@@ -0,0 +1,342 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: pandappi
|
|
3
|
+
Version: 2.0.0
|
|
4
|
+
Summary: Map and visualize every contact at protein-protein, protein-peptide, antibody-antigen and protein-nucleic acid interfaces
|
|
5
|
+
Author-email: "Dr. Pritam Kumar Panda" <pritam@stanford.edu>
|
|
6
|
+
License-Expression: MIT
|
|
7
|
+
Project-URL: Homepage, https://github.com/pritampanda15/PandaPPI
|
|
8
|
+
Project-URL: Documentation, https://github.com/pritampanda15/PandaPPI#readme
|
|
9
|
+
Project-URL: Issues, https://github.com/pritampanda15/PandaPPI/issues
|
|
10
|
+
Keywords: bioinformatics,structural biology,protein-protein interactions,interface,peptide,antibody,nucleic acids,PDB
|
|
11
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
12
|
+
Classifier: Intended Audience :: Science/Research
|
|
13
|
+
Classifier: Programming Language :: Python :: 3
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
19
|
+
Classifier: Operating System :: OS Independent
|
|
20
|
+
Classifier: Topic :: Scientific/Engineering :: Bio-Informatics
|
|
21
|
+
Classifier: Topic :: Scientific/Engineering :: Chemistry
|
|
22
|
+
Classifier: Topic :: Scientific/Engineering :: Visualization
|
|
23
|
+
Requires-Python: >=3.9
|
|
24
|
+
Description-Content-Type: text/markdown
|
|
25
|
+
License-File: LICENSE
|
|
26
|
+
Requires-Dist: biopython>=1.79
|
|
27
|
+
Requires-Dist: numpy>=1.20.0
|
|
28
|
+
Requires-Dist: pandas>=1.3.0
|
|
29
|
+
Requires-Dist: matplotlib>=3.5.0
|
|
30
|
+
Requires-Dist: py3Dmol>=0.9.0
|
|
31
|
+
Requires-Dist: networkx>=2.6.0
|
|
32
|
+
Provides-Extra: test
|
|
33
|
+
Requires-Dist: pytest; extra == "test"
|
|
34
|
+
Dynamic: license-file
|
|
35
|
+
|
|
36
|
+
<p align="center">
|
|
37
|
+
<img src="https://raw.githubusercontent.com/pritampanda15/PandaPPI/main/docs/banner.svg" alt="PandaPPI: map every contact at a protein interface" width="760">
|
|
38
|
+
</p>
|
|
39
|
+
|
|
40
|
+
<p align="center">
|
|
41
|
+
<a href="https://pypi.org/project/pandappi/"><img src="https://img.shields.io/pypi/v/pandappi" alt="PyPI version"></a>
|
|
42
|
+
<a href="https://github.com/pritampanda15/PandaPPI/actions/workflows/ci.yml"><img src="https://github.com/pritampanda15/PandaPPI/actions/workflows/ci.yml/badge.svg" alt="CI status"></a>
|
|
43
|
+
<img src="https://img.shields.io/badge/python-3.9%2B-3776ab?logo=python&logoColor=white" alt="Python 3.9 or newer">
|
|
44
|
+
<a href="https://github.com/pritampanda15/PandaPPI/blob/main/LICENSE"><img src="https://img.shields.io/github/license/pritampanda15/PandaPPI" alt="MIT license"></a>
|
|
45
|
+
<a href="https://github.com/pritampanda15/PandaPPI/commits/main"><img src="https://img.shields.io/github/last-commit/pritampanda15/PandaPPI" alt="Last commit"></a>
|
|
46
|
+
<a href="https://github.com/pritampanda15/PandaPPI/issues"><img src="https://img.shields.io/github/issues/pritampanda15/PandaPPI" alt="Open issues"></a>
|
|
47
|
+
<a href="https://github.com/pritampanda15/PandaPPI/stargazers"><img src="https://img.shields.io/github/stars/pritampanda15/PandaPPI?style=social" alt="GitHub stars"></a>
|
|
48
|
+
<a href="https://github.com/pritampanda15/PandaPPI/network/members"><img src="https://img.shields.io/github/forks/pritampanda15/PandaPPI?style=social" alt="GitHub forks"></a>
|
|
49
|
+
</p>
|
|
50
|
+
|
|
51
|
+
**PandaPPI** reads a PDB file and maps the non-covalent contacts between its chains: protein-protein, antibody-antigen, protein-peptide and protein-nucleic acid. One command gives you publication-style figures and tables for every interface in the structure.
|
|
52
|
+
|
|
53
|
+
```bash
|
|
54
|
+
pandappi complex.pdb --all-outputs -o results
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
<p align="center">
|
|
58
|
+
<a href="https://github.com/pritampanda15/PandaPPI/blob/main/docs/pandappi_demo.mp4"><img src="https://raw.githubusercontent.com/pritampanda15/PandaPPI/main/docs/pandappi_demo.gif" alt="30-second demo: pandappi run on a peptide, a protein-DNA complex and an antibody-antigen complex, each command followed by the figures it writes" width="800"></a>
|
|
59
|
+
</p>
|
|
60
|
+
<p align="center"><sub>30-second demo. Click it for the <a href="https://github.com/pritampanda15/PandaPPI/blob/main/docs/pandappi_demo.mp4">full-resolution video with sound</a>.</sub></p>
|
|
61
|
+
|
|
62
|
+
## Contents
|
|
63
|
+
|
|
64
|
+
- [What you get](#what-you-get)
|
|
65
|
+
- [Install](#install)
|
|
66
|
+
- [Quick start](#quick-start)
|
|
67
|
+
- [Outputs](#outputs)
|
|
68
|
+
- [Python API](#python-api)
|
|
69
|
+
- [Interaction types](#interaction-types)
|
|
70
|
+
- [Command-line reference](#command-line-reference)
|
|
71
|
+
- [Citation](#citation)
|
|
72
|
+
|
|
73
|
+
## What you get
|
|
74
|
+
|
|
75
|
+
### Interface report
|
|
76
|
+
|
|
77
|
+
One page per chain pair. Panel **a** is the residue contact map, with a badge on each line for the interaction type. Panels **b** and **c** count the contacts and show their distances. Panel **d** shows which residue makes which kind of contact, and panel **e** ranks residues by the surface they bury on binding. The header gives the buried surface area of the interface and its closest hydrogen bond.
|
|
78
|
+
|
|
79
|
+
<p align="center">
|
|
80
|
+
<img src="https://raw.githubusercontent.com/pritampanda15/PandaPPI/main/test/antigen_antibody/antigen_antibody_interface_H-W.png" alt="Interface report for antibody heavy chain H and antigen chain W of 1BJ1: contact map, contacts by type, contact distances, residue profile and most buried residues" width="880">
|
|
81
|
+
</p>
|
|
82
|
+
|
|
83
|
+
### 3D contacts view
|
|
84
|
+
|
|
85
|
+
The same interface at atom level: side chains drawn from their real coordinates, the contacting atoms named, and each contact labelled with its true distance.
|
|
86
|
+
|
|
87
|
+
<p align="center">
|
|
88
|
+
<img src="https://raw.githubusercontent.com/pritampanda15/PandaPPI/main/test/antigen_antibody/antigen_antibody_contacts3d_H-W.png" alt="Atom-level contacts between antibody heavy chain H and antigen chain W: side chains as sticks, contacting atoms as labelled dots, contact lines with distances" width="820">
|
|
89
|
+
</p>
|
|
90
|
+
|
|
91
|
+
### Peptides and oligonucleotides
|
|
92
|
+
|
|
93
|
+
When one chain of a pair has 30 residues or fewer, the map switches to a radial layout: the short chain is drawn as a backbone in the centre, with its partner's residues around it.
|
|
94
|
+
|
|
95
|
+
<p align="center">
|
|
96
|
+
<img src="https://raw.githubusercontent.com/pritampanda15/PandaPPI/main/docs/peptide_map_example.png" alt="Radial map of a 16-residue peptide in the centre with antibody heavy-chain residues around it" width="760">
|
|
97
|
+
</p>
|
|
98
|
+
|
|
99
|
+
<sub>Example: a 16-residue antigen loop cut from 1BJ1 and treated as a peptide. A DNA strand drawn the same way is in <a href="https://raw.githubusercontent.com/pritampanda15/PandaPPI/main/test/protein-nucleicacid/protein_DNA_interface_A-N.png">the 3L1P example</a>.</sub>
|
|
100
|
+
|
|
101
|
+
### Summary dashboard
|
|
102
|
+
|
|
103
|
+
The whole structure at a glance: contacts by type, which chains touch, distance distributions and hotspot residues.
|
|
104
|
+
|
|
105
|
+
<p align="center">
|
|
106
|
+
<img src="https://raw.githubusercontent.com/pritampanda15/PandaPPI/main/test/antigen_antibody/antigen_antibody_dashboard.png" alt="Dashboard: interaction counts by type, chain contact matrix, distance distributions and hotspot residues" width="820">
|
|
107
|
+
</p>
|
|
108
|
+
|
|
109
|
+
### Publication-ready figures
|
|
110
|
+
|
|
111
|
+
Every figure follows Nature figure conventions, so it can go into a manuscript without redrawing:
|
|
112
|
+
|
|
113
|
+
- 183 mm wide (double column), with 5-7 pt Arial/Helvetica text and 8 pt bold lowercase panel letters.
|
|
114
|
+
- The NPG colour palette, with colour meaning the same thing in every panel: teal for polar contacts, red for charged, navy for aromatic, charcoal for apolar. Line style and the badge letter separate the types within a colour.
|
|
115
|
+
- Each figure is written twice: a 300 dpi PNG and a vector PDF with editable text, under the same name.
|
|
116
|
+
|
|
117
|
+
## Install
|
|
118
|
+
|
|
119
|
+
PandaPPI needs Python 3.9 or newer.
|
|
120
|
+
|
|
121
|
+
```bash
|
|
122
|
+
pip install pandappi
|
|
123
|
+
```
|
|
124
|
+
|
|
125
|
+
For the development version, install from GitHub:
|
|
126
|
+
|
|
127
|
+
```bash
|
|
128
|
+
pip install git+https://github.com/pritampanda15/PandaPPI.git
|
|
129
|
+
```
|
|
130
|
+
|
|
131
|
+
Dependencies (installed automatically): Biopython, NumPy, pandas, Matplotlib, NetworkX and py3Dmol.
|
|
132
|
+
|
|
133
|
+
## Quick start
|
|
134
|
+
|
|
135
|
+
Everything for an antibody-antigen complex, restricted to six chains:
|
|
136
|
+
|
|
137
|
+
```bash
|
|
138
|
+
pandappi 1BJ1.pdb --chains L H V W J K --all-outputs -o antigen_antibody
|
|
139
|
+
```
|
|
140
|
+
|
|
141
|
+
Only the interface reports and the 3D contacts views:
|
|
142
|
+
|
|
143
|
+
```bash
|
|
144
|
+
pandappi complex.pdb --interface-report --contacts-3d -o results
|
|
145
|
+
```
|
|
146
|
+
|
|
147
|
+
Only hydrogen bonds and salt bridges, as a table:
|
|
148
|
+
|
|
149
|
+
```bash
|
|
150
|
+
pandappi complex.pdb --hydrogen-bonds --salt-bridges --report -o polar
|
|
151
|
+
```
|
|
152
|
+
|
|
153
|
+
The input files for these examples, and every output they produce, are in [`test/`](https://github.com/pritampanda15/PandaPPI/tree/main/test).
|
|
154
|
+
|
|
155
|
+
## Outputs
|
|
156
|
+
|
|
157
|
+
`<prefix>` is whatever you pass to `-o` (default `pandappi`). Each `.png` figure below also comes as a vector `.pdf` with the same name.
|
|
158
|
+
|
|
159
|
+
| Flag | What it writes | File |
|
|
160
|
+
|------|----------------|------|
|
|
161
|
+
| `--interface-report` | Interface report per chain pair | `<prefix>_interface_<A>-<B>.png` |
|
|
162
|
+
| `--contacts-3d` | Atom-level contacts per chain pair | `<prefix>_contacts3d_<A>-<B>.png` |
|
|
163
|
+
| `--map` | Contact map only, per chain pair | `<prefix>_map_<A>-<B>.png` |
|
|
164
|
+
| `--dashboard` | Summary dashboard | `<prefix>_dashboard.png` |
|
|
165
|
+
| `--html-report` | One self-contained HTML page with all figures and tables, plus the text report, both CSVs, the dashboard, interface reports and 3D contacts views | `<prefix>_report.html`, `<prefix>_report.txt` |
|
|
166
|
+
| `--report` | Every interaction, one row each | `<prefix>_report.csv` |
|
|
167
|
+
| `--residue-summary` | Interaction counts per residue | `<prefix>_residue_summary.csv` |
|
|
168
|
+
| `--statistics` | Totals and average distances | `<prefix>_stats.txt` |
|
|
169
|
+
| `--network` | Residue interaction network | `<prefix>_network.png`, `<prefix>_network.gml` |
|
|
170
|
+
| `--3d-plot` | Interactive 3D viewer | `<prefix>_3d.html` |
|
|
171
|
+
| `--export-vis` | Scripts that rebuild the interface in PyMOL, ChimeraX, Chimera, VMD and Mol* | `<prefix>.pml`, `.cxc`, `.cmd`, `.tcl`, `.molj` |
|
|
172
|
+
| `--all-outputs` | All of the above | |
|
|
173
|
+
|
|
174
|
+
The interaction table has one row per contact:
|
|
175
|
+
|
|
176
|
+
| Interaction_Type | Chain1 | Residue1 | Atom1 | Chain2 | Residue2 | Atom2 | Distance_Å |
|
|
177
|
+
|---|---|---|---|---|---|---|---|
|
|
178
|
+
| Hydrogen bond | H | TYR 99 | OH | W | GLN 87 | O | 2.63 |
|
|
179
|
+
|
|
180
|
+
## Python API
|
|
181
|
+
|
|
182
|
+
```python
|
|
183
|
+
from pandappi import PandaPPI
|
|
184
|
+
|
|
185
|
+
analyzer = PandaPPI("1BJ1.pdb", chains=["H", "L", "W"])
|
|
186
|
+
analyzer.map_interactions()
|
|
187
|
+
|
|
188
|
+
# every figure and table in one call
|
|
189
|
+
files = analyzer.generate_full_report("results")
|
|
190
|
+
|
|
191
|
+
# or one piece at a time
|
|
192
|
+
table = analyzer.generate_report("results_report.csv") # pandas DataFrame
|
|
193
|
+
analyzer.create_interface_reports("results") # one PNG per chain pair
|
|
194
|
+
analyzer.create_contact_views("results") # atom-level 3D contacts
|
|
195
|
+
analyzer.create_interaction_maps("results") # contact maps only
|
|
196
|
+
analyzer.create_dashboard("results_dashboard.png")
|
|
197
|
+
analyzer.create_interaction_network("results_network.png")
|
|
198
|
+
analyzer.visualize_3d("results_3d.html")
|
|
199
|
+
```
|
|
200
|
+
|
|
201
|
+
**Find the epitope.** The antigen residues (chain W) that touch the antibody (chains H and L):
|
|
202
|
+
|
|
203
|
+
```python
|
|
204
|
+
antibody, antigen = ["H", "L"], "W"
|
|
205
|
+
on_right = table[table.Chain1.isin(antibody) & (table.Chain2 == antigen)].Residue2
|
|
206
|
+
on_left = table[table.Chain2.isin(antibody) & (table.Chain1 == antigen)].Residue1
|
|
207
|
+
epitope = sorted(set(on_right) | set(on_left), key=lambda r: int(r.split()[1]))
|
|
208
|
+
print(epitope)
|
|
209
|
+
```
|
|
210
|
+
|
|
211
|
+
**Buried surface area.** How much surface each residue loses when two chains bind, in Ų:
|
|
212
|
+
|
|
213
|
+
```python
|
|
214
|
+
buried = analyzer.buried_surface("H", "W") # {("H", "TYR 102"): 126.3, ...}
|
|
215
|
+
print(f"Interface buries {sum(buried.values()):.0f} Ų")
|
|
216
|
+
top = sorted(buried.items(), key=lambda kv: kv[1], reverse=True)[:5]
|
|
217
|
+
```
|
|
218
|
+
|
|
219
|
+
**Hotspot residues.** The residues that make the most contacts:
|
|
220
|
+
|
|
221
|
+
```python
|
|
222
|
+
from pandappi.reports.generator import create_residue_summary
|
|
223
|
+
|
|
224
|
+
hotspots = create_residue_summary(analyzer.interactions)
|
|
225
|
+
print(hotspots.head(10))
|
|
226
|
+
```
|
|
227
|
+
|
|
228
|
+
## Interaction types
|
|
229
|
+
|
|
230
|
+
PandaPPI detects 16 kinds of contact. With the default settings the cutoffs are:
|
|
231
|
+
|
|
232
|
+
| Interaction | Flag | Cutoff |
|
|
233
|
+
|-------------|------|--------|
|
|
234
|
+
| Hydrogen bond | `--hydrogen-bonds` | 3.5 Å donor-acceptor |
|
|
235
|
+
| Disulfide bridge | `--disulfide` | 2.2 Å S-S |
|
|
236
|
+
| Water-mediated | `--water-mediated` | 3.5 Å to the bridging water |
|
|
237
|
+
| Metal coordination | `--metal-coordination` | 3.0 Å to the metal |
|
|
238
|
+
| Van der Waals | `--van-der-waals` | from atomic radii |
|
|
239
|
+
| Salt bridge | `--salt-bridges` | `--distance-cutoff` |
|
|
240
|
+
| Ionic | `--ionic` | `--distance-cutoff` |
|
|
241
|
+
| Hydrophobic | `--hydrophobic` | `--distance-cutoff` |
|
|
242
|
+
| Pi-pi stacking | `--pi-stacking` | `--distance-cutoff` |
|
|
243
|
+
| Cation-pi | `--pi-cation`, `--cation-pi` | `--distance-cutoff` |
|
|
244
|
+
| CH-pi | `--ch-pi` | `--distance-cutoff` |
|
|
245
|
+
| Sulfur-aromatic | `--sulfur-aromatic` | `--distance-cutoff` |
|
|
246
|
+
| Amide-aromatic | `--amide-aromatic` | `--distance-cutoff` |
|
|
247
|
+
| Amide-amide | `--amide-amide` | `--distance-cutoff` |
|
|
248
|
+
| Halogen bond | `--halogen-bonds` | `--distance-cutoff` |
|
|
249
|
+
|
|
250
|
+
`--distance-cutoff` defaults to 4.5 Å and applies to every row that names it. With no interaction flags, all types are mapped; `--standard-only` keeps hydrogen bonds, ionic, hydrophobic, pi-pi stacking, cation-pi and salt bridges.
|
|
251
|
+
|
|
252
|
+
How the numbers are counted:
|
|
253
|
+
|
|
254
|
+
- Only contacts between different chains are reported, unless you pass `--include-intrachain`.
|
|
255
|
+
- In the report table, figures and HTML page, each contact is counted once. `<prefix>_stats.txt` reports the raw detector output, where a contact can appear twice.
|
|
256
|
+
- Van der Waals contacts are in the CSV but are left out of the maps and the HTML table, because there are thousands of them.
|
|
257
|
+
- Buried surface area is the solvent-accessible area of each chain on its own minus its area in the pair (Shrake-Rupley, 1.4 Å probe). Waters and ligands are ignored.
|
|
258
|
+
|
|
259
|
+
## Command-line reference
|
|
260
|
+
|
|
261
|
+
```
|
|
262
|
+
usage: pandappi [-h] [--chains CHAINS [CHAINS ...]] [--output OUTPUT] [--all-outputs] [--map]
|
|
263
|
+
[--interface-report] [--contacts-3d] [--dashboard] [--html-report] [--report]
|
|
264
|
+
[--residue-summary] [--statistics] [--network] [--3d-plot] [--export-vis]
|
|
265
|
+
[--distance-cutoff DISTANCE_CUTOFF] [--include-intrachain] [--all-interactions]
|
|
266
|
+
[--standard-only] [--hydrogen-bonds] [--ionic] [--hydrophobic] [--pi-stacking]
|
|
267
|
+
[--pi-cation] [--salt-bridges] [--cation-pi] [--ch-pi] [--disulfide]
|
|
268
|
+
[--sulfur-aromatic] [--water-mediated] [--metal-coordination] [--halogen-bonds]
|
|
269
|
+
[--amide-aromatic] [--van-der-waals] [--amide-amide]
|
|
270
|
+
pdb_file
|
|
271
|
+
|
|
272
|
+
PandaPPI: Comprehensive Protein Interaction Mapper
|
|
273
|
+
|
|
274
|
+
positional arguments:
|
|
275
|
+
pdb_file Path to PDB file
|
|
276
|
+
|
|
277
|
+
options:
|
|
278
|
+
-h, --help show this help message and exit
|
|
279
|
+
--chains CHAINS [CHAINS ...]
|
|
280
|
+
Chains to analyze (e.g., A B)
|
|
281
|
+
--output, -o OUTPUT Output file prefix (default: pandappi)
|
|
282
|
+
--all-outputs Generate everything: reports, interface maps, dashboard, network, 3D view,
|
|
283
|
+
viewer scripts
|
|
284
|
+
--distance-cutoff DISTANCE_CUTOFF
|
|
285
|
+
Distance cutoff for interaction detection (default: 4.5Å)
|
|
286
|
+
--include-intrachain Include intra-chain interactions
|
|
287
|
+
|
|
288
|
+
Outputs:
|
|
289
|
+
--map 2D interface map (PNG) for every chain pair
|
|
290
|
+
--interface-report Multi-panel report figure per chain pair: map, contact types, distances,
|
|
291
|
+
residue profile, buried surface area
|
|
292
|
+
--contacts-3d Atom-level 3D contacts figure per chain pair (side chains, contacting
|
|
293
|
+
atoms, distances)
|
|
294
|
+
--dashboard Summary dashboard figure (PNG)
|
|
295
|
+
--html-report Full report: HTML page, text report, CSVs, dashboard and interface reports
|
|
296
|
+
--report Interaction table (CSV)
|
|
297
|
+
--residue-summary Per-residue interaction counts (CSV)
|
|
298
|
+
--statistics Print interaction statistics and save them as text
|
|
299
|
+
--network Residue interaction network (PNG + GML)
|
|
300
|
+
--3d-plot Interactive 3D visualization (HTML)
|
|
301
|
+
--export-vis Export scripts for PyMOL (.pml), ChimeraX (.cxc), Chimera (.cmd), VMD
|
|
302
|
+
(.tcl) and Mol* (.molj)
|
|
303
|
+
|
|
304
|
+
Interaction Types (default: all):
|
|
305
|
+
--all-interactions Map all interaction types (default)
|
|
306
|
+
--standard-only Only standard interactions (H-bonds, ionic, hydrophobic, pi-stacking, pi-
|
|
307
|
+
cation, salt bridges)
|
|
308
|
+
--hydrogen-bonds Map hydrogen bonds
|
|
309
|
+
--ionic Map ionic interactions
|
|
310
|
+
--hydrophobic Map hydrophobic interactions
|
|
311
|
+
--pi-stacking Map pi-pi stacking interactions
|
|
312
|
+
--pi-cation Map pi-cation interactions
|
|
313
|
+
--salt-bridges Map salt bridges
|
|
314
|
+
--cation-pi Map cation-pi interactions
|
|
315
|
+
--ch-pi Map CH-pi interactions
|
|
316
|
+
--disulfide Map disulfide bridges
|
|
317
|
+
--sulfur-aromatic Map sulfur-aromatic interactions
|
|
318
|
+
--water-mediated Map water-mediated interactions
|
|
319
|
+
--metal-coordination Map metal-coordinated bonds
|
|
320
|
+
--halogen-bonds Map halogen bonds
|
|
321
|
+
--amide-aromatic Map amide-aromatic interactions
|
|
322
|
+
--van-der-waals Map van der Waals interactions
|
|
323
|
+
--amide-amide Map amide-amide hydrogen bonds
|
|
324
|
+
```
|
|
325
|
+
|
|
326
|
+
## Citation
|
|
327
|
+
|
|
328
|
+
If you use PandaPPI in your research, please cite:
|
|
329
|
+
|
|
330
|
+
```
|
|
331
|
+
Pritam Kumar Panda. PandaPPI: mapping and visualizing molecular interactions at
|
|
332
|
+
protein-protein, protein-nucleic acid and antigen-antibody interfaces.
|
|
333
|
+
GitHub repository, https://github.com/pritampanda15/PandaPPI
|
|
334
|
+
```
|
|
335
|
+
|
|
336
|
+
## License
|
|
337
|
+
|
|
338
|
+
MIT. See [LICENSE](https://github.com/pritampanda15/PandaPPI/blob/main/LICENSE).
|
|
339
|
+
|
|
340
|
+
## Contributing
|
|
341
|
+
|
|
342
|
+
Bug reports and pull requests are welcome on the [issue tracker](https://github.com/pritampanda15/PandaPPI/issues).
|
pandappi-2.0.0/README.md
ADDED
|
@@ -0,0 +1,307 @@
|
|
|
1
|
+
<p align="center">
|
|
2
|
+
<img src="https://raw.githubusercontent.com/pritampanda15/PandaPPI/main/docs/banner.svg" alt="PandaPPI: map every contact at a protein interface" width="760">
|
|
3
|
+
</p>
|
|
4
|
+
|
|
5
|
+
<p align="center">
|
|
6
|
+
<a href="https://pypi.org/project/pandappi/"><img src="https://img.shields.io/pypi/v/pandappi" alt="PyPI version"></a>
|
|
7
|
+
<a href="https://github.com/pritampanda15/PandaPPI/actions/workflows/ci.yml"><img src="https://github.com/pritampanda15/PandaPPI/actions/workflows/ci.yml/badge.svg" alt="CI status"></a>
|
|
8
|
+
<img src="https://img.shields.io/badge/python-3.9%2B-3776ab?logo=python&logoColor=white" alt="Python 3.9 or newer">
|
|
9
|
+
<a href="https://github.com/pritampanda15/PandaPPI/blob/main/LICENSE"><img src="https://img.shields.io/github/license/pritampanda15/PandaPPI" alt="MIT license"></a>
|
|
10
|
+
<a href="https://github.com/pritampanda15/PandaPPI/commits/main"><img src="https://img.shields.io/github/last-commit/pritampanda15/PandaPPI" alt="Last commit"></a>
|
|
11
|
+
<a href="https://github.com/pritampanda15/PandaPPI/issues"><img src="https://img.shields.io/github/issues/pritampanda15/PandaPPI" alt="Open issues"></a>
|
|
12
|
+
<a href="https://github.com/pritampanda15/PandaPPI/stargazers"><img src="https://img.shields.io/github/stars/pritampanda15/PandaPPI?style=social" alt="GitHub stars"></a>
|
|
13
|
+
<a href="https://github.com/pritampanda15/PandaPPI/network/members"><img src="https://img.shields.io/github/forks/pritampanda15/PandaPPI?style=social" alt="GitHub forks"></a>
|
|
14
|
+
</p>
|
|
15
|
+
|
|
16
|
+
**PandaPPI** reads a PDB file and maps the non-covalent contacts between its chains: protein-protein, antibody-antigen, protein-peptide and protein-nucleic acid. One command gives you publication-style figures and tables for every interface in the structure.
|
|
17
|
+
|
|
18
|
+
```bash
|
|
19
|
+
pandappi complex.pdb --all-outputs -o results
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
<p align="center">
|
|
23
|
+
<a href="https://github.com/pritampanda15/PandaPPI/blob/main/docs/pandappi_demo.mp4"><img src="https://raw.githubusercontent.com/pritampanda15/PandaPPI/main/docs/pandappi_demo.gif" alt="30-second demo: pandappi run on a peptide, a protein-DNA complex and an antibody-antigen complex, each command followed by the figures it writes" width="800"></a>
|
|
24
|
+
</p>
|
|
25
|
+
<p align="center"><sub>30-second demo. Click it for the <a href="https://github.com/pritampanda15/PandaPPI/blob/main/docs/pandappi_demo.mp4">full-resolution video with sound</a>.</sub></p>
|
|
26
|
+
|
|
27
|
+
## Contents
|
|
28
|
+
|
|
29
|
+
- [What you get](#what-you-get)
|
|
30
|
+
- [Install](#install)
|
|
31
|
+
- [Quick start](#quick-start)
|
|
32
|
+
- [Outputs](#outputs)
|
|
33
|
+
- [Python API](#python-api)
|
|
34
|
+
- [Interaction types](#interaction-types)
|
|
35
|
+
- [Command-line reference](#command-line-reference)
|
|
36
|
+
- [Citation](#citation)
|
|
37
|
+
|
|
38
|
+
## What you get
|
|
39
|
+
|
|
40
|
+
### Interface report
|
|
41
|
+
|
|
42
|
+
One page per chain pair. Panel **a** is the residue contact map, with a badge on each line for the interaction type. Panels **b** and **c** count the contacts and show their distances. Panel **d** shows which residue makes which kind of contact, and panel **e** ranks residues by the surface they bury on binding. The header gives the buried surface area of the interface and its closest hydrogen bond.
|
|
43
|
+
|
|
44
|
+
<p align="center">
|
|
45
|
+
<img src="https://raw.githubusercontent.com/pritampanda15/PandaPPI/main/test/antigen_antibody/antigen_antibody_interface_H-W.png" alt="Interface report for antibody heavy chain H and antigen chain W of 1BJ1: contact map, contacts by type, contact distances, residue profile and most buried residues" width="880">
|
|
46
|
+
</p>
|
|
47
|
+
|
|
48
|
+
### 3D contacts view
|
|
49
|
+
|
|
50
|
+
The same interface at atom level: side chains drawn from their real coordinates, the contacting atoms named, and each contact labelled with its true distance.
|
|
51
|
+
|
|
52
|
+
<p align="center">
|
|
53
|
+
<img src="https://raw.githubusercontent.com/pritampanda15/PandaPPI/main/test/antigen_antibody/antigen_antibody_contacts3d_H-W.png" alt="Atom-level contacts between antibody heavy chain H and antigen chain W: side chains as sticks, contacting atoms as labelled dots, contact lines with distances" width="820">
|
|
54
|
+
</p>
|
|
55
|
+
|
|
56
|
+
### Peptides and oligonucleotides
|
|
57
|
+
|
|
58
|
+
When one chain of a pair has 30 residues or fewer, the map switches to a radial layout: the short chain is drawn as a backbone in the centre, with its partner's residues around it.
|
|
59
|
+
|
|
60
|
+
<p align="center">
|
|
61
|
+
<img src="https://raw.githubusercontent.com/pritampanda15/PandaPPI/main/docs/peptide_map_example.png" alt="Radial map of a 16-residue peptide in the centre with antibody heavy-chain residues around it" width="760">
|
|
62
|
+
</p>
|
|
63
|
+
|
|
64
|
+
<sub>Example: a 16-residue antigen loop cut from 1BJ1 and treated as a peptide. A DNA strand drawn the same way is in <a href="https://raw.githubusercontent.com/pritampanda15/PandaPPI/main/test/protein-nucleicacid/protein_DNA_interface_A-N.png">the 3L1P example</a>.</sub>
|
|
65
|
+
|
|
66
|
+
### Summary dashboard
|
|
67
|
+
|
|
68
|
+
The whole structure at a glance: contacts by type, which chains touch, distance distributions and hotspot residues.
|
|
69
|
+
|
|
70
|
+
<p align="center">
|
|
71
|
+
<img src="https://raw.githubusercontent.com/pritampanda15/PandaPPI/main/test/antigen_antibody/antigen_antibody_dashboard.png" alt="Dashboard: interaction counts by type, chain contact matrix, distance distributions and hotspot residues" width="820">
|
|
72
|
+
</p>
|
|
73
|
+
|
|
74
|
+
### Publication-ready figures
|
|
75
|
+
|
|
76
|
+
Every figure follows Nature figure conventions, so it can go into a manuscript without redrawing:
|
|
77
|
+
|
|
78
|
+
- 183 mm wide (double column), with 5-7 pt Arial/Helvetica text and 8 pt bold lowercase panel letters.
|
|
79
|
+
- The NPG colour palette, with colour meaning the same thing in every panel: teal for polar contacts, red for charged, navy for aromatic, charcoal for apolar. Line style and the badge letter separate the types within a colour.
|
|
80
|
+
- Each figure is written twice: a 300 dpi PNG and a vector PDF with editable text, under the same name.
|
|
81
|
+
|
|
82
|
+
## Install
|
|
83
|
+
|
|
84
|
+
PandaPPI needs Python 3.9 or newer.
|
|
85
|
+
|
|
86
|
+
```bash
|
|
87
|
+
pip install pandappi
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
For the development version, install from GitHub:
|
|
91
|
+
|
|
92
|
+
```bash
|
|
93
|
+
pip install git+https://github.com/pritampanda15/PandaPPI.git
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
Dependencies (installed automatically): Biopython, NumPy, pandas, Matplotlib, NetworkX and py3Dmol.
|
|
97
|
+
|
|
98
|
+
## Quick start
|
|
99
|
+
|
|
100
|
+
Everything for an antibody-antigen complex, restricted to six chains:
|
|
101
|
+
|
|
102
|
+
```bash
|
|
103
|
+
pandappi 1BJ1.pdb --chains L H V W J K --all-outputs -o antigen_antibody
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
Only the interface reports and the 3D contacts views:
|
|
107
|
+
|
|
108
|
+
```bash
|
|
109
|
+
pandappi complex.pdb --interface-report --contacts-3d -o results
|
|
110
|
+
```
|
|
111
|
+
|
|
112
|
+
Only hydrogen bonds and salt bridges, as a table:
|
|
113
|
+
|
|
114
|
+
```bash
|
|
115
|
+
pandappi complex.pdb --hydrogen-bonds --salt-bridges --report -o polar
|
|
116
|
+
```
|
|
117
|
+
|
|
118
|
+
The input files for these examples, and every output they produce, are in [`test/`](https://github.com/pritampanda15/PandaPPI/tree/main/test).
|
|
119
|
+
|
|
120
|
+
## Outputs
|
|
121
|
+
|
|
122
|
+
`<prefix>` is whatever you pass to `-o` (default `pandappi`). Each `.png` figure below also comes as a vector `.pdf` with the same name.
|
|
123
|
+
|
|
124
|
+
| Flag | What it writes | File |
|
|
125
|
+
|------|----------------|------|
|
|
126
|
+
| `--interface-report` | Interface report per chain pair | `<prefix>_interface_<A>-<B>.png` |
|
|
127
|
+
| `--contacts-3d` | Atom-level contacts per chain pair | `<prefix>_contacts3d_<A>-<B>.png` |
|
|
128
|
+
| `--map` | Contact map only, per chain pair | `<prefix>_map_<A>-<B>.png` |
|
|
129
|
+
| `--dashboard` | Summary dashboard | `<prefix>_dashboard.png` |
|
|
130
|
+
| `--html-report` | One self-contained HTML page with all figures and tables, plus the text report, both CSVs, the dashboard, interface reports and 3D contacts views | `<prefix>_report.html`, `<prefix>_report.txt` |
|
|
131
|
+
| `--report` | Every interaction, one row each | `<prefix>_report.csv` |
|
|
132
|
+
| `--residue-summary` | Interaction counts per residue | `<prefix>_residue_summary.csv` |
|
|
133
|
+
| `--statistics` | Totals and average distances | `<prefix>_stats.txt` |
|
|
134
|
+
| `--network` | Residue interaction network | `<prefix>_network.png`, `<prefix>_network.gml` |
|
|
135
|
+
| `--3d-plot` | Interactive 3D viewer | `<prefix>_3d.html` |
|
|
136
|
+
| `--export-vis` | Scripts that rebuild the interface in PyMOL, ChimeraX, Chimera, VMD and Mol* | `<prefix>.pml`, `.cxc`, `.cmd`, `.tcl`, `.molj` |
|
|
137
|
+
| `--all-outputs` | All of the above | |
|
|
138
|
+
|
|
139
|
+
The interaction table has one row per contact:
|
|
140
|
+
|
|
141
|
+
| Interaction_Type | Chain1 | Residue1 | Atom1 | Chain2 | Residue2 | Atom2 | Distance_Å |
|
|
142
|
+
|---|---|---|---|---|---|---|---|
|
|
143
|
+
| Hydrogen bond | H | TYR 99 | OH | W | GLN 87 | O | 2.63 |
|
|
144
|
+
|
|
145
|
+
## Python API
|
|
146
|
+
|
|
147
|
+
```python
|
|
148
|
+
from pandappi import PandaPPI
|
|
149
|
+
|
|
150
|
+
analyzer = PandaPPI("1BJ1.pdb", chains=["H", "L", "W"])
|
|
151
|
+
analyzer.map_interactions()
|
|
152
|
+
|
|
153
|
+
# every figure and table in one call
|
|
154
|
+
files = analyzer.generate_full_report("results")
|
|
155
|
+
|
|
156
|
+
# or one piece at a time
|
|
157
|
+
table = analyzer.generate_report("results_report.csv") # pandas DataFrame
|
|
158
|
+
analyzer.create_interface_reports("results") # one PNG per chain pair
|
|
159
|
+
analyzer.create_contact_views("results") # atom-level 3D contacts
|
|
160
|
+
analyzer.create_interaction_maps("results") # contact maps only
|
|
161
|
+
analyzer.create_dashboard("results_dashboard.png")
|
|
162
|
+
analyzer.create_interaction_network("results_network.png")
|
|
163
|
+
analyzer.visualize_3d("results_3d.html")
|
|
164
|
+
```
|
|
165
|
+
|
|
166
|
+
**Find the epitope.** The antigen residues (chain W) that touch the antibody (chains H and L):
|
|
167
|
+
|
|
168
|
+
```python
|
|
169
|
+
antibody, antigen = ["H", "L"], "W"
|
|
170
|
+
on_right = table[table.Chain1.isin(antibody) & (table.Chain2 == antigen)].Residue2
|
|
171
|
+
on_left = table[table.Chain2.isin(antibody) & (table.Chain1 == antigen)].Residue1
|
|
172
|
+
epitope = sorted(set(on_right) | set(on_left), key=lambda r: int(r.split()[1]))
|
|
173
|
+
print(epitope)
|
|
174
|
+
```
|
|
175
|
+
|
|
176
|
+
**Buried surface area.** How much surface each residue loses when two chains bind, in Ų:
|
|
177
|
+
|
|
178
|
+
```python
|
|
179
|
+
buried = analyzer.buried_surface("H", "W") # {("H", "TYR 102"): 126.3, ...}
|
|
180
|
+
print(f"Interface buries {sum(buried.values()):.0f} Ų")
|
|
181
|
+
top = sorted(buried.items(), key=lambda kv: kv[1], reverse=True)[:5]
|
|
182
|
+
```
|
|
183
|
+
|
|
184
|
+
**Hotspot residues.** The residues that make the most contacts:
|
|
185
|
+
|
|
186
|
+
```python
|
|
187
|
+
from pandappi.reports.generator import create_residue_summary
|
|
188
|
+
|
|
189
|
+
hotspots = create_residue_summary(analyzer.interactions)
|
|
190
|
+
print(hotspots.head(10))
|
|
191
|
+
```
|
|
192
|
+
|
|
193
|
+
## Interaction types
|
|
194
|
+
|
|
195
|
+
PandaPPI detects 16 kinds of contact. With the default settings the cutoffs are:
|
|
196
|
+
|
|
197
|
+
| Interaction | Flag | Cutoff |
|
|
198
|
+
|-------------|------|--------|
|
|
199
|
+
| Hydrogen bond | `--hydrogen-bonds` | 3.5 Å donor-acceptor |
|
|
200
|
+
| Disulfide bridge | `--disulfide` | 2.2 Å S-S |
|
|
201
|
+
| Water-mediated | `--water-mediated` | 3.5 Å to the bridging water |
|
|
202
|
+
| Metal coordination | `--metal-coordination` | 3.0 Å to the metal |
|
|
203
|
+
| Van der Waals | `--van-der-waals` | from atomic radii |
|
|
204
|
+
| Salt bridge | `--salt-bridges` | `--distance-cutoff` |
|
|
205
|
+
| Ionic | `--ionic` | `--distance-cutoff` |
|
|
206
|
+
| Hydrophobic | `--hydrophobic` | `--distance-cutoff` |
|
|
207
|
+
| Pi-pi stacking | `--pi-stacking` | `--distance-cutoff` |
|
|
208
|
+
| Cation-pi | `--pi-cation`, `--cation-pi` | `--distance-cutoff` |
|
|
209
|
+
| CH-pi | `--ch-pi` | `--distance-cutoff` |
|
|
210
|
+
| Sulfur-aromatic | `--sulfur-aromatic` | `--distance-cutoff` |
|
|
211
|
+
| Amide-aromatic | `--amide-aromatic` | `--distance-cutoff` |
|
|
212
|
+
| Amide-amide | `--amide-amide` | `--distance-cutoff` |
|
|
213
|
+
| Halogen bond | `--halogen-bonds` | `--distance-cutoff` |
|
|
214
|
+
|
|
215
|
+
`--distance-cutoff` defaults to 4.5 Å and applies to every row that names it. With no interaction flags, all types are mapped; `--standard-only` keeps hydrogen bonds, ionic, hydrophobic, pi-pi stacking, cation-pi and salt bridges.
|
|
216
|
+
|
|
217
|
+
How the numbers are counted:
|
|
218
|
+
|
|
219
|
+
- Only contacts between different chains are reported, unless you pass `--include-intrachain`.
|
|
220
|
+
- In the report table, figures and HTML page, each contact is counted once. `<prefix>_stats.txt` reports the raw detector output, where a contact can appear twice.
|
|
221
|
+
- Van der Waals contacts are in the CSV but are left out of the maps and the HTML table, because there are thousands of them.
|
|
222
|
+
- Buried surface area is the solvent-accessible area of each chain on its own minus its area in the pair (Shrake-Rupley, 1.4 Å probe). Waters and ligands are ignored.
|
|
223
|
+
|
|
224
|
+
## Command-line reference
|
|
225
|
+
|
|
226
|
+
```
|
|
227
|
+
usage: pandappi [-h] [--chains CHAINS [CHAINS ...]] [--output OUTPUT] [--all-outputs] [--map]
|
|
228
|
+
[--interface-report] [--contacts-3d] [--dashboard] [--html-report] [--report]
|
|
229
|
+
[--residue-summary] [--statistics] [--network] [--3d-plot] [--export-vis]
|
|
230
|
+
[--distance-cutoff DISTANCE_CUTOFF] [--include-intrachain] [--all-interactions]
|
|
231
|
+
[--standard-only] [--hydrogen-bonds] [--ionic] [--hydrophobic] [--pi-stacking]
|
|
232
|
+
[--pi-cation] [--salt-bridges] [--cation-pi] [--ch-pi] [--disulfide]
|
|
233
|
+
[--sulfur-aromatic] [--water-mediated] [--metal-coordination] [--halogen-bonds]
|
|
234
|
+
[--amide-aromatic] [--van-der-waals] [--amide-amide]
|
|
235
|
+
pdb_file
|
|
236
|
+
|
|
237
|
+
PandaPPI: Comprehensive Protein Interaction Mapper
|
|
238
|
+
|
|
239
|
+
positional arguments:
|
|
240
|
+
pdb_file Path to PDB file
|
|
241
|
+
|
|
242
|
+
options:
|
|
243
|
+
-h, --help show this help message and exit
|
|
244
|
+
--chains CHAINS [CHAINS ...]
|
|
245
|
+
Chains to analyze (e.g., A B)
|
|
246
|
+
--output, -o OUTPUT Output file prefix (default: pandappi)
|
|
247
|
+
--all-outputs Generate everything: reports, interface maps, dashboard, network, 3D view,
|
|
248
|
+
viewer scripts
|
|
249
|
+
--distance-cutoff DISTANCE_CUTOFF
|
|
250
|
+
Distance cutoff for interaction detection (default: 4.5Å)
|
|
251
|
+
--include-intrachain Include intra-chain interactions
|
|
252
|
+
|
|
253
|
+
Outputs:
|
|
254
|
+
--map 2D interface map (PNG) for every chain pair
|
|
255
|
+
--interface-report Multi-panel report figure per chain pair: map, contact types, distances,
|
|
256
|
+
residue profile, buried surface area
|
|
257
|
+
--contacts-3d Atom-level 3D contacts figure per chain pair (side chains, contacting
|
|
258
|
+
atoms, distances)
|
|
259
|
+
--dashboard Summary dashboard figure (PNG)
|
|
260
|
+
--html-report Full report: HTML page, text report, CSVs, dashboard and interface reports
|
|
261
|
+
--report Interaction table (CSV)
|
|
262
|
+
--residue-summary Per-residue interaction counts (CSV)
|
|
263
|
+
--statistics Print interaction statistics and save them as text
|
|
264
|
+
--network Residue interaction network (PNG + GML)
|
|
265
|
+
--3d-plot Interactive 3D visualization (HTML)
|
|
266
|
+
--export-vis Export scripts for PyMOL (.pml), ChimeraX (.cxc), Chimera (.cmd), VMD
|
|
267
|
+
(.tcl) and Mol* (.molj)
|
|
268
|
+
|
|
269
|
+
Interaction Types (default: all):
|
|
270
|
+
--all-interactions Map all interaction types (default)
|
|
271
|
+
--standard-only Only standard interactions (H-bonds, ionic, hydrophobic, pi-stacking, pi-
|
|
272
|
+
cation, salt bridges)
|
|
273
|
+
--hydrogen-bonds Map hydrogen bonds
|
|
274
|
+
--ionic Map ionic interactions
|
|
275
|
+
--hydrophobic Map hydrophobic interactions
|
|
276
|
+
--pi-stacking Map pi-pi stacking interactions
|
|
277
|
+
--pi-cation Map pi-cation interactions
|
|
278
|
+
--salt-bridges Map salt bridges
|
|
279
|
+
--cation-pi Map cation-pi interactions
|
|
280
|
+
--ch-pi Map CH-pi interactions
|
|
281
|
+
--disulfide Map disulfide bridges
|
|
282
|
+
--sulfur-aromatic Map sulfur-aromatic interactions
|
|
283
|
+
--water-mediated Map water-mediated interactions
|
|
284
|
+
--metal-coordination Map metal-coordinated bonds
|
|
285
|
+
--halogen-bonds Map halogen bonds
|
|
286
|
+
--amide-aromatic Map amide-aromatic interactions
|
|
287
|
+
--van-der-waals Map van der Waals interactions
|
|
288
|
+
--amide-amide Map amide-amide hydrogen bonds
|
|
289
|
+
```
|
|
290
|
+
|
|
291
|
+
## Citation
|
|
292
|
+
|
|
293
|
+
If you use PandaPPI in your research, please cite:
|
|
294
|
+
|
|
295
|
+
```
|
|
296
|
+
Pritam Kumar Panda. PandaPPI: mapping and visualizing molecular interactions at
|
|
297
|
+
protein-protein, protein-nucleic acid and antigen-antibody interfaces.
|
|
298
|
+
GitHub repository, https://github.com/pritampanda15/PandaPPI
|
|
299
|
+
```
|
|
300
|
+
|
|
301
|
+
## License
|
|
302
|
+
|
|
303
|
+
MIT. See [LICENSE](https://github.com/pritampanda15/PandaPPI/blob/main/LICENSE).
|
|
304
|
+
|
|
305
|
+
## Contributing
|
|
306
|
+
|
|
307
|
+
Bug reports and pull requests are welcome on the [issue tracker](https://github.com/pritampanda15/PandaPPI/issues).
|