Model free analysis of protein backbone amide 15N spin relaxation rates.
Project description
# modelfree-protein15n Model-Free analysis framework for protein backbone amide 15N NMR spin relaxation rates.
This tool fits the relaxation data to a multi-Lorentzian spectral density function. One can choose the number of Lorentzians (dynamic modes) for the fit. Typically, one can perform 1, 2, and 3 dynamic mode MF analysis and see which model is most relevant for the data. IMPACT analysis is also possible by fixing the correlation times and fitting the amplitudes.
## Relevant litterature
Lipari & Szabo, Journal of the American Chemical Society (1982); Halle, The Journal of chemical physics (2009); Khan et al., Biophysical journal (2015)
# installation
$ pip install modelfree-protein15n
# usage
The program is able to generate random relaxation data with the command ‘modfree generate’. The program is able to fit relaxation data to a model with the command ‘modfree fit’. The program is able to plot the results with the command ‘modfree plot’.
## Data generation
To generate relaxation data, type the following command:
$ modfree generate
The following flags are available: -o (str): Output directory containing the generated data. -modes (int): number of dynamic modes used to generate the data -n (int): number of residues in the data -noise (float): between 0 and 1, indicates the proportion of noise to put in the data. (0.03 by default) -fields (list, int or float): Magnetic fields used for the rate generation in MHz. -rates: relaxation rates to generate. by default R1, R2, NOE, etaXY.
For example, you can type:
$ modfree generate -o Generated -modes 2 -n 70 -noise 0.05 -fields 600 700 850 950 1200 -rates R1 R2 NOE etaXY etaZ
## Data fitting
To fit relaxation data, you will need your data in a specific format akin to the generated data. Generate some data to see how it’s done. You will also need a directory file and a parameter file. type the following command to fit the data generated in the previous section:
$ modfree fit -o Generated_fit -d Generated/directories.toml -p Generated/parameters.toml
You can also fit only part of the data with the flag -r:
$ modfree fit -o Generated_fit -d Generated/directories.toml -p Generated/parameters.toml -r 10 11 12 13 14 15 16 17
Or
$ modfree fit -o Generated_fit -d Generated/directories.toml -p Generated/parameters.toml -r 15
## Data plotting
To plot the fitted data, just type:
$ modfree plot -o Generated_fit -p all
The following flags are available: -o (str): Output directory containing the data. -p: What to plot (all, relaxation, parameters, statistics, correlation) -format: Format of the plot files (pdf, png, jpg, svg…) -dpi (600 by default)
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
Built Distribution
File details
Details for the file modelfree-protein15n-0.0.6.tar.gz
.
File metadata
- Download URL: modelfree-protein15n-0.0.6.tar.gz
- Upload date:
- Size: 15.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 65cc017321c354b054fb1fc9358dc63cc44004fcca954ee8c771f6907736e026 |
|
MD5 | e1228f66c4a230b350a749702e3457ef |
|
BLAKE2b-256 | 27813243bc0ca4ad16c36076918f4b34d0a94120f2df10642ae606b9ccac47e9 |
File details
Details for the file modelfree_protein15n-0.0.6-py3-none-any.whl
.
File metadata
- Download URL: modelfree_protein15n-0.0.6-py3-none-any.whl
- Upload date:
- Size: 23.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 304910581f6aec8606d3fbc03cfed5141a3ae72bc4fa636b99ae2af2041b04c3 |
|
MD5 | c274d5a329f1ed7e16cf74542f29d49a |
|
BLAKE2b-256 | 24846089bb0399454cf28f9e5a13ccb1fb8fa787a05fa7180bfa4f285bf5e644 |