Skip to main content

A package for FRET Efficiency prediction of protein structures and trajectories, based on the Rotamer Library Approach (RLA). Can be installed with pip.

Project description

Documentation Status

FRETpredict

Overview

FRETpredict is a Python package based on the Rotamer Library Approach (RLA) for calculating FRET efficiency based on protein conformational ensembles and MD trajectories.

The FRETpredict class is initialized with (i) a protein structure or trajectory (provided as MDAnalysis Universe objects), (ii) the residue indices to which the fluorescent probes are attached, and (iii) the rotamer libraries for the fluorophores and linkers to be used in the calculation.

FRETpredict algorithm

For each protein structure to be analysed — either individually or as an ensemble — the FRETpredict algorithm places the FRET probes at the selected protein sites independently of each other. Relative orientations and distances between the dyes are then computed for all combinations of the donor and acceptor rotamers. Further, nonbonded interaction energies between each rotamer and the surrounding protein atoms are calculated within a radius of 1.0 nm. Using these energies, statistical weights are first estimated for donor and acceptor rotamers independently and subsequently combined to calculate average FRET efficiencies. It is also possible to reweight frames and conformations based on protein-dye interactions to compute reweighted FRET efficiencies. This is particularly useful for Intrinsically Disordered Proteins, for which the effective fraction of the frames that contribute to averages is usually small.

In FRETpredict, the average FRET efficiency can be calculated in three different regimes: Static, Dynamic, and Dynamic+. We suggest using the Dynamic regime when making predictions on protein trajectories and the Static regime for single protein structures. Simply averaging the results from the three regimes often leads to good agreement with experiments.

Rotamer libraries

In FRETpredict, rotamer libraries are created through the following steps: (i) generation of the conformational ensemble of the FRET probe using MD simulations (to perform indipendently), (ii) selection of the peaks of the dihedral distributions of the linker, (iii) two clustering steps, and (iv) filtering. These steps are implemented in FRETpredict/rotamer_libraries.py. We recommend using large rotamer libraries when the computational cost is not a limiting factor and medium libraries for larger conformational ensembles.

The lib/libraries.yml file lists all the available Rotamer Libraries, along with necessary fluorophore information, including atom indices for calculating transition dipole moments and distances between fluorophores.

Currently available Rotamer Libraries

  • AlexaFluor 350 C1R + L1R (A35 C1R, A35 L1R)

  • AlexaFluor 488 C1R + L1R + B1R (A48 C1R, A48 L1R, A48 B1R)

  • AlexaFluor 532 C1R + L1R (A53 C1R, A53 L1R)

  • AlexaFluor 561 C1R + L1R (A56 C1R, A56 L1R)

  • AlexaFluor 594 C1R + L1R (A59 C1R, A59 L1R)

  • AlexaFluor 647 C2R + L1R (A64 C2R, A64 L1R)

  • ATTO 390 C2R + L1R (T39 C2R, T39 L1R)

  • ATTO 425 C2R + L1R (T42 C2R, T42 L1R)

  • ATTO 465 C2R + L1R (T46 C2R, T46 L1R)

  • ATTO 495 C2R + L1R (T49 C2R, T49 L1R)

  • ATTO 520 C2R + L1R (T52 C2R, T52 L1R)

  • ATTO 610 C2R + L1R (T61 C2R, T61 L1R)

  • ATTO 488 C3R (T48 C3R)

  • ATTO Thio12 C3R (Tth C3R)

  • Lumiprobe Cy3 C2R (C3N C2R)

  • Lumiprobe Cy5.5 C2R + L1R (C55 C2R, C55 L1R)

  • Lumiprobe Cy7.5 L1R (C75 L1R)

In the absence of the exact probes, accurate trends can be predicted by (i) choosing rotamer libraries with similar structural characteristics (linker length, linker dihedrals, fluorophore structure) and (ii) manually setting the $R_0$ for the experimental pair of dyes.

Installation

To install FRETpredict, use the PyPI package:

  pip install FRETpredict

or clone the repo and install locally:

  git clone https://github.com/KULL-Centre/FRETpredict.git
  cd FRETpredict

  pip install -e . 

The software requires Python 3.6+.

Testing

  pip install pytest

  python -m pytest

Code Example

import MDAnalysis
from FRETpredict import FRETpredict

# Create a MDAnalysis.Universe object for the protein structure.
u = MDAnalysis.Universe('tests/test_systems/pp11/pp11.pdb', 'tests/test_systems/pp11/pp11.xtc')

# Create instance of the FRETpredict class
FRET = FRETpredict(protein=u, residues=[0, 12], chains=['A', 'A'], temperature=298, 
                   donor='AlexaFluor 488', acceptor='AlexaFluor 594', electrostatic=True,
                   libname_1=f'AlexaFluor 488 C1R cutoff10',
                   libname_2=f'AlexaFluor 594 C1R cutoff10',  
                   output_prefix='E_pp11')

# Run FRET efficiency calculations.
FRET.run()

Compute reweighted FRET efficiency based on protein-dye interactions

FRET.reweight(reweight_prefix='E_pp11_reweighted')

Tutorials

Structure

FRETpredict/
├─ FRETpredict/
│  ├─ lib/
│  │  ├─ R0/
│  ├─ FRET.py
│  ├─ lennardjones.py
│  ├─ libraries.py
│  ├─ R0_calculation.py
│  ├─ rotamer_libraries.py
│  ├─ utils.py
│  ├─ __init__.py
├─ tests/
|  ├─ test_Hsp90.py
│  ├─ test_systems/
│  │  ├─ Hsp90/
│  │  ├─ pp11/
│  ├─ tutorials/
│  │  ├─ test/
│  │  |  ├─ genLIB/
│  │  ├─ Tutorial_FRETpredict_pp11.ipynb
│  │  ├─ Tutorial_generate_new_rotamer_libraries.ipynb
├─ LICENSE
├─ README.md
├─ setup.py

Contributors

Daniele Montepietra (@Monte95)

Giulio Tesei (@gitesei)

João M Martins (@joaommartins)

Micha BA Kunze (@mbakunze)

Robert Best (@bestlab)

Kresten Lindorff-Larsen (@lindorff-larsen)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

FRETpredict-0.1.2.tar.gz (36.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

FRETpredict-0.1.2-py3-none-any.whl (36.0 kB view details)

Uploaded Python 3

File details

Details for the file FRETpredict-0.1.2.tar.gz.

File metadata

  • Download URL: FRETpredict-0.1.2.tar.gz
  • Upload date:
  • Size: 36.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.11.3 pkginfo/1.8.3 requests/2.28.1 requests-toolbelt/0.9.1 tqdm/4.64.1 CPython/3.8.13

File hashes

Hashes for FRETpredict-0.1.2.tar.gz
Algorithm Hash digest
SHA256 4159da126b25950cb614282bb840ade600e0fa67d1555edf97a1569bcc082500
MD5 934c7204517323ca451e2aa8ad5f1855
BLAKE2b-256 201c9d9c8211335f872754acd2c704f291de02c9096311ad8227136056c8075a

See more details on using hashes here.

File details

Details for the file FRETpredict-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: FRETpredict-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 36.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.11.3 pkginfo/1.8.3 requests/2.28.1 requests-toolbelt/0.9.1 tqdm/4.64.1 CPython/3.8.13

File hashes

Hashes for FRETpredict-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a44d4f8b3a3cfe58319543fd16fc8958f1be372ae2ccfb7336360e34810d22c0
MD5 caf76715edb8d5543a789360473cf6d5
BLAKE2b-256 39195123153c5786b192a262271e52aeaa6b20202f97de1cb58581556b426741

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page