Table of content

Table of content

Introduction


rboAnalyzer is a tool complementing the BLAST algorithm when searching for a query sequence that is RNA with a secondary structure (which does not have to be known).

The high-scoring pairs (HSPs) in BLAST output are often incomplete (ie. the alignment in HSP does not cover the whole query sequence). This is a major drawback when trying to characterize the potential ncRNA indicated by the HSP.

Therefore, rboAnalyzer tries to find full-length RNA sequences from the incomplete HSPs from the BLAST output and predict their secondary structures with one or more methods. Score for similarity (as proxy to homology) between the estimated full-length sequence and query sequence is also computed.

This webserver is used for interactive analysis of individual high scoring pairs (HSPs) from NCBI BLAST webserver output, for bulk analysis or results obtained from custom database see the commandline application.

Functionality overview


The rboAnalyzer has 3 stages:

  1. Extension of full-length RNA sequence from HSP.
  2. Estimation of homology of full-length matches to query sequence.
  3. Prediction of secondary structures.

     

Methods for extending the partial matches to full length


We offer 3 methods for extending the partial matches.

  1. simple

    This means that location of extended full-length sequence is computed from lengths of unaligned parts of query sequence on 5’ and 3’ ends of the HSP. (fast)

  2. locarna

    In this method, the loci at the subject sequence containing partial match with flanking regions is realigned to the query sequence with Locarna algorithm. The sequence aligned to the query is considered to be the extended full-length sequence.

  3. meta

    Here the two aforementioned methods are combined and extended full-length sequences are scored with covariance model. The better scoring sequence is chosen. (most accurate)

     

simple


In the simple mode we compute the location of the extended subject sequence according to the unaligned parts of the query sequence, i.e. those that were not aligned in HSP and flank the HSP alignment at both 5’ and 3’ ends. In this toy example we have the Plus/Plus BLAST HSP with a section of the query sequence between nucleotides 10 and 21 aligned to a section of the subject sequence between nucleotides 1000 and 1009. The task is to extend the partial HSP subject sequence between nucleotides 1000 and 1009 to the length of the query sequence.

Suppose that the query sequence (the red bar in the figure of the example) is 50 bases long. Then the length of the unaligned part of the query at 5’ end is 9 nucleotides (subtract nucleotide positions 10 - 1) and the length of the unaligned part of the query at 3’ end is 29 nucleotides (subtract positions 50 - 21). The positions of the extended subject sequence at the whole subject sequence is computed by adding/subtracting the lengths of the unaligned parts of the query sequence to/from 3’/5’ ends of the partial HSP subject sequence, respectively. Then, 5’ and 3’ ends of the extended HSP sequence lie at nucleotides 991 (1000 – 9) and 1038 (1009 + 29), respectively. Because there are 2 gaps in HPS subject sequence, the resulting extended subject sequence will be 2 nucleotides shorter than the query sequence.

Theoretically, the 2 extra nucleotides could be added at 3’ end of the extended subject sequence to make it as long as the query sequence. But this might not be biologically relevant as the gap could occur naturally instead of being caused by the alignment.

     

locarna


With locarna mode we first extract so called supersequence, which is region on subject sequence as with simple, extended on 5’ and 3’ ends by extra regions from the subject sequence. This supersequence is then realigned with Locarna algorithm to obtain the extended partial match.

The Locarna algorithm utilises possible pairings in it’s computations, thus it is better suited to align RNAs then BLAST algorithm. The Locarna is by default called with free-endgaps=++++ parameters. Additionally the information about matching nucleotides from BLAST HSPs is used to construct so called anchor for the Locarna algorithm. The anchor defines columns of alignment which are considered aligned. As the anchor we consider consecutive series of matches of length at least L in BLAST HSP. The default value of L is 7.

This way the alignment is anchored and the Locarna algorithm can align query to the supersequence. With the free-endgaps=++++ option, the algorithm does not put penalty to unaligned ends of supersequence. The estimated full-length sequence is the continuous part of supersequence aligned to the query sequence.

To set custom options for locarna please use the rboAnalyzer pipeline.

     

meta


This approach combines the simple and locarna extension methods. It extends the HSP with both methods and then selects the extended sequence with with higher score to the covariance model. This is repeated for each HSP to be extended. The different color of the sequences in the diagram illustrates that the extended sequences are slightly different.

     

