Members
(constant) BASEPAIR_COLOR_DEFAULT
Default basepair color
- Source:
(constant) BASEPAIR_THICKNESS_DEFAULT
Default basepair thickness
- Source:
(constant) BASE_INNER_COLOR_DEFAULT
Default inner base color
- Source:
(constant) BASE_NAME_COLOR_DEFAULT
Default base label color
- Source:
(constant) BASE_NUMBER_COLOR_DEFAULT
Default base number color
- Source:
(constant) BASE_OUTLINE_COLOR_DEFAULT
Default base outline color
- Source:
(constant) BASE_OUTLINE_THICKNESS_DEFAULT
Default base outline thickness
- Source:
(constant) Layouts
Enum for RNA base layout
Properties:
Name | Type | Description |
---|---|---|
LINE |
string | linear layout |
CIRCLE |
string | circular layout |
RADIATE |
string | radiate layout |
NAVIEW |
string | NAView layout |
TURTLE |
string | RNAturtle layout (Wiegreffe et al. 2018) |
PUZZLER |
string | RNApuzzler layout (Wiegreffe et al. 2018) |
- Source:
Methods
drawRNA(container, dbn, seq, varnaCfg)
Basic RNA draw function
Parameters:
Name | Type | Description |
---|---|---|
container |
Element | HTML element to draw RNA |
dbn |
string | RNA in dot-bracket notation (dbn) |
seq |
string | RNA sequence |
varnaCfg |
VARNAConfig | VARNA configuration to draw |
parseDBN(dbn) → {Array}
Simple dot-bracket notation parser
Parameters:
Name | Type | Description |
---|---|---|
dbn |
string | secondary structure in dbn |
- Source:
Returns:
An array of basepairs, each is an array of two integers
- Type
- Array