Draw simplified, layer diagrams of quadruplexes.
Project description
Project description
DrawTetrado is a Python application to visualize quadruplexes and G4-helices in DNA and RNA structures. It generates publication-quality SVG files containing layer diagrams. They show the tetrads as a stack, with each position having four nucleobases colored according to anti or syn conformation. In addition, DrawTetrado visualizes the strands with arrows for an accessible overview of their directionality and visual determination of loop types.
DrawTetrado automatically optimizes the layout. The result is a visually pleasing and readable image, even for the most complex cases like V-loops and G4-helices (dimers).
Installation
pip install drawtetrado
Dependencies
The project is written in Python 3.6+ and requires pycairo and svgwrite. The internal optimization routine is written in C++ and requires Cython and a C++20-compliant compiler (e.g. GCC 8+).
DrawTetrado parses the output of ElTetrado (Zok et al., 2022; Popenda et al., 2020; Zok et al., 2020). If you do not have that installed, please install DSSR (Lu et al., 2015) and run:
pip install eltetrado
Usage
usage: drawtetrado [-h] input output
positional arguments:
input path to input JSON generated by ElTetrado
output path to output SVG file template
options:
-h, --help show this help message and exit
The output path is a template. For example, if output=/tmp/out.svg, the
resulting files will be /tmp/out_0.svg, /tmp/out_1.svg and so on (for as many
distinct quadruplexes as there are in the input file)
Examples
Human telomere DNA quadruplex
V-loop
G4-helix (dimer)
Bibliography
-
ONQUADRO: a database of experimentally determined quadruplex structures. T. Zok, N. Kraszewska, J. Miskiewicz, P. Pielacinska, M. Zurkowski, M. Szachniuk. Nucleic Acids Research. 2022. 50(D1):D253–D258. doi:10.1093/nar/gkab1118
-
Topology-based classification of tetrads and quadruplex structures. M. Popenda, J. Miskiewicz, J. Sarzynska, T. Zok, M. Szachniuk. Bioinformatics. 2020. 36(4):1129–1134. doi:10.1093/bioinformatics/btz738
-
ElTetrado: a tool for identification and classification of tetrads and quadruplexes. T. Zok, M. Popenda, M. Szachniuk. BMC Bioinformatics. 2020. 21(1):40. doi:10.1186/s12859-020-3385-1
-
DSSR: an integrated software tool for dissecting the spatial structure of RNA. X.-J. Lu, H.J. Bussemaker, W.K. Olson. Nucleic Acids Research. 2015. 43(21):e142. doi:f73r8c
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 Distributions
Hashes for drawtetrado-1.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5ce5ec0c30117aa7b9883760e350fe3bc8563da2976f6f6a399aa2b734ca3bfa |
|
MD5 | 9675bb0a6be8c81d4fc715915eac13ab |
|
BLAKE2b-256 | bfcbe1c23f6b774e3f08639f4437dc1f7ccff6fc0d56fe1353b7843ea31bae48 |
Hashes for drawtetrado-1.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 775291357e864c5c00fe016e45f9c5bb6825894447955a29a9487075c6da57af |
|
MD5 | 765d73e68bac2407771886f54016e9b3 |
|
BLAKE2b-256 | 6eb7b2a7a541428bb3234adfced13dd75014a4860e68d12cf8c9c418f18d892b |
Hashes for drawtetrado-1.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8083b247bfa9360f1fd1bef9dba1b9fc0ae27269614ad8304991b94f06896b28 |
|
MD5 | 4b60080c1c833beec3de13bb2e7c38e5 |
|
BLAKE2b-256 | 0884eeced29501535ff6928e064a236efbb43d7e88eadc56af355214764b3b73 |
Hashes for drawtetrado-1.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 492cae3cbcb526175bf29fa4f8a0a49844491bf385fbff9bb2daf230ceaf7459 |
|
MD5 | 8ebbbb5b514f7d663530bab34ba6f8a5 |
|
BLAKE2b-256 | 66ecb3420847d45894f16d7d72789ece1f5add69721b45a7af69bdad1c7a7d5d |
Hashes for drawtetrado-1.1-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 53e4bb2b60c05c355bf37609bae0188012dedaaea901a116b2c8aa44cad4df3c |
|
MD5 | 2a6904b12f6dfb952dcbf11cf6b388dd |
|
BLAKE2b-256 | b328a408f33e2304da4fad6778106b341ce2a975de1efe0f1911512380e9921b |