Estimation of homology


Here we compute score for relation between the extended full-length sequence and query sequence. The computation is based on aligning covariance model (CM) to extended full-length sequence with cmalign program from the Infernal package.

We offer 3 options on how to provide covariance model:

  1. build with RSEARCH (default)

    By default we build the covariance model from the query sequence (secondary structure predicted by RNAfold) and RIBOSUM65 matrix.

  2. infer from Rfam

    The Rfam database is searched for the best reliable matching model with the query sequence. From the found covariance models (if any) the one with highest score and lowest p-value is selected, if these conditions are not satisfied by single model, the search is not considered reliable and no model is reported as matched. The reliably matched model is used for homology inference.

  3. supply your own model

    If you have the covariance model, you pass it directly to the system. The provided covariance model, will also be used for predicting the secondary structures with relevant prediction methods.

     

Secondary structure prediction


Following prediction methods were selected from commandline rboAnalyzer based on their suitability for fast interactive prediction of individual secondary structures from extended partial matches.

     

RNAfold

de novo secondary structure prediction from extended partial match with RNAfold program, part of ViennaRNA Package.


     

cm-Rc

Align covariance model (either best matching Rfam CM or user supplied CM) to extended partial match with cmalign program, use refold.pl to extract conserved base-pairs and use them as constraints for RNAfold prediction.

This method may not be available, if no covariance model was provided or if none were reliably found in Rfam database.


     

cm-sub

Extract consensus secondary structure from covariance model (either best matching Rfam CM or user supplied CM), predict suboptimal secondary structures with hybrid-ss-min and select the most similar suboptimal secondary structure from the predicted ones (lowest RNAdistance score).

This method may not be available, if no covariance model was provided and none were reliably found in Rfam database.

Parameters hybrid-ss-min man page (part of UnaFold):


     

Turbo-fast

This method is based on TurboFold software (RNAstructure package).

First create group of reference sequences (non-redundant) starting with query and adding first N-1 extended sequences that have bit-score > 0, their length differ at maximum from query length of QlenMax and are different from sequences already in he group.

For each extended full match, we make new non-redundant group of sequences consisting of the extended full match for which we want to predict secondary structure and up to N-1 reference sequences.

This method will not be used if the extended sequence contains ambiguous bases.

Parameters:


     

centroid-fast

First create group of reference sequences (non-redundant) starting with query and adding first N-1 extended sequences that have bit-score > 0, their length differ at maximum from query length of QlenMax and are different from sequences already in he group.

Use this group as the homologous sequence group for prediction with centroid homfold.

Parameters:

centroid homfold parameter: - BP inference engine - see centroid homfold documentation


     

fq-sub

Predict secondary structure for query sequence with RNAfold. Then for the extended full match predict suboptimal secondary structures and select the most similar one to the secondary structure predicted for query sequence (lowest RNAdistance score).

Parameters hybrid-ss-min man page (part of UnaFold):

     

Usage


Prerequisites


A modern browser with javascript enabled is required to use this webserver. The site was tested with Mozilla Firefox and Google Chrome. Please use one of these.

Input form


For the analysis to work we need the query sequence used for searching the nucleotide database and the BLAST output.

For every input field there are basic format checks in place. Possible problems will be reported and must be fixed before job submission.

     

Query sequence


     

BLAST output


     

Using RID for BLAST output

To retrieve the BLAST output directly from NCBI you need valid RID (e.g. K4S3S11T01R - these are stored at NCBI only for limited time). Type in the RID to NCBI BLAST RID input and click on Retrieve RID button in the Input form section. The server will attempt to obtain the provided RID from NCBI. If successful, the obtained data will appear as xml text in the gray area.

     

Extension mode


You can choose from simple, locarna and meta extension methods. The default simple is chosen for speed.

For locarna and meta you can alter extension parameters (for simple there are no parameters).

     

Covariance model


Choose the source of covariance model for estimating homology.

     

Methods for secondary structure prediction


None or all prediction methods can be selected by clicking the sliders on the left of the prediction method name. Three methods are selected by default (RNAfold, cm-Rc, Turbo-fast).

Methods allowing to set parameters will show the parameters input if selected.

Available prediction methods:

     

Job submission


