Skip to main content

DNA Curvature Analysis

Project description

Dnacurve is a Python library and console script to calculate the global 3D structure of a B-DNA molecule from its nucleotide sequence according to the dinucleotide wedge model. Local bending angles and macroscopic curvature are calculated at each nucleotide.

For command line usage run python -m dnacurve --help

Author:

Christoph Gohlke

License:

BSD 3-Clause

Version:

2021.6.29

Requirements

Revisions

2021.6.29

Improve export to PDB.

2021.6.18

Remove support for Python 3.6 (NEP 29). Fix dnacurve_web.py failure on WSL2.

2021.3.6

Update copyright and formatting.

2020.1.1

Remove support for Python 2.7 and 3.5. Update copyright.

2018.8.15

Move modules into dnacurve package.

2018.5.29

Add option to start web interface from console. Use matplotlib OOP interface.

2018.5.25

Add functions to return PDB and CSV results as string.

2018.2.6

Style and doctest fixes.

2014.6.16

DNAse I Consensus model.

2013.11.21

Overlapping chunks iterator.

2013.11.17

Limit maximum sequence length to 510 nucleotides. Read simple Fasta sequence files. Save positive coordinates to PDB files. Fix sequence display for matplotlib 1.3.

2005.x.x

Initial release.

Notes

The algorithms, plots, and PDB format are not meant to be used with very long sequences. By default sequences are truncated to 510 nucleotides, which can be overridden by the user.

The generated PDB files can be visualized interactively using UCSF Chimera.

References

  1. Bending and curvature calculations in B-DNA. Goodsell DS, Dickerson RE. Nucleic Acids Res 22, 5497-503, 1994. See also http://mgl.scripps.edu/people/goodsell/research/bend/

  2. Curved DNA without A-A: experimental estimation of all 16 DNA wedge angles. Bolshoy A et al. Proc Natl Acad Sci USA 88, 2312-6, 1991.

  3. A comparison of six DNA bending models. Tan RK and Harvey SC. J Biomol Struct Dyn 5, 497-512, 1987.

  4. Curved DNA: design, synthesis, and circularization. Ulanovsky L et al. Proc Natl Acad Sci USA 83, 862-6, 1986.

  5. The ten helical twist angles of B-DNA. Kabsch W, Sander C, and Trifonov EN. Nucleic Acids Res 10, 1097-1104, 1982.

  6. Rod models of DNA: sequence-dependent anisotropic elastic modelling of local bending phenomena. Munteanu MG et al. Trends Biochem Sci 23(9), 341-7, 1998.

Examples

>>> from dnacurve import CurvedDNA
>>> result = CurvedDNA('ATGCAAATTG' * 5, 'trifonov', name='Example')
>>> result.curvature[:, 18:22]
array([[0.58062, 0.58163, 0.58278, 0.58378],
       [0.0803 , 0.11293, 0.07676, 0.03166],
       [0.57924, 0.5758 , 0.57368, 0.5735 ]])
>>> result.save_csv('_test.csv')
>>> result.save_pdb('_test.pdb')
>>> result.plot('_test.png', dpi=120)

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

dnacurve-2021.6.29.tar.gz (22.6 kB view details)

Uploaded Source

Built Distribution

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

dnacurve-2021.6.29-py3-none-any.whl (24.0 kB view details)

Uploaded Python 3

File details

Details for the file dnacurve-2021.6.29.tar.gz.

File metadata

  • Download URL: dnacurve-2021.6.29.tar.gz
  • Upload date:
  • Size: 22.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.8.10

File hashes

Hashes for dnacurve-2021.6.29.tar.gz
Algorithm Hash digest
SHA256 503de8eba68b2a8fd23afe214f8e0a44ddcdba5a8f7f0fa24347e1a2938514b5
MD5 f913769f484fb5bce33bd7564ae3e6aa
BLAKE2b-256 3b4d9ba4e4b496d0744e346ec08b22dedeaa0f5bb2dd8c264838fd5bbb7e8359

See more details on using hashes here.

File details

Details for the file dnacurve-2021.6.29-py3-none-any.whl.

File metadata

  • Download URL: dnacurve-2021.6.29-py3-none-any.whl
  • Upload date:
  • Size: 24.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.8.10

File hashes

Hashes for dnacurve-2021.6.29-py3-none-any.whl
Algorithm Hash digest
SHA256 4fd8018829436596c7de4c0bb984d6d6bede3b64e2dc951061372c80b6ff8117
MD5 c8a95e9e576c16b8000272e48d5dc445
BLAKE2b-256 f08be924ca7c9dbe72b3b2f49bbf857aaa269f9bf96be47b831d986b0c2d0f89

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