| 1 |
.TH "esl\-compstruct" 1 "@EASEL_DATE@" "Easel @EASEL_VERSION@" "Easel Manual" |
| 2 |
|
| 3 |
.SH NAME |
| 4 |
esl\-compstruct \- calculate accuracy of RNA secondary structure predictions |
| 5 |
|
| 6 |
|
| 7 |
.SH SYNOPSIS |
| 8 |
.B esl\-compstruct |
| 9 |
[\fIoptions\fR] |
| 10 |
.I trusted_file |
| 11 |
.I test_file |
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
.SH DESCRIPTION |
| 16 |
|
| 17 |
.PP |
| 18 |
.B esl\-compstruct |
| 19 |
evaluates the accuracy of RNA secondary structure predictions |
| 20 |
on a per-base-pair basis. |
| 21 |
The |
| 22 |
.I trusted_file |
| 23 |
contains one or more sequences with trusted (known) RNA |
| 24 |
secondary structure annotation. The |
| 25 |
.I test_file |
| 26 |
contains the same sequences, in the same order, with |
| 27 |
predicted RNA secondary structure annotation. |
| 28 |
.B esl\-compstruct |
| 29 |
reads the structures and compares them, |
| 30 |
and calculates both the sensitivity (the number |
| 31 |
of true base pairs that are correctly predicted) |
| 32 |
and the positive predictive value (PPV; |
| 33 |
the number of predicted base pairs that are true). |
| 34 |
Results are reported for each individual sequence, |
| 35 |
and in summary for all sequences together. |
| 36 |
|
| 37 |
.PP |
| 38 |
Both files must contain secondary structure annotation in |
| 39 |
WUSS notation. Only SELEX and Stockholm formats support |
| 40 |
structure markup at present. |
| 41 |
|
| 42 |
.PP |
| 43 |
The default definition of a correctly predicted base pair |
| 44 |
is that a true pair (i,j) must exactly match a predicted |
| 45 |
pair (i,j). |
| 46 |
|
| 47 |
.PP |
| 48 |
Mathews and colleagues (Mathews et al., JMB 288:911-940, 1999) use a |
| 49 |
more relaxed definition. Mathews defines "correct" as follows: a true |
| 50 |
pair (i,j) is correctly predicted if any of the following pairs are |
| 51 |
predicted: (i,j), (i+1,j), (i\-1,j), (i,j+1), or (i,j\-1). This rule |
| 52 |
allows for "slipped helices" off by one base. The |
| 53 |
.B \-m |
| 54 |
option activates this rule for both sensitivity and for |
| 55 |
specificity. For specificity, the rule is reversed: predicted pair |
| 56 |
(i,j) is considered to be true if the true structure contains one of |
| 57 |
the five pairs (i,j), (i+1,j), (i\-1,j), (i,j+1), or (i,j\-1). |
| 58 |
|
| 59 |
|
| 60 |
|
| 61 |
|
| 62 |
.SH OPTIONS |
| 63 |
|
| 64 |
.TP |
| 65 |
.B \-h |
| 66 |
Print brief help; includes version number and summary of |
| 67 |
all options, including expert options. |
| 68 |
|
| 69 |
.TP |
| 70 |
.B \-m |
| 71 |
Use the Mathews relaxed accuracy rule (see above), instead |
| 72 |
of requiring exact prediction of base pairs. |
| 73 |
|
| 74 |
.TP |
| 75 |
.B \-p |
| 76 |
Count pseudoknotted base pairs towards the accuracy, in either trusted |
| 77 |
or predicted structures. By default, pseudoknots are ignored. |
| 78 |
.IP |
| 79 |
Normally, only the |
| 80 |
.I trusted_file |
| 81 |
would have pseudoknot annotation, since most RNA secondary structure |
| 82 |
prediction programs do not predict pseudoknots. Using the |
| 83 |
.B \-p |
| 84 |
option allows you to penalize the prediction program for not |
| 85 |
predicting known pseudoknots. In a case where both the |
| 86 |
.I trusted_file |
| 87 |
and the |
| 88 |
.I test_file |
| 89 |
have pseudoknot annotation, the |
| 90 |
.B \-p |
| 91 |
option lets you count pseudoknots in evaluating |
| 92 |
the prediction accuracy. Beware, however, the case where you |
| 93 |
use a pseudoknot-capable prediction program to generate the |
| 94 |
.IR test_file , |
| 95 |
but the |
| 96 |
.I trusted_file |
| 97 |
does not have pseudoknot annotation; in this case, |
| 98 |
.B \-p |
| 99 |
will penalize any predicted pseudoknots when it calculates |
| 100 |
specificity, even if they're right, because they don't appear in the |
| 101 |
trusted annotation. This is probably not what you'd want to do. |
| 102 |
|
| 103 |
|
| 104 |
|
| 105 |
.SH EXPERT OPTIONS |
| 106 |
|
| 107 |
.TP |
| 108 |
.B \-\-quiet |
| 109 |
Don't print any verbose header information. (Used by regression test |
| 110 |
scripts, for example, to suppress version/date information.) |
| 111 |
|
| 112 |
|
| 113 |
|
| 114 |
.SH SEE ALSO |
| 115 |
|
| 116 |
.nf |
| 117 |
@EASEL_URL@ |
| 118 |
.fi |
| 119 |
|
| 120 |
.SH COPYRIGHT |
| 121 |
|
| 122 |
.nf |
| 123 |
@EASEL_COPYRIGHT@ |
| 124 |
@EASEL_LICENSE@ |
| 125 |
.fi |
| 126 |
|
| 127 |
.SH AUTHOR |
| 128 |
|
| 129 |
.nf |
| 130 |
http://eddylab.org |
| 131 |
.fi |
| 132 |
|
| 133 |
|
| 134 |
|