If all checks are OK you can submit the job to the server (otherwise the Submit button will be disabled). the Additional checks on the input data will be performed.

If everything is in order the Input section will collapse and the Matched CM and Results section will appear.

Your session will get assigned unique identifier (UUID) which will appear in the address bar (after the “?q=”). Copy or bookmark this address to maintain access to your results. The UUID is the sole identifier for your results and the only way to access them.

No cookies are stored by our server in your browser.

     

Matched CM section


Upon job submission the server tries to find most similar reliable covariance model for the query sequence in Rfam database. If model is found it is reported here.

This section also reports the RNAdistance score for predicting secondary structure for query sequence with cm-Rc to covariance model consensus structure. This score serves as reference for the reported RNAdistance scores for the predicted secondary structures of the full matches.

     

Results


The results present interactive web page, where you can analyze HSPs of interest by clicking the Analyze button for the HSP.

Each HSP from the input has it’s own panel. Initially only the HSP alignment is shown and the analysis is triggered by clicking the Analyze button.

Results of the analysis are loaded as they are completed.

     

Filters

The HSPs can be filtered with Filters dropdown (any active filters are indicated by blue color).

You can export extended sequences or secondary structures by clicking the copy icon at the HSP, or by selecting one or multiple HSPs (checkbox on the right) and using the Export dropdown.

You also can export offline copy of the results (using the Export dropdown), with all the computed data present (however, no new HPSs can be extended and interactive genome browser is replaced with picture of the genome loci).

     

The fasta-like format containing secondary structures


>uid:N|ACCESSION.VERSION|STRAND|START:END DESCRIPTION
SEQUENCE
SECONDARY_STRUCTURE_1 PREDICTION_METHOD_1
SECONDARY_STRUCTURE_2 PREDICTION_METHOD_2

# - where the N is serial number of BLAST HSP
# - ACCESSION.VERSION are the sequence identifiers
# - STRAND is sequence strand in relation to database record
# - START:END format where START is always lower index then END (direction is defined by "direction")
# - DESCRIPTION database sequence description
# the sequence is always given 5' to 3' direction

# Example

>uid:3|LR535856.1|-|20229035:20229107 Mastacembelus armatus genome assembly, chromosome: 24
GCCUCAUAGCUCAGAGGUUUAGAGCACUGGUCUUGUAAACCAGGGGUCGUGAGUUCGAGUCUCACUGGGGCCU
(((((...((((.........)))).(((((.......))))).....(((((.......))))).))))).. Turbo-fast
((((((..((((.........)))).(((((.......))))).....(((((.......))))))))))).. cm-Rc
((((((.(((((.(((.((..((.(.(((((.......))))).).))..)).)))))).))...)))))).. rnafold

     

Examples

The input form contains several example inputs and one pre-computed example output.

The example inputs contains query sequences and BLAST outputs for following RNAs

To paste the example input, click on the RNA initials in the “Input” header. On click the query sequence and BLAST output are inserted in corresponding boxes. You can choose the extension mode, covariance model source and the prediction methods that will be used. Then continue by clicking on the “Submit” button.

The precomputed output example is for MS1 RNA and can be loaded here.

     

Step by step example - tRNA

The tRNA from Escherichia coli was searched for in NCBI nt database limited to fishes.

To input the query sequence and BLAST output click on the tRNA button in Examples section.

Then select locarna in extension mode and leave default parameters.

Proceed with submitting the input form (the Submit button might be disabled if problems are detected in the form).

The server will process the input and Matched CM and Results section will appear.

We can then analyze and inspect HSPs of interest e.g. uid:3|LR535856.1, uid:7|LR664378.1, uid:146|AP008946.1 or uid:154|XM_007909586.1.

References


The webserver uses following resources:

The webserver is build with and uses following software:

The webserver builds on rboAnalyzer pipeline, we list it’s dependencies also here for clarity.

Changelog

6/10/2021

30/9/2021

3/9/2021

21/7/2021

19/1/2021

     

Funding


This work was supported by ELIXIR CZ research infrastructure project (MEYS Grant No: LM2015047) including access to computing and storage facilities.

This work was supported from European Regional Development Fund - Project “ELIXIR-CZ: Budování kapacit” (No. CZ.02.1.01/0.0/0.0/16_013/0001777).

rboAnalyzer version 0.1.5a1