sequence of DNA or RNA
coordinates for 2D visualization of DNA based on the Gates algorithm
Generates qi 2D Visualization of DNA from any sequence
sequence of DNA or RNA (lowercase and mixed cases are valid)
coordinates for 2D visualization of DNA based on the Qi algorithm
Generates randic 2D Visualization of DNA from any sequence
sequence of DNA or RNA (lowercase and mixed cases are valid)
coordinates for 2D visualization of DNA based on the Randic algorithm
Generates squiggle 2D Visualization of DNA from any sequence
sequence of DNA or RNA (lowercase and mixed cases are valid)
coordinates for 2D visualization of DNA based on the Squiggle algorithm
Generates yau 2D Visualization of DNA from any sequence
sequence of DNA or RNA (lowercase and mixed cases are valid)
coordinates for 2D visualization of DNA based on the Yau algorithm
Generates yau-bp 2D Visualization of DNA from any sequence
sequence of DNA or RNA (lowercase and mixed cases are valid)
coordinates for 2D visualization of DNA based on the Yau-BP algorithm
Generates integer-valued 2D Visualization of DNA from any sequence
DNA or RNA sequence (lowercase and mixed cases are valid)
coordinates for 2D visualization of DNA based on the Yau-Int algorithm
Example Usage
yau_int('ATGC')
// returns [[0, 1, 2, 3, 4], [0, -2, 0, -1, 0]]
This produces identically shaped visualizations to yau and yau_bp but with coordinates that can be represented as integers. Additionally, this method is defined for ambiguous bases.
Generated using TypeDoc
Generates gates 2D Visualization of DNA from any sequence
Gates MA. A simple way to look at DNA. J Theor Biol. 1986;119(3):319-328. doi:10.1016/s0022-5193(86)80144-8
Example Usage
gates('ATGC') // returns [[0, 0, 0, 1, 0], [0, -1, 0, 0, 0]]
In Gates’s method, DNA sequences are converted into 2D walks in which Ts, As, Cs, and Gs are up, down, left, and right, respectively. This gives each sequence a “shape.” However, there is degeneracy, meaning that a visualization is not necessarily unique. For example, TGAC is a square (up, right, down, and left), but so is GTCA (right, up, left, down).
For more information visit: https://squiggle.readthedocs.io/en/latest/methods.html#gates