Skip to main content
Bioinformatics logoLink to Bioinformatics
. 2013 May 24;29(15):1902–1903. doi: 10.1093/bioinformatics/btt297

viRome: an R package for the visualization and analysis of viral small RNA sequence datasets

Mick Watson 1,*, Esther Schnettler 2, Alain Kohl 2
PMCID: PMC3712215  PMID: 23709497

Abstract

Summary: RNA interference (RNAi) is known to play an important part in defence against viruses in a range of species. Second-generation sequencing technologies allow us to assay these systems and the small RNAs that play a key role with unprecedented depth. However, scientists need access to tools that can condense, analyse and display the resulting data. Here, we present viRome, a package for R that takes aligned sequence data and produces a range of essential plots and reports.

Availability and implementation: viRome is released under the BSD license as a package for R available for both Windows and Linux http://virome.sf.net. Additional information and a tutorial is available on the ARK-Genomics website: http://www.ark-genomics.org/bioinformatics/virome.

Contact: mick.watson@roslin.ed.ac.uk

1 INTRODUCTION

RNA interference (RNAi) is mediated by small RNAs, such as micoRNAs (miRNAs) of 21–22 nt (Lagos-Quintana et al., 2001), small interfering RNAs (siRNAs) of 21–22 nt (Bernstein et al., 2001; Zamore et al., 2000) and PIWI-interacting RNAs (piRNAs) of 24–30 nt (Aravin et al., 2003; Brennecke et al., 2007), and these molecules regulate many biological processes. These pathways are also a major part of the antiviral response in both insects and plants, including a variety of important mosquito-borne diseases of humans and animals, such as West Nile Virus, Dengue Virus and Chikungunya Virus. In arthropods, these are characterized by the production of 21–22 nt virus-derived small interfering RNAs (viRNAs) or 24–30 nt viral piRNA-like molecules (Blair, 2011; Donald et al., 2012; Myles et al., 2009).

Second-generation sequencing allows scientists to assay these systems in unprecedented depth, and short reads capture both the 21–22 nt siRNAs and the 24–30 nt piRNAs. However, there is a need for scientists to be able to summarize, analyse and visualize the results of such experiments. Here, we present viRome, a package for R, which takes aligned sequencing data in the BAM format (Li et al., 2009) and produces a variety of plots and reports that are essential to the analysis of data from viral siRNA datasets.

Software packages to analyse viral siRNA data exist. Paparrazi (Vodovar et al., 2011) is designed to reconstruct viral genomes from siRNA data and produces some similar plots to viRome. Alternatively, Visitor (Antoniewski, 2011), an informatic pipeline for analysing short-read viRNA data, also produces several similar plots. However, both are implemented in Perl and are limited to the Linux/Unix operating system; they include alignment as part of the analysis; therefore, using an alternative aligner would require programming skills; finally, the plots are generated in batch mode; hence, there is no interaction between the user and the software.

As a package for R, viRome improves on these software packages in several ways, including (i) viRome allows interaction between the user and the software during report and graph generation, (ii) viRome is available on any operating system that supports R and has been tested on Microsoft Windows and several Linux distributions, (iii) viRome separates visualization from alignment; therefore, the user is free to use any alignment software they wish and (iv) as an R package, viRome integrates seamlessly with other R packages from the Bioconductor project (Gentleman et al., 2004).

2 ANALYSIS AND VISUALIZATION

As input, viRome takes aligned sequence data in the BAM format. Many tools exist for alignment (Fonseca et al., 2012) and provided they support the SAM/BAM format, viRome is capable of working with their output. Many of the functions within viRome attempt to summarize millions of data points into tables and plots that allow biological interpretation. One of the benefits of viRome is that most functions return the summarized data, as well as creating a plot. This allows users to create their own plots if they wish. Figure 1 shows a selection of plots produced by viRome.

Fig. 1.

Fig. 1.

Clockwise from top-left: a plot of read-length distribution; genomic location of 21–22 nt reads; genomic location of 25–29 nt reads; heatmap and sequence logo showing T1 bias; heatmap and sequence logo showing A10 bias; barplot showing T1 bias; 5′ read distance plot for 25–29 nt reads showing enrichment of 10 nt overlap; and a heatmap showing the genomic location of 18–36 bp reads (counts per position: black is low, red is high)

Global analyses: One of the first requirements is to plot a histogram of the lengths of mapped reads—a peak at 21–22 nt implying an siRNA response, and a high frequency of 24–30 nt with a peak at 28 a piRNA response. In viRome, this can be created using the barplot.bam function. Users may also create a report using the sequence.report function. This produces a data.frame in R that summarizes and counts the sequences aligned to each base in a given reference sequence. Users can see the exact sequence, its length, the location and strand of the alignment plus a count of how many times that sequence occurs. As a data.frame, this can be easily exported to Excel or other spreadsheet software.

Location-based analyses: Although many viruses are targeted by the siRNA pathway throughout the genome, others are targeted only in limited regions (Sabin et al., 2013). A heatmap representing the occurrence of all mapped read lengths across all genomic locations can be produced using the size.position.heatmap function, and barplots showing counts for each genomic location for each read length generated using the stacked.barplot function.

Read-based analyses: Read-based analyses allow users to focus on patterns in particular subsets of reads. Single barplots showing the location, strand and count of reads mapping throughout the genome can be visualized using the position.barplot function. The base composition of subsets of reads can be calculated with the make.pwm function. Sequence signatures of the piRNA pathway include a strong U1 bias in primary, antisense piRNAs and following ‘ping-pong’ cycle amplification involving AGO3 and Aub, a strong A10 bias in secondary sense piRNAs in Drosophila (Brennecke et al., 2007). Similar motifs have been found in piRNAs and viral piRNA-like molecules in mosquitoes or derived cell lines (Morazzani et al., 2012; Schnettler et al., 2013; Vodovar et al., 2012). The output of make.pwm can be plotted as a heatmap using the pwm.heatmap function, or used with external packages such as seqLogo and motifStack to produce sequence logos. Finally, the 5′-ends of complementary piRNAs are most frequently separated by 10 nt (Brennecke et al., 2007; Vodovar et al., 2012) because of the earlier described ‘ping-pong’ amplification. The distance between 5′-ends of piRNAs mapping to opposite strands can be summarized and visualized using the read.dist.plot function.

