| 1 |
|
| 2 |
The wuss module implements routines for using WUSS notation to |
| 3 |
represent RNA secondary structures. |
| 4 |
|
| 5 |
The API provides the following converters: |
| 6 |
|
| 7 |
\begin{tabular}{ll} |
| 8 |
\ccode{esl\_wuss2ct()} & Convert WUSS string to Zuker CT array. \\ |
| 9 |
\ccode{esl\_ct2wuss()} & Convert CT array (no pk's) to WUSS string. \\ |
| 10 |
\ccode{esl\_wuss2kh()} & Convert WUSS string to old format (Konings/Hogeweg).\\ |
| 11 |
\ccode{esl\_kh2wuss()} & Convert old format to WUSS string.\\ |
| 12 |
\ccode{esl\_wuss\_full()}& Convert simple WUSS to full (output) WUSS.\\ |
| 13 |
\ccode{esl\_wuss\_nopseudo()} & Crudely remove pseudoknot annotation from WUSS string.\\ |
| 14 |
\end{tabular} |
| 15 |
|
| 16 |
WUSS notation is defined later in the Formats section of this |
| 17 |
document. |
| 18 |
|
| 19 |
So-called ``old'' (KH) format (old because COVE used it, whereas |
| 20 |
Infernal uses WUSS) for a secondary structure annotation string used |
| 21 |
\ccode{><} pairs to annotate base pairs, as in \ccode{>>>....<<<} for |
| 22 |
a three-base stem with a four-base single stranded loop. |
| 23 |
|
| 24 |
A CT array is a \ccode{1..n} array for a sequence of length \ccode{n}, |
| 25 |
where \ccode{ct[i]} is either an index \ccode {1..n} of a position |
| 26 |
that residue \ccode{i} base pairs to, or 0 if \ccode{i} is unpaired. |
| 27 |
|
| 28 |
|
| 29 |
|
| 30 |
|
| 31 |
|
| 32 |
|
| 33 |
|
| 34 |
|