Skip to main content

Model free analysis of protein backbone amide 15N spin relaxation rates.

Project description

# modelfree-protein15n Simple flexible model free analysis framework for protein backbone amide 15N NMR spin relaxation rates

The tool is flexible enough to allow spin relaxation data fitting with a chosen number of dynamic modes and the fixing of given variables. 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.

## 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

$ python setup.py install

# 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]

Or

$ modfree fit -o Generated_fit -d Generated/directories.toml -p Generated/parameters.toml -r 15

## Data fitting

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

modelfree-protein15n-0.0.1.tar.gz (16.1 kB view details)

Uploaded Source

Built Distribution

modelfree_protein15n-0.0.1-py3-none-any.whl (19.7 kB view details)

Uploaded Python 3

File details

Details for the file modelfree-protein15n-0.0.1.tar.gz.

File metadata

  • Download URL: modelfree-protein15n-0.0.1.tar.gz
  • Upload date:
  • Size: 16.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.8

File hashes

Hashes for modelfree-protein15n-0.0.1.tar.gz
Algorithm Hash digest
SHA256 879ac500c56aac69d475009e072c1ec385722e27253568cacee36e0bf192ce36
MD5 b0bbb61f44f1d4cb038f0e77f9d7a6cc
BLAKE2b-256 26f715d12f0f05b16793aae54850fd8b9540b894219c96cb456fc927a59e0815

See more details on using hashes here.

File details

Details for the file modelfree_protein15n-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for modelfree_protein15n-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9682ca6e182193f0ab61fa9604f453c7a684a64af958609bf5efc0f4801e8aca
MD5 215dd9435f2c304f20c7cdc9b9efe429
BLAKE2b-256 ee5e6121d3291cdf78341e993c432a671eb30daba354674010f27255f2c26cc9

See more details on using hashes here.

Supported by

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