3 CONCLUSIONS

Deep sequencing experiments have revealed a variety of interesting and unique signatures of the miRNA, siRNA and piRNA pathways, and there is a need for software that allows scientists to process such data. We have developed viRome, a package for R that allows the interactive generation of a range of informative plots and reports. As an R package, viRome is available on a range of operating systems. viRome is released under an open-source license and can be downloaded from http://virome.sf.net, where a tutorial is also available.

Funding: UK Biotechnology and Biological Sciences Research Council (BBSRC) (BB/J004243/1; BB/J004235/1) (to M.W.); UK Medical Research Council (MRC) (to A.K. and E.S.); The Netherlands Organisation for Scientific Research NWO (Rubicon Fellowship number: 825.10.021) (to E.S.).

Conflict of Interest: none declared.

REFERENCES

  1. Antoniewski C. Visitor, an informatic pipeline for analysis of viral siRNA sequencing datasets. Methods Mol. Biol. 2011;721:123–142. doi: 10.1007/978-1-61779-037-9_7. [DOI] [PubMed] [Google Scholar]
  2. Aravin AA, et al. The small RNA profile during Drosophila melanogaster development. Dev. Cell. 2003;5:337–350. doi: 10.1016/s1534-5807(03)00228-4. [DOI] [PubMed] [Google Scholar]
  3. Bernstein E, et al. Role for a bidentate ribonuclease in the initiation step of RNA interference. Nature. 2001;409:363–366. doi: 10.1038/35053110. [DOI] [PubMed] [Google Scholar]
  4. Blair CD. Mosquito RNAi is the major innate immune pathway controlling arbovirus infection and transmission. Future Microbiol. 2011;6:265–277. doi: 10.2217/fmb.11.11. [DOI] [PMC free article] [PubMed] [Google Scholar]
  5. Brennecke J, et al. Discrete small RNA-generating loci as master regulators of transposon activity in Drosophila. Cell. 2007;128:1089–1103. doi: 10.1016/j.cell.2007.01.043. [DOI] [PubMed] [Google Scholar]
  6. Donald CL, et al. New insights into control of arbovirus replication and spread by insect RNA interference pathways. Insects. 2012;3:511–531. doi: 10.3390/insects3020511. [DOI] [PMC free article] [PubMed] [Google Scholar]
  7. Fonseca NA, et al. Tools for mapping high-throughput sequencing data. Bioinformatics. 2012;28:3169–3177. doi: 10.1093/bioinformatics/bts605. [DOI] [PubMed] [Google Scholar]
  8. Gentleman RC, et al. Bioconductor: open software development for computational biology and bioinformatics. Genome Biol. 2004;5:R80. doi: 10.1186/gb-2004-5-10-r80. [DOI] [PMC free article] [PubMed] [Google Scholar]
  9. Lagos-Quintana M, et al. Identification of novel genes coding for small expressed RNAs. Science. 2001;294:853–858. doi: 10.1126/science.1064921. [DOI] [PubMed] [Google Scholar]
  10. Li H, et al. The sequence alignment/map format and SAMtools. Bioinformatics. 2009;25:2078–2079. doi: 10.1093/bioinformatics/btp352. [DOI] [PMC free article] [PubMed] [Google Scholar]
  11. Morazzani EM, et al. Production of virus-derived ping-pong-dependent piRNA-like small RNAs in the mosquito soma. PLoS Pathog. 2012;8:e1002470. doi: 10.1371/journal.ppat.1002470. [DOI] [PMC free article] [PubMed] [Google Scholar]
  12. Myles KM, et al. Origins of alphavirus-derived small RNAs in mosquitoes. RNA Biol. 2009;6:387–391. doi: 10.4161/rna.6.4.8946. [DOI] [PMC free article] [PubMed] [Google Scholar]
  13. Sabin LR, et al. Dicer-2 processes diverse viral RNA species. PloS One. 2013;8:e55458. doi: 10.1371/journal.pone.0055458. [DOI] [PMC free article] [PubMed] [Google Scholar]
  14. Schnettler E, et al. RNA interference targets arbovirus replication in culicoides cells. J. Virol. 2013;87:2441–2454. doi: 10.1128/JVI.02848-12. [DOI] [PMC free article] [PubMed] [Google Scholar]
  15. Vodovar N, et al. In silico reconstruction of viral genomes from small RNAs improves virus-derived small interfering RNA profiling. J. Virol. 2011;85:11016–11021. doi: 10.1128/JVI.05647-11. [DOI] [PMC free article] [PubMed] [Google Scholar]
  16. Vodovar N, et al. Arbovirus-derived piRNAs exhibit a ping-pong signature in mosquito cells. PloS One. 2012;7:e30861. doi: 10.1371/journal.pone.0030861. [DOI] [PMC free article] [PubMed] [Google Scholar]
  17. Zamore PD, et al. RNAi: double-stranded RNA directs the ATP-dependent cleavage of mRNA at 21 to 23 nucleotide intervals. Cell. 2000;101:25–33. doi: 10.1016/S0092-8674(00)80620-0. [DOI] [PubMed] [Google Scholar]

Articles from Bioinformatics are provided here courtesy of Oxford University Press

RESOURCES