PMC:1892782 / 16821-36904 JSONTXT

Annnotations TAB JSON ListView MergeView

    2_test

    {"project":"2_test","denotations":[{"id":"17540014-15405679-1690052","span":{"begin":11388,"end":11390},"obj":"15405679"},{"id":"17540014-16273071-1690053","span":{"begin":15436,"end":15437},"obj":"16273071"},{"id":"17540014-16628248-1690054","span":{"begin":15438,"end":15439},"obj":"16628248"},{"id":"17540014-16204130-1690055","span":{"begin":15440,"end":15441},"obj":"16204130"},{"id":"17540014-16425273-1690056","span":{"begin":15442,"end":15443},"obj":"16425273"},{"id":"17540014-16628248-1690057","span":{"begin":16677,"end":16678},"obj":"16628248"},{"id":"17540014-16628248-1690058","span":{"begin":17496,"end":17497},"obj":"16628248"},{"id":"17540014-15608158-1690059","span":{"begin":17549,"end":17551},"obj":"15608158"},{"id":"17540014-15608160-1690060","span":{"begin":17560,"end":17562},"obj":"15608160"},{"id":"17540014-14681370-1690061","span":{"begin":17574,"end":17576},"obj":"14681370"},{"id":"17540014-16381836-1690062","span":{"begin":17598,"end":17600},"obj":"16381836"},{"id":"17540014-16628248-1690063","span":{"begin":17766,"end":17767},"obj":"16628248"},{"id":"17540014-16628248-1690064","span":{"begin":18033,"end":18034},"obj":"16628248"}],"text":"2 Results\n\n2.1 Testing the classifier\nClassification performance is evaluated using 30920 automatically generated ClustalW alignments of 313 of the 503 ncRNA families from RFAM (version 7.0). All sequences attending at the training alignments were excluded from the test set. For each family at most 500 ClustalW alignments were randomly constructed each for 2 to 6 sequences, resulting in maximal 2500 alignments for a family. Since the alignments which were taken to train the SVM are no longer than 400 nt, have a minimal pairwise sequence identity of 60% and contain maximal six sequences, test alignments were created which meet the same criteria. For alignments which do not fall into those ranges probability estimates of the SVM need to be regarded with certainty. 8 families had no alignments between 40 and 400 nt and were hence discarded from the test set. 67 families are not included because they consist of only one or two sequences. 2 families had no sampled alignments with a mean pairwise sequence identity larger than 60%. Lastly, the sampled alignments of 113 families were not recognized as ncRNA by RNAz on at least one reading direction and were also discarded from the test data set. A list of families excluded from the test data can be found in the supplementary material (see Additional file 1). All alignments in the test set were used as positive test cases and their realigned reverse complements as negative test cases.\nTable 1 lists the classification rates for different threshold values c, i.e., classifying the RNA as \"plus strand\" for D \u003e c and as \"minus strand\" for D \u003c -c, while -c ≤ D ≤ c is interpreted as \"undecided\". We observe only a negligible loss of accuracy when c is increased from 0 to 0.9. The distribution of D (see Additional file 1) demonstrates that the majority of alignments are classified correctly with high probability. However, RNAstrand fails to predict the correct reading direction of 53 families (e.g. 7SK). The predicted secondary structure of the reverse complementary alignment is much more stable for these examples than the ncRNA itself (see Additional file 1). On the other hand, RNAstrand is able to reliably capture the reading direction of most ncRNAs for which no representative was given in the training set, including RNase MRP, IRES, SECIS and 5.8S rRNA, which makes it suitable to predict the reading direction of novel ncRNA families.\nTable 1 Evaluation of RNAstrand.\nc = 0 c = 0.5 c = 0.9\nncRNA type N a N c A A + A - A 1-A-u u A 1-A-u u A(RNAz)\nAlignments classified as structured RNA by RNAz\n5S rRNA 413 1 0.990 0.993 0.988 0.978 0.006 0.016 0.958 0.000 0.042 0.973\n5.8S rRNA 146 1 0.932 0.932 0.932 0.894 0.055 0.051 0.733 0.024 0.243 0.904\ntRNA 286 1 0.948 0.948 0.948 0.886 0.017 0.096 0.621 0.009 0.371 0.535\nmiRNA 1875 43 0.981 [0.241] 0.979 [0.246] 0.982 [0.238] 0.965 [0.261] 0.009 [0.171] 0.026 [0.147] 0.906 [0.373] 0.001 [0.003] 0.094 [0.372] 0.187 [0.376]\nsnoRNA (C/D) 946 71 0.780 [0.376] 0.785 [0.374] 0.775 [0.389] 0.732 [0.411] 0.190 [0.363] 0.078 [0.256] 0.618 [0.431] 0.147 [0.286] 0.235 [0.416] 0.654 [0.446]\nsnoRNA (H/ACA) 3066 53 0.909 [0.198] 0.908 [0.198] 0.909 [0.199] 0.882 [0.255] 0.062 [0.160] 0.056 [0.184] 0.823 [0.352] 0.021 [0.039] 0.156 [0.339] 0.899 [0.283]\nspliceos. RNA 896 6 0.877 [0.252] 0.885 [0.251] 0.868 [0.254] 0.831 [0.327] 0.086 [0.212] 0.083 [0.118] 0.735 [0.322] 0.042 [0.125] 0.222 [0.202] 0.835 [0.257]\neuk. SRP RNA 891 1 0.997 0.998 0.996 0.992 0.001 0.007 0.972 0.000 0.028 0.841\nnucl. RNaseP 31 1 0.694 0.710 0.677 0.613 0.274 0.113 0.387 0.081 0.532 0.290\nRNase MRP 140 1 0.989 0.986 0.993 0.982 0.000 0.018 0.961 0.000 0.039 0.500\nIRES 170 8 0.715 [0.453] 0.718 [0.455] 0.712 [0.452] 0.647 [0.469] 0.200 [0.424] 0.153 [0.339] 0.597 [0.448] 0.106 [0.433] 0.297 [0.402] 0.318 [0.424]\nSECIS 76 1 0.651 0.658 0.645 0.520 0.257 0.224 0.329 0.191 0.480 0.487\n7SK 184 1 0.041 0.043 0.038 0.024 0.916 0.060 0.011 0.802 0.188 0.038\nAlignments not classified as structured RNA by RNAz\n5S rRNA 525 1 0.793 0.821 0.766 0.717 0.130 0.153 0.552 0.057 0.390 -\n5.8S rRNA 1000 1 0.853 0.892 0.814 0.771 0.092 0.137 0.602 0.032 0.366 -\ntRNA 1 1 1/1 1/1 1/1 1/1 0/1 0/1 1/1 0/1 0/1 -\nmiRNA 0 - - - - - - - - - - -\nsnoRNA (C/D) 4228 105 0.563 [0.397] 0.595 [0.399] 0.532 [0.414] 0.480 [0.420] 0.353 [0.363] 0.167 [0.236] 0.340 [0.394] 0.245 [0.316] 0.415 [0.364] -\nsnoRNA (H/ACA) 1993 36 0.788 [0.251] 0.812 [0.244] 0.763 [0.291] 0.735 [0.314] 0.157 [0.203] 0.108 [0.233] 0.644 [0.370] 0.081 [0.169] 0.274 [0.339] -\nspliceos. RNA 2944 4 0.632 [0.287] 0.669 [0.287] 0.595 [0.289] 0.560 [0.314] 0.301 [0.261] 0.139 [0.071] 0.422 [0.338] 0.203 [0.200] 0.375 [0.180] -\neuk. SRP RNA 3 1 3/3 3/3 3/3 3/3 0/3 0/3 3/3 0/3 0/3 -\nnucl. RNaseP 2 1 2/2 2/2 2/2 2/2 0/2 0/2 1/2 0/2 1/2 -\nRNase MRP 0 - - - - - - - - - - -\nIRES 265 13 0.506 [0.454] 0.521 [0.454] 0.491 [0.454] 0.468 [0.411] 0.457 [0.450] 0.075 [0.276] 0.436 [0.401] 0.353 [0.411] 0.211 [0.418] -\nSECIS 43 1 0.686 0.698 0.674 0.593 0.174 0.233 0.302 0.070 0.628 -\n7SK 630 1 0.127 0.152 0.102 0.063 0.798 0.139 0.018 0.640 0.342 -\nNa: number of alignments in test set, Nc: number of different RNA classes, A: accuracy, which is defined as the fraction of correctly classified input alignments, A+: accuracy of alignments in reading direction of ncRNA, A-: accuracy of reverse complementary alignments, u: fraction of undecided alignments, 1 - A - u: fraction of misclassified alignments, A(RNAz): fraction of alignments correctly classified by taking the strand with the largest RNAz probability as the strand of the ncRNA. Standard deviations for RNA families with alignments from different classes are given in brackets. Note, that in case c = 0 no undecided alignments are observed. To evaluate the performance of RNAstrand on alignments which have not been identified as structured RNA by RNAz, we constructed a second test set which only consists of alignments not classified as structured RNA by RNAz in both reading directions. This resulted in 207 families meeting the criteria described in the first paragraph of this section. The corresponding distributions are shown in the supplementary material (see Additional file 1). For those alignments a dramatic decrease of structure stability and conservation is observed which leads to smaller descriptor values (see Additional file 1). Hence, the classification performance is worse compared to RNAz-positive alignments (Table 1). However, for the majority of alignments the correct reading direction was inferred.\nPerformance measures depending on the number of sequences in the input alignment, the length as well as the mean pairwise identity of the sequences are given in Table 2. The number of sequences of an alignment does not influence prediction performance significantly. But the more the sequences are conserved the better the overall classification accuracy. The fraction of correctly classified alignments is also very high in case of long sequences. For alignments of 100 to 200 nt length the accuracy is biased to miRNAs, which are well classified by RNAstrand.\nTable 2 Accuracies depending on different alignment features.\nc = 0\nalignment feature N A A + A -\nNS = 2 4487 0.824 0.829 0.819\nNS = 3 5311 0.833 0.830 0.837\nNS = 4 6388 0.828 0.830 0.827\nNS = 5 7234 0.797 0.805 0.789\nNS = 6 7500 0.832 0.835 0.829\n50 ≤ sequence identity \u003c 70 13187 0.799 0.799 0.799\n70 ≤ sequence identity \u003c 80 12152 0.827 0.832 0.823\n80 ≤ sequence identity \u003c 90 5550 0.865 0.871 0.859\n90 ≤ sequence identity \u003c 100 31 0.903 0.871 0.935\n40 ≤ length ≤ 100 11191 0.768 0.773 0.763\n101 ≤ length ≤ 200 14180 0.853 0.856 0.851\n201 ≤ length ≤ 300 1697 0.637 0.641 0.634\n301 ≤ length ≤ 400 3852 0.945 0.945 0.945\nall alignments 30920 0.822 0.825 0.819\nPerformance of RNAstrand depending on various alignment features, i.e. number of sequences (NS), sequence identity and alignment length. N : number of alignments in the test sets, A: accuracy, which is defined as the fraction of correctly classified input alignments, A+: accuracy of alignments in reading direction of ncRNA, A-: accuracy of reverse complementary alignments. The results highlight that our classification task has an intrinsic symmetry: the fraction of correctly classified alignments for the \"plus strand\" of a ncRNA should be similar to the accuracy of the \"minus strand\". However, we observe a small but noticeable bias to predict that the ncRNA lies in same reading direction as the input alignment (Table 1). The SVM model was trained with different alignments in the positive and negative training sets, which results in an asymmetric model. If the same alignments, but in different directions, were taken for training, the SVM model would be exactly symmetric. But training data should be independent in the different classes, hence we refrained from enforcing this exact symmetry to avoid potential overtraining artifacts. Another possibility to avoid asymmetry would be to take the averaged SVM decision values of both reading directions as the final decision. But this has an unknown effect on the probability estimates.\nThe distribution of decision values of the SVM is shown in Fig. 3. The majority of alignments were classified correctly. Most of them have large absolute decision values stating that they belong to the corresponding class with high probability. If RNAstrand is applied to shuffled alignments the decision values are more concentrated around 0, but most of them are still classified correctly. To explain this observation we checked which combination of descriptors performs best on shuffled alignments. We trained a SVM model for each possible descriptor combination and calculated the true and false positive rates at different decision levels by using plotroc.py of the libsvm 2.8 package [18]. The corresponding ROC curves are given in Fig. 4 and indicate that except of Δmeanmfe all descriptors classify shuffled alignments randomly. Individual shuffled sequences, presumably by virtue of their base composition (see Additional file 1), still contain information on the reading direction of the structured RNA which is captured by Δmeanmfe. This observation implies that RNAstrand must not be used for alignments that do not contain structured RNAs. In other words, RNAstrand cannot be used to infer an ncRNA on the grounds that it returned a preferred reading direction for a non-structured input alignment. We could have also removed Δmeanmfe from the set of descriptors, because of this bias. However, due to its high sensitivity (Fig. 1) it seems preferable to keep it as descriptor, in particular since RNAstrand is designed to operate on structured RNAs only.\nThe best cutoff c can be found by plotting false positive rates versus true positive rates at different c (Fig. 5). If Youden's index Y, i.e., true positive rate minus false positive rate, is maximal, then the classification accuracy cannot be further improved by taking a larger cutoff [19]. We observe Ymax ≈ 0.644 for c ≤ 0.15. Hence, a further increase of c leads to a worse proportion of correctly and falsely classified alignments. However, a large value of c assures that the predicted reading direction is with high probability the correct reading direction, see Table 1 and the r.h.s. of Fig. 5.\nFigure 3 Histogram of SVM decision values. Distribution of SVM decision values of RNAz-positive alignments. The upper histogram belongs to all alignments of the test set. Whereas the lower one shows the distribution of the decision values for shuffled alignments. Columns of the test alignments were randomly permuted to create shuffled alignments. Red dotted bins denote alignments where the ncRNA has the same reading direction as the alignment. Black bins belong to alignments where the ncRNA is contained in the reverse complement. Note that the shuffling procedure does not completely destroy the direction information.\nFigure 4 Receiver operating characteristic of all descriptor combinations for shuffled alignments. ROC curves of all descriptor combinations for shuffled alignments. Columns of test alignments were randomly permuted to create shuffled alignments. Corresponding AUC is given in brackets. ROC curves were computed by training a SVM model for each descriptor combination and testing the model on shuffled alignments by utilizing plotroc.py of the libsvm 2.8 package [18]. Training was done with the original training set for RNAstrand. SVM parameter and kernel did not change, i.e. a radial basis function kernel with parameters C = 128 and γ = 0.5 were used.\nFigure 5 Receiver operating characteristic of test alignments. False positive rates of RNAz-positive test alignments versus true positive rates at different cutoff levels c. The left plot depicts rates in case undecided alignments are included in the calculation. Meaning that the true positive rate is defined as tptp+fn+u MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacH8akY=wiFfYdH8Gipec8Eeeu0xXdbba9frFj0=OqFfea0dXdd9vqai=hGuQ8kuc9pgc9s8qqaq=dirpe0xb9q8qiLsFr0=vr0=vr0dc8meaabaqaciaacaGaaeqabaqabeGadaaakeaadaWcaaqaaiabdsha0jabdchaWbqaaiabdsha0jabdchaWjabgUcaRiabdAgaMjabd6gaUjabgUcaRiabdwha1baaaaa@3861@, where tp denotes alignments which have been correctly classified to contain the ncRNA in the same reading direction as the input alignment. fn is the number of alignments which have been falsely classified to contain the ncRNA on the reverse complement, while u contains all alignments which contain the ncRNA in the same reading direction but RNAstrand were not able to predict a reading direction. False positive rate is defined respectively. The right handed plot discards unclassified alignments. Hence, the true positive rate is defined as tptp+fn MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacH8akY=wiFfYdH8Gipec8Eeeu0xXdbba9frFj0=OqFfea0dXdd9vqai=hGuQ8kuc9pgc9s8qqaq=dirpe0xb9q8qiLsFr0=vr0=vr0dc8meaabaqaciaacaGaaeqabaqabeGadaaakeaadaWcaaqaaiabdsha0jabdchaWbqaaiabdsha0jabdchaWjabgUcaRiabdAgaMjabd6gaUbaaaaa@360C@ and the false positive rate as fpfp+tn MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacH8akY=wiFfYdH8Gipec8Eeeu0xXdbba9frFj0=OqFfea0dXdd9vqai=hGuQ8kuc9pgc9s8qqaq=dirpe0xb9q8qiLsFr0=vr0=vr0dc8meaabaqaciaacaGaaeqabaqabeGadaaakeaadaWcaaqaaiabdAgaMjabdchaWbqaaiabdAgaMjabdchaWjabgUcaRiabdsha0jabd6gaUbaaaaa@35F0@. The curves for both SVM decision classes are given. Red curves denote alignments containing the ncRNA in the reading direction of the input alignment. Black curves belong to alignments which contain the ncRNA on the reverse complementary strand. The values of c range from 0 to 0.95 in steps of 0.05.\n\n2.2 Comparison to naïve approaches\nA naïve way to determine the likely reading direction is to score an alignment and its reverse complement using RNAz, EvoFold, or another tool for recognizing structured RNAs. This approach was taken e.g. in [1,2,4,5]. A manual inspection of the data, however, showed that this approach is problematic in particular in those cases where RNAz scores are high for both reading directions. This is the case in particular for microRNA precursors, but also for many other small house-keeping ncRNAs.\nTable 1 gives the accuracy of RNAstrand compared to this simple approach, i.e., taking the strand with the larger RNAz probability. RNAstrand yields for all ncRNA types an improvement. The largest increase of classification accuracy is observed for miRNAs, RNase MRP, tRNAs, nuclear RNaseP and IRES. Table 3 shows that the reading direction is classified correctly in the majority of test alignments by RNAstrand. The misclassification rate of the naïve approach is two times higher than that of RNAstrand.\nFinally, we compared the prediction accuracy of RNAstrand with the strand prediction of EvoFold. Applying EvoFold to automatically created RNA alignments extracted from Rfam families is not easily feasible since EvoFold requires a meaningful phylogenetic tree (ideally estimated from neutrally evolving sites) as input. Such data are not available and cannot be generated easily for most combinations of Rfam sequences. The heuristic suggested in [2], namely to rescale a neighbor-joining tree generated from the input alignment, produced very poor classification results in most cases.\nTable 3 Comparison of classification accuracies versus RNAz.\nNaïve RNAz-based classification\ncorrect incorrect\nRNAstrand fwd correct 17961 7579\nincorrect 1570 3810\nrev correct 17855 7521\nincorrect 1676 3868\nall correct 35816 15100\nincorrect 3246 7678\nStrand prediction of RNAstrand compared to naïve prediction of RNAz. The first row of the table refers to alignments of known ncRNA loci given in the direction of the ncRNA. The second row belongs to the corresponding reverse complementary alignments. The last row summarizes the first and second row. Hence, we use instead the subset of known ncRNAs among the 48479 EvoFold predictions in human assembly hg17 [2].\nA blast search with E \u003c 1e - 10 against NonCode [20], Rfam [21], mirBase [22] and snoRNA-LBME-db [23] identified only 248 unique known ncRNA loci in human. (Note, that tRNAs and most snRNAs are multi-copy genes and hence were deliberately excluded from the data in [2]). To compare strand predictions of EvoFold with RNAstrand the multiz8way alignments of 202 loci, which are completely covered by a blast hit, were reconstructed. The majority (177) were identified to be miRNA precursors as most of the EvoFold predictions in ref. [2] are short conserved hairpins. The direction of the blast hit indirectly determines the strand of the known ncRNA when it is compared to the strand prediction of EvoFold. For 14 (13 miRNAs and 1 U6atac) loci the multiple alignments could not be reconstructed. The remaining 188 alignments were realigned and all which did not meet the prerequisites of RNAstrand were discarded: 15 alignments were shorter than the minimum length for which RNAstrand was trained with, 5 alignments had a mean pairwise identity smaller than 50%, and one alignment contained of too many gaps. This leaves 167 alignments for which the strand prediction of RNAstrand is compared to the strand prediction of EvoFold. Alignments containing more than 6 sequences were reduced to 6 sequences by rnazWindow.pl which optimizes the final alignment for a mean pairwise identity.\nThe numbers in Table 4 show that the strand prediction of EvoFold is comparable to the strand prediction of RNAstrand on this relative small test set, which is, however, dominated by microRNAs. We remark that EvoFold and RNAz are sensitive for ncRNAs of different base compositions and sequence similarities [3,24], so that neither of these programs can be (ab)used as universal strand-strand classificators.\nTable 4 Comparison of classification accuracies versus EvoFold.\nNaïve EvoFold-based classification\ncorrect incorrect\nRNAstrand fwd correct 123 [111;12] 16 [15;1]\nincorrect 17 [17; 0] 11 [8;3]\nrev correct 121 [109;12] 12 [11;1]\nincorrect 19 [19; 0] 15 [12;3]\nall correct 244 [220;24] 28 [26;2]\nincorrect 36 [36; 0] 26 [20;6]\nStrand prediction of RNAstrand compared to naïve prediction of EvoFold. The first row of the table refers to alignments of known ncRNA loci given in the direction of the ncRNA. The second row belongs to the corresponding reverse complementary alignments. The last row summarizes the first and second row. First numbers in brackets give classifications of alignments containing miRNAs and second numbers belong to alignments containing other ncRNAs."}