<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Publishing DTD v1.1d3 20150301//EN" "http://jats.nlm.nih.gov/publishing/1.1d3/JATS-journalpublishing1.dtd">
<article article-type="research-article" dtd-version="1.1d3" xml:lang="en" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">
<front>
<journal-meta>
<journal-id journal-id-type="nlm-ta">PLoS ONE</journal-id>
<journal-id journal-id-type="publisher-id">plos</journal-id>
<journal-id journal-id-type="pmc">plosone</journal-id>
<journal-title-group>
<journal-title>PLOS ONE</journal-title>
</journal-title-group>
<issn pub-type="epub">1932-6203</issn>
<publisher>
<publisher-name>Public Library of Science</publisher-name>
<publisher-loc>San Francisco, CA USA</publisher-loc>
</publisher>
</journal-meta>
<article-meta>
<article-id pub-id-type="doi">10.1371/journal.pone.0245280</article-id>
<article-id pub-id-type="publisher-id">PONE-D-20-33168</article-id>
<article-categories>
<subj-group subj-group-type="heading">
<subject>Research Article</subject>
</subj-group>
<subj-group subj-group-type="Discipline-v3">
<subject>Biology and life sciences</subject><subj-group><subject>Molecular biology</subject><subj-group><subject>Macromolecular structure analysis</subject><subj-group><subject>RNA structure</subject></subj-group></subj-group></subj-group></subj-group><subj-group subj-group-type="Discipline-v3">
<subject>Biology and life sciences</subject><subj-group><subject>Biochemistry</subject><subj-group><subject>Nucleic acids</subject><subj-group><subject>RNA</subject><subj-group><subject>RNA structure</subject></subj-group></subj-group></subj-group></subj-group></subj-group><subj-group subj-group-type="Discipline-v3">
<subject>Biology and life sciences</subject><subj-group><subject>Evolutionary biology</subject><subj-group><subject>Evolutionary systematics</subject><subj-group><subject>Phylogenetics</subject><subj-group><subject>Phylogenetic analysis</subject></subj-group></subj-group></subj-group></subj-group></subj-group><subj-group subj-group-type="Discipline-v3">
<subject>Biology and life sciences</subject><subj-group><subject>Taxonomy</subject><subj-group><subject>Evolutionary systematics</subject><subj-group><subject>Phylogenetics</subject><subj-group><subject>Phylogenetic analysis</subject></subj-group></subj-group></subj-group></subj-group></subj-group><subj-group subj-group-type="Discipline-v3">
<subject>Computer and information sciences</subject><subj-group><subject>Data management</subject><subj-group><subject>Taxonomy</subject><subj-group><subject>Evolutionary systematics</subject><subj-group><subject>Phylogenetics</subject><subj-group><subject>Phylogenetic analysis</subject></subj-group></subj-group></subj-group></subj-group></subj-group></subj-group><subj-group subj-group-type="Discipline-v3">
<subject>Research and analysis methods</subject><subj-group><subject>Computational techniques</subject><subj-group><subject>Split-decomposition method</subject><subj-group><subject>Multiple alignment calculation</subject></subj-group></subj-group></subj-group></subj-group><subj-group subj-group-type="Discipline-v3">
<subject>Research and analysis methods</subject><subj-group><subject>Database and informatics methods</subject><subj-group><subject>Bioinformatics</subject><subj-group><subject>Sequence analysis</subject><subj-group><subject>Sequence alignment</subject></subj-group></subj-group></subj-group></subj-group></subj-group><subj-group subj-group-type="Discipline-v3">
<subject>Biology and life sciences</subject><subj-group><subject>Genetics</subject><subj-group><subject>Genomics</subject></subj-group></subj-group></subj-group><subj-group subj-group-type="Discipline-v3">
<subject>Research and analysis methods</subject><subj-group><subject>Database and informatics methods</subject><subj-group><subject>Database searching</subject></subj-group></subj-group></subj-group><subj-group subj-group-type="Discipline-v3">
<subject>Physical sciences</subject><subj-group><subject>Mathematics</subject><subj-group><subject>Probability theory</subject><subj-group><subject>Random variables</subject><subj-group><subject>Covariance</subject></subj-group></subj-group></subj-group></subj-group></subj-group><subj-group subj-group-type="Discipline-v3">
<subject>Biology and life sciences</subject><subj-group><subject>Biochemistry</subject><subj-group><subject>Nucleic acids</subject><subj-group><subject>RNA</subject><subj-group><subject>Non-coding RNA</subject></subj-group></subj-group></subj-group></subj-group></subj-group></article-categories>
<title-group>
<article-title>rfaRm: An R client-side interface to facilitate the analysis of the Rfam database of RNA families</article-title>
<alt-title alt-title-type="running-head">Automated identification and annotation of non-coding RNA</alt-title>
</title-group>
<contrib-group>
<contrib contrib-type="author" corresp="yes" xlink:type="simple">
<contrib-id authenticated="true" contrib-id-type="orcid">https://orcid.org/0000-0003-2537-6824</contrib-id>
<name name-style="western">
<surname>Sellés Vidal</surname>
<given-names>Lara</given-names>
</name>
<role content-type="https://casrai.org/credit/">Conceptualization</role>
<role content-type="https://casrai.org/credit/">Formal analysis</role>
<role content-type="https://casrai.org/credit/">Investigation</role>
<role content-type="https://casrai.org/credit/">Methodology</role>
<role content-type="https://casrai.org/credit/">Software</role>
<role content-type="https://casrai.org/credit/">Validation</role>
<role content-type="https://casrai.org/credit/">Visualization</role>
<role content-type="https://casrai.org/credit/">Writing – original draft</role>
<role content-type="https://casrai.org/credit/">Writing – review &amp; editing</role>
<xref ref-type="aff" rid="aff001"><sup>1</sup></xref>
<xref ref-type="corresp" rid="cor001">*</xref>
</contrib>
<contrib contrib-type="author" xlink:type="simple">
<name name-style="western">
<surname>Ayala</surname>
<given-names>Rafael</given-names>
</name>
<role content-type="https://casrai.org/credit/">Conceptualization</role>
<role content-type="https://casrai.org/credit/">Formal analysis</role>
<role content-type="https://casrai.org/credit/">Investigation</role>
<role content-type="https://casrai.org/credit/">Methodology</role>
<role content-type="https://casrai.org/credit/">Software</role>
<role content-type="https://casrai.org/credit/">Validation</role>
<role content-type="https://casrai.org/credit/">Visualization</role>
<role content-type="https://casrai.org/credit/">Writing – original draft</role>
<role content-type="https://casrai.org/credit/">Writing – review &amp; editing</role>
<xref ref-type="aff" rid="aff002"><sup>2</sup></xref>
</contrib>
<contrib contrib-type="author" corresp="yes" xlink:type="simple">
<name name-style="western">
<surname>Stan</surname>
<given-names>Guy-Bart</given-names>
</name>
<role content-type="https://casrai.org/credit/">Funding acquisition</role>
<role content-type="https://casrai.org/credit/">Supervision</role>
<role content-type="https://casrai.org/credit/">Writing – review &amp; editing</role>
<xref ref-type="aff" rid="aff001"><sup>1</sup></xref>
<xref ref-type="corresp" rid="cor001">*</xref>
</contrib>
<contrib contrib-type="author" corresp="yes" xlink:type="simple">
<name name-style="western">
<surname>Ledesma-Amaro</surname>
<given-names>Rodrigo</given-names>
</name>
<role content-type="https://casrai.org/credit/">Funding acquisition</role>
<role content-type="https://casrai.org/credit/">Supervision</role>
<role content-type="https://casrai.org/credit/">Writing – review &amp; editing</role>
<xref ref-type="aff" rid="aff001"><sup>1</sup></xref>
<xref ref-type="corresp" rid="cor001">*</xref>
</contrib>
</contrib-group>
<aff id="aff001"><label>1</label> <addr-line>Department of Bioengineering, Faculty of Engineering, Imperial College London, London, United Kingdom</addr-line></aff>
<aff id="aff002"><label>2</label> <addr-line>Department of Infectious Disease, Faculty of Medicine, Imperial College London, London, United Kingdom</addr-line></aff>
<contrib-group>
<contrib contrib-type="editor" xlink:type="simple">
<name name-style="western">
<surname>Chen</surname>
<given-names>Zhong-Hua</given-names>
</name>
<role>Editor</role>
<xref ref-type="aff" rid="edit1"/>
</contrib>
</contrib-group>
<aff id="edit1"><addr-line>University of Western Sydney, AUSTRALIA</addr-line></aff>
<author-notes>
<fn fn-type="conflict" id="coi001">
<p>The authors have declared that no competing interests exist.</p>
</fn>
<corresp id="cor001">* E-mail: <email xlink:type="simple">lara.selles12@imperial.ac.uk</email> (LSV); <email xlink:type="simple">g.stan@imperial.ac.uk</email> (GBS); <email xlink:type="simple">r.ledesma-amaro@imperial.ac.uk</email> (RLA)</corresp>
</author-notes>
<pub-date pub-type="epub">
<day>15</day>
<month>1</month>
<year>2021</year>
</pub-date>
<pub-date pub-type="collection">
<year>2021</year>
</pub-date>
<volume>16</volume>
<issue>1</issue>
<elocation-id>e0245280</elocation-id>
<history>
<date date-type="received">
<day>21</day>
<month>10</month>
<year>2020</year>
</date>
<date date-type="accepted">
<day>27</day>
<month>12</month>
<year>2020</year>
</date>
</history>
<permissions>
<copyright-year>2021</copyright-year>
<copyright-holder>Sellés Vidal et al</copyright-holder>
<license xlink:href="http://creativecommons.org/licenses/by/4.0/" xlink:type="simple">
<license-p>This is an open access article distributed under the terms of the <ext-link ext-link-type="uri" xlink:href="http://creativecommons.org/licenses/by/4.0/" xlink:type="simple">Creative Commons Attribution License</ext-link>, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.</license-p>
</license>
</permissions>
<self-uri content-type="pdf" xlink:href="info:doi/10.1371/journal.pone.0245280"/>
<abstract>
<p>rfaRm is an R package providing a client-side interface for the Rfam database of non-coding RNA and other structured RNA elements. The package facilitates the search of the Rfam database by keywords or sequences, as well as the retrieval of all available information about specific Rfam families, such as member sequences, multiple sequence alignments, secondary structures and covariance models. By providing such programmatic access to the Rfam database, rfaRm enables genomic workflows to incorporate information about non-coding RNA, whose potential cannot be fully exploited just through interactive access to the database. The features of rfaRm are demonstrated by using it to analyze the SARS-CoV-2 genome as an example case.</p>
</abstract>
<funding-group>
<award-group id="award001">
<funding-source>
<institution-wrap>
<institution-id institution-id-type="funder-id">http://dx.doi.org/10.13039/501100000268</institution-id>
<institution>Biotechnology and Biological Sciences Research Council</institution>
</institution-wrap>
</funding-source>
<award-id>BB/T011408/1</award-id>
<principal-award-recipient>
<name name-style="western">
<surname>Ledesma-Amaro</surname>
<given-names>Rodrigo</given-names>
</name>
</principal-award-recipient>
</award-group>
<award-group id="award002">
<funding-source>
<institution-wrap>
<institution-id institution-id-type="funder-id">http://dx.doi.org/10.13039/501100000266</institution-id>
<institution>Engineering and Physical Sciences Research Council</institution>
</institution-wrap>
</funding-source>
<award-id>EP/M002187/1</award-id>
<principal-award-recipient>
<name name-style="western">
<surname>Stan</surname>
<given-names>Guy-Bart</given-names>
</name>
</principal-award-recipient>
</award-group>
<funding-statement>RLA, GBS and LSV acknowledge the ERA CoBioTech UKRI/BBSRC project SyCoLim (BB/T011408/1), Biotechnology and Biological Sciences Research Council (BBSRC) (<ext-link ext-link-type="uri" xlink:href="https://bbsrc.ukri.org/" xlink:type="simple">https://bbsrc.ukri.org/</ext-link>). GBS acknowledges the EPSRC Fellowship for Growth (EP/M002187/1), Engineering and Phyisical Sciences Research Council (<ext-link ext-link-type="uri" xlink:href="https://epsrc.ukri.org/" xlink:type="simple">https://epsrc.ukri.org/</ext-link>). The funders had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript.</funding-statement>
</funding-group>
<counts>
<fig-count count="2"/>
<table-count count="1"/>
<page-count count="13"/>
</counts>
<custom-meta-group>
<custom-meta id="data-availability">
<meta-name>Data Availability</meta-name>
<meta-value>The SARS-CoV-2 genome is available on the RefSeq database with accession number NC_045512.2. The sequence of the mitochondrial DNA of Ashbya gossypii is available on the RefSeq database with accession number NC_005789.1.</meta-value>
</custom-meta>
</custom-meta-group>
</article-meta>
</front>
<body>
<sec id="sec001" sec-type="intro">
<title>Introduction</title>
<p>The Rfam database [<xref ref-type="bibr" rid="pone.0245280.ref001">1</xref>] is a collection of families of non-coding RNA and other structured RNA elements. Each family is defined by a multiple sequence alignment of a representative set of family members (seed alignment), a consensus secondary structure, and a covariance model [<xref ref-type="bibr" rid="pone.0245280.ref002">2</xref>], which integrates both multiple sequence alignment information and secondary structure information, and are analogous to the hidden Markov models used in Pfam [<xref ref-type="bibr" rid="pone.0245280.ref003">3</xref>] to determine the consensus sequence of protein families.</p>
<p>The database can be used to identify non-coding RNA elements within a nucleotide sequence of interest by searching it against the Rfam library of covariance models with the Infernal software [<xref ref-type="bibr" rid="pone.0245280.ref004">4</xref>]. Additionally, the database can be used to browse existing RNA families via keyword-based searches or direct access with the accession number or ID of specific families. Different pieces of information can be retrieved for each RNA family, including a descriptive summary, secondary structure information and consensus sequence, amongst many others. All of these functionalities can be accessed through the Rfam web-based interface. However, even though a RESTful API for the database is available, no client-side interface has been implemented so far to allow automated access to it, which makes any medium- or large-scale analysis a laborious and time-consuming process.</p>
<p>Here, we present a client-side interface to the Rfam database, enabling its programmatic access and therefore expanding the scope of the genomic analysis that can be carried out with the information provided by the Rfam database. The language of choice was R. This choice is based on the large number of tools already available in the Bioconductor project for the analysis of high-throughput genomic data. The software presented here complements these tools and facilitates the integration of the data retrieved via rfaRm within existing genomic workflows [<xref ref-type="bibr" rid="pone.0245280.ref005">5</xref>].</p>
</sec>
<sec id="sec002">
<title>Implementation</title>
<sec id="sec003">
<title>Software features</title>
<p>rfaRm provides two types of functionalities: searches within the Rfam database, and retrieval of data associated to specific RNA families.</p>
<p>In its current version, rfaRm allows two types of searches within the Rfam database: by keyword, and by sequence. In a keyword search, the user can provide a keyword that will be matched against family descriptions and identifiers. Matching families are returned as a list of Rfam accession numbers. In a sequence search, the user submits an RNA sequence and the list of RNA families present in this sequence is returned. While the current implementation of the Rfam web server allows for queries on sequences of up to 10,000 nucleotides, rfaRm imposes no limit on the length of sequences to be analyzed. Instead, if a sequence longer than 10,000 nucleotides is provided as input, it is internally split into smaller, overlapping fragments that are then used to perform individual searches. Found hits are mapped back into the original sequence before being returned to the user.</p>
<p>Furthermore, rfaRm also provides a functionality analogous to the “clan competition” feature employed by the Rfam web server to ensure hit quality. If such functionality is enabled, groups (clans) of related Rfam families are defined. If two hits overlap by a user-defined length (by default, 50% of the length of the shortest hit), and they belong to the same clan, only the hit with best score is kept. rfaRm allows clan competition to be disabled, which in some cases might be preferrable to identify nested non-coding RNA hits.</p>
<p>After identifying a set of RNA families of interest, rfaRm allows to retrieve and plot different data about each family by providing their Rfam accession number or ID. The data that can be retrieved for each family include: a descriptive summary, the consensus sequence and secondary structure (in extended dot-bracket or WUSS notations) (<xref ref-type="fig" rid="pone.0245280.g001">Fig 1A</xref>), the covariance model, the seed alignment used to define it, several types of secondary structure plots (<xref ref-type="fig" rid="pone.0245280.g001">Fig 1B</xref>), the phylogenetic tree associated with the seed alignment (<xref ref-type="fig" rid="pone.0245280.g001">Fig 1C</xref>), the full list of sequence regions belonging to the family (including their GenBank accessions and starting and ending positions), and a list of entries of the PDB database with associated 3D structures for members of the family. Insightful plots of secondary structure and phylogenetic trees can be either directly displayed in R or saved into separate files with a desired format (including SVG to facilitate further edition).</p>
<fig id="pone.0245280.g001" position="float">
<object-id pub-id-type="doi">10.1371/journal.pone.0245280.g001</object-id>
<label>Fig 1</label>
<caption>
<title>Examples of data retrieved with rfaRm.</title>
<p>All data were retrieved for the Rfam family RF03120, comprising the SARS beta-coronavirus 5’-UTR. (A) Consensus sequence and secondary structure. (B) Secondary structure plot colored by sequence conservation. (C) Phylogenetic tree of the seed alignment used to define the family.</p>
</caption>
<graphic mimetype="image" position="float" xlink:href="info:doi/10.1371/journal.pone.0245280.g001" xlink:type="simple"/>
</fig>
</sec>
<sec id="sec004">
<title>Integration with other packages and software</title>
<p>In order to facilitate the analysis and further manipulation of the data retrieved from Rfam, we designed rfaRm to output all data into standard formats that can be directly read by other software and R packages. All plots can be written as character strings representing SVG objects in XML format (which can be manipulated with the rsvg [<xref ref-type="bibr" rid="pone.0245280.ref006">6</xref>] and magick [<xref ref-type="bibr" rid="pone.0245280.ref007">7</xref>] R packages), in addition to being saved in many commonly used image formats. Consensus sequence and secondary structure in the extended dot-bracket format can be saved to files directly readable by the <italic>R4RNA</italic> R package [<xref ref-type="bibr" rid="pone.0245280.ref008">8</xref>] (<xref ref-type="fig" rid="pone.0245280.g002">Fig 2</xref>). Covariance models are outputted in the Infernal format. Seed multiple sequence alignments can be stored as Biostrings Multiple Alignment R objects (one of the standard formats of the Bioconductor project) [<xref ref-type="bibr" rid="pone.0245280.ref009">9</xref>] or saved into FASTA- or Stockholm-formatted files. Finally, phylogenetic trees can be saved in the New Hampshire Extended format (NHX), which can be read by a variety of software such as the treeio R package [<xref ref-type="bibr" rid="pone.0245280.ref010">10</xref>].</p>
<fig id="pone.0245280.g002" position="float">
<object-id pub-id-type="doi">10.1371/journal.pone.0245280.g002</object-id>
<label>Fig 2</label>
<caption>
<title>Helix plot of the secondary structure of the 5’ UTR of SARS beta-coronaviruses.</title>
<p>The helix plot was generated with the R4RNA package. Arcs indicate base pairings. There are 4 stem loops present (SL1, SL2, SL3 and SL4), as well as a larger structure known as SL5. The plot is annotated with information derived from the seed multiple sequence alignment. As expected, regions involved in base pairing are conserved.</p>
</caption>
<graphic mimetype="image" position="float" xlink:href="info:doi/10.1371/journal.pone.0245280.g002" xlink:type="simple"/>
</fig>
</sec>
<sec id="sec005">
<title>Description of available functions</title>
<p>A short description and an example of usage for each of the functions available in rfaRm is presented here. Further details can be found in the manual and vignette of the package. In the examples presented here, the mitochondrial DNA of <italic>Ashbya gossypii</italic> is used (RefSeq accession number NC_005789.1).</p>
<sec id="sec006">
<title>rfamTextSearchFamilyAccession</title>
<p><italic>Purpose</italic>. Searches the Rfam database for entries containing a specified keyword in the family ID, summary or description.</p>
<p><italic>Arguments</italic></p>
<list list-type="bullet">
<list-item><p><italic>query</italic>: string with the keyword to be searched in the Rfam database.</p></list-item>
</list>
<p><italic>Example of usage</italic></p>
<p specific-use="line"><italic>## Search Rfam families associated to the keyword “tRNA”</italic></p>
<p specific-use="line"><bold>rfamTextSearchFamilyAccession</bold>(rfamFamily = "tRNA")</p>
</sec>
<sec id="sec007">
<title>rfamSequenceSearch</title>
<p><italic>Purpose</italic>. Identifies non-coding RNA in a sequence provided by the user.</p>
<p><italic>Arguments</italic></p>
<list list-type="bullet">
<list-item><p><italic>sequence</italic>: string with an RNA sequence to be searched against the Rfam database. Should contain only standard RNA symbols (i.e., "A", "U", "G" and "C).</p></list-item>
<list-item><p><italic>fragmentsOverlap</italic>: when a sequence larger than 10000 nucleotides is provided, it is internally split into smaller fragments before using them to search the Rfam database. This argument controls the number of overlapping bases between consecutive fragments.</p></list-item>
<list-item><p><italic>clanCompetitionFilter</italic>: logical value indicating if results should be reduced through a clan competition filter, which removes overlapping hits if they belong to Rfam families of the same clan and have an overlap above a certain threshold.</p></list-item>
<list-item><p><italic>clanOverlapThreshold</italic>: number indicating the minimum overlap between two hits (as a fraction of the smallest hit) to remove the hit with the worst e-value if their families belong to the same Rfam clan.</p></list-item>
</list>
<p><italic>Example of usage</italic></p>
<p specific-use="line"><bold>library</bold>("seqinr")</p>
<p specific-use="line"><italic>## Read the sequence of the mitochondrial DNA of Ashbya gossypii</italic></p>
<p specific-use="line">fasta_a_gossypii_MT &lt;- <bold>unlist</bold>(<bold>read.fasta</bold>("a_gossypii_MT.fasta", seqtype = "DNA",</p>
<p specific-use="line">as.string = TRUE))</p>
<p specific-use="line">a_gossypii_MT_RNA &lt;- <bold>gsub</bold>("t", "u", fasta_a_gossypii_MT, ignore.case = TRUE)</p>
<p specific-use="line"><italic>## Search for non-coding RNA with clan competition filter enabled</italic></p>
<p specific-use="line">a_gossypii_MT_hits_clanCompetition &lt;- <bold>rfamSequenceSearch</bold>(sequence = a_gossypii_MT_RNA,</p>
<p specific-use="line">fragmentsOverlap = 1000,</p>
<p specific-use="line">clanCompetitionFilter = TRUE)</p>
<p specific-use="line"><italic>## Count the number of detected non-coding RNA</italic></p>
<p specific-use="line"><bold>length</bold>(a_gossypii_MT_hits_clanCompetition)</p>
</sec>
<sec id="sec008">
<title>rfamFamilyAccessionToID</title>
<p><italic>Purpose</italic>. Converts an Rfam family accession to the corresponding family ID.</p>
<p><italic>Arguments</italic></p>
<list list-type="bullet">
<list-item><p><italic>rfamFamilyAccession</italic>: string with the Rfam family accession to be converted to a family ID.</p></list-item>
</list>
<p><italic>Example of usage</italic></p>
<p specific-use="line"><italic>## Extract the Rfam family accession of the first hit</italic></p>
<p specific-use="line"><italic>## detected in the mitochondrial DNA of</italic> Ashbya gossypii</p>
<p specific-use="line">testAccession &lt;- a_gossypii_MT_hits_clanCompetition[[1]]<bold>$</bold>rfamAccession</p>
<p specific-use="line"><italic>## Obtain the corresponding Rfam family ID</italic></p>
<p specific-use="line"><bold>rfamFamilyAccessionToID</bold>(rfamFamilyAccession = testAccession)</p>
</sec>
<sec id="sec009">
<title>rfamFamilyIDToAccession</title>
<p><italic>Purpose</italic>. Converts an Rfam family ID to the corresponding family accession.</p>
<p><italic>Arguments</italic>.</p>
<list list-type="bullet">
<list-item><p><italic>rfamFamilyID</italic>: string with the Rfam family ID to be converted to a family accession.</p></list-item>
</list>
<p><italic>Example of usage</italic></p>
<p specific-use="line"><italic>## Extract the Rfam family accession of the first hit</italic></p>
<p specific-use="line"><italic>## detected in the mitochondrial DNA of</italic> Ashbya gossypii</p>
<p specific-use="line">testID &lt;- a_gossypii_MT_hits_clanCompetition[[1]]<bold>$</bold>rfamID</p>
<p specific-use="line"><italic>## Obtain the corresponding Rfam family ID</italic></p>
<p specific-use="line"><bold>rfamFamilyAccessionToID</bold>(rfamFamilyID = testID)</p>
</sec>
<sec id="sec010">
<title>rfamFamilySummary</title>
<p><italic>Purpose</italic>. Retrieves a brief summary describing the specified Rfam family.</p>
<p><italic>Arguments</italic></p>
<list list-type="bullet">
<list-item><p><italic>rfamFamily</italic>: string with the Rfam family accession or ID for which a descriptive summary should be retrieved.</p></list-item>
</list>
<p><italic>Example of usage</italic></p>
<p specific-use="line"><italic>## Obtain a summary for the Rfam family with accession RF00005</italic>,</p>
<p specific-use="line"><italic>## of which several instances were identified in the mitochondrial</italic></p>
<p specific-use="line"><italic>## DNA of</italic> Ashbya gossypii. <italic>It corresponds to tRNA</italic>.</p>
<p specific-use="line"><bold>rfamFamilySummary</bold>(rfamFamily = "RF00005")</p>
</sec>
<sec id="sec011">
<title>rfamConsensusSecondaryStructure</title>
<p><italic>Purpose</italic>. Retrieves the consensus secondary structure and sequence of the specified Rfam family.</p>
<p><italic>Arguments</italic></p>
<list list-type="bullet">
<list-item><p><italic>rfamFamily</italic>: string with the Rfam family accession or ID for which a descriptive summary should be retrieved.</p></list-item>
<list-item><p><italic>filename</italic>: optional string specifying the name of a file. If provided, the consensus secondary structure and sequence will be saved to the specified file.</p></list-item>
<list-item><p><italic>format</italic>: string indicating the notation to be used for the RNA secondary structure. It can be either "DB" (extended Dot-Bracket notation; default) or "WUSS" (Washington University Secondary Structure notation).</p></list-item>
</list>
<p><italic>Example of usage</italic></p>
<p specific-use="line"><italic>## Obtain the consensus secondary structure and sequence</italic></p>
<p specific-use="line"><italic>## for the Rfam family with accession RF00005 (tRNA)</italic></p>
<p specific-use="line"><italic>## in the extended Dot-Bracket format</italic></p>
<p specific-use="line"><bold>rfamConsensusSecondaryStructure</bold>(rfamFamily = "RF00005", format = "DB")</p>
</sec>
<sec id="sec012">
<title>rfamSecondaryStructurePlot</title>
<p><italic>Purpose</italic>. Plots a diagram of the specified type of the secondary structure of an Rfam family.</p>
<p><italic>Arguments</italic></p>
<list list-type="bullet">
<list-item><p><italic>rfamFamily</italic>: string with the Rfam family accession or ID for which the secondary structure should be plotted.</p></list-item>
<list-item><p><italic>filename</italic>: optional string specifying the name of a file. If provided, the plot will be saved to the specified file.</p></list-item>
<list-item><p><italic>plotType</italic>: string indicating the desired type of secondary structure diagram. Possible values are “norm” (normal), “cons” (sequence conservation), “fcbp” (basepair conservation), “cov” (covariation), “ent” (relative entropy), “maxcm” (maximum covariance model parse), “rscape” (R-scape analysis of the seed alignment) and “rscape-cyk” (secondary structure predicted by R-scape).</p></list-item>
</list>
<p><italic>Example of usage</italic></p>
<p specific-use="line"><italic>## Generate a diagram of the secondary structure of</italic></p>
<p specific-use="line"><italic>## the Rfam family with accession RF00005 (tRNA)</italic>, <italic>colored</italic></p>
<p specific-use="line"><italic>## by basepair conservation</italic></p>
<p specific-use="line"><bold>rfamSecondaryStructurePlot</bold>(rfamFamily = "RF00005", plotType = "fcbp")</p>
</sec>
<sec id="sec013">
<title>rfamSecondaryStructureXMLSVG</title>
<p><italic>Purpose</italic>. Obtain an SVG file (in XML format) with a representation of the secondary structure of the specified Rfam family.</p>
<p><italic>Arguments</italic></p>
<list list-type="bullet">
<list-item><p><italic>rfamFamily</italic>: string with the Rfam family accession or ID for which an SVG file the secondary structure should be plotted.</p></list-item>
<list-item><p><italic>filename</italic>: string specifying the path to which the SVG file should be saved.</p></list-item>
<list-item><p><italic>plotType</italic>: string indicating the desired type of secondary structure diagram. Possible values are “norm” (normal), “cons” (sequence conservation), “fcbp” (basepair conservation), “cov” (covariation), “ent” (relative entropy), “maxcm” (maximum covariance model parse), “rscape” (R-scape analysis of the seed alignment) and “rscape-cyk” (secondary structure predicted by R-scape).</p></list-item>
</list>
<p><italic>Example of usage</italic></p>
<p specific-use="line"><italic>## Save an SVG file with a diagram of the secondary structure</italic></p>
<p specific-use="line"><italic>## of the Rfam family with accession RF00005 (tRNA)</italic>, <italic>colored</italic></p>
<p specific-use="line"><italic>## by sequence conservation</italic></p>
<p specific-use="line"><bold>rfamSecondaryStructureXMLSVG</bold>(rfamFamily = "RF00005",</p>
<p specific-use="line">filename = "test.svg",</p>
<p specific-use="line">plotType = "cons")</p>
</sec>
<sec id="sec014">
<title>rfamSeedAlignment</title>
<p><italic>Purpose</italic>. Retrieves the seed multiple alignment of the specified Rfam family. The seed alignment is used to determine the covariance model defining each Rfam family, and comprises only a subset of all the members of each family.</p>
<p><italic>Arguments</italic></p>
<list list-type="bullet">
<list-item><p><italic>rfamFamily</italic>: string with the Rfam family accession or ID whose seed alignment should be retrieved.</p></list-item>
<list-item><p><italic>filename</italic>: optional string specifying a file to which the seed alignment will be saved if provided.</p></list-item>
<list-item><p><italic>format</italic>: string indicating the desired format for the seed alignment. Possible values are “stockholm” (standard Stockholm format), “pfam” (Stockholm format with alternative secondary structure notation), “fasta” (gapped FASTA format) and “fastau” (ungapped FASTA format).</p></list-item>
</list>
<p><italic>Example of usage</italic></p>
<p specific-use="line"><italic>## Obtain the seed alignment of the Rfam family with</italic></p>
<p specific-use="line"><italic>## accession RF00005 (tRNA) in the Stockholm format and</italic></p>
<p specific-use="line"><italic>## save it to a file</italic></p>
<p specific-use="line"><bold>rfamSeedAlignment</bold>(rfamFamily = "RF00005", filename = "test.stk", format = "stockholm")</p>
</sec>
<sec id="sec015">
<title>rfamSeedTree</title>
<p><italic>Purpose</italic>. Retrieves the phylogenetic tree of the seed multiple alignment associated to the specified Rfam family. The tree is retrieved in the NHX format (New Hampshire extended) and saved to a file.</p>
<p><italic>Arguments</italic></p>
<list list-type="bullet">
<list-item><p><italic>rfamFamily</italic>: string with the Rfam family accession or ID for which the phylogenetic tree of the seed alignment should be retrieved.</p></list-item>
<list-item><p><italic>filename</italic>: string specifying a file to which the phylogenetic tree will be saved.</p></list-item>
</list>
<p><italic>Example of usage</italic></p>
<p specific-use="line"><italic>## Obtain the phylogenetic tree of seed alignment of the</italic></p>
<p specific-use="line"><italic>## Rfam family with accession RF00005 (tRNA) and save it</italic></p>
<p specific-use="line"><italic>## to a file</italic></p>
<p specific-use="line"><bold>rfamSeedTree</bold>(rfamFamily = "RF00005", filename = "test.nhx")</p>
</sec>
<sec id="sec016">
<title>rfamSeedTreeImage</title>
<p><italic>Purpose</italic>. Plots the phylogenetic tree of the seed multiple alignment associated to the specified Rfam family.</p>
<p><italic>Arguments</italic></p>
<list list-type="bullet">
<list-item><p><italic>rfamFamily</italic>: string with the Rfam family accession or ID for which the phylogenetic tree of the seed alignment should be plotted.</p></list-item>
<list-item><p><italic>filename</italic>: optional string specifying a file to which the plot of the phylogenetic tree will be saved if provided.</p></list-item>
<list-item><p><italic>label</italic>: string indicating the type of labels that should be added to the plot of the phylogenetic tree. Can be either “species” (for labeling with species names) or “acc” (for labeling with sequence accessions).</p></list-item>
</list>
<p><italic>Example of usage</italic></p>
<p specific-use="line"><italic>## Plot the phylogenetic tree of seed alignment of the</italic></p>
<p specific-use="line"><italic>## Rfam family with accession RF00005 (tRNA) labelled with</italic></p>
<p specific-use="line"><italic>## species names</italic></p>
<p specific-use="line"><bold>rfamSeedTreeImage</bold>(rfamFamily = "RF00005", label = "species")</p>
</sec>
<sec id="sec017">
<title>rfamCovarianceModel</title>
<p><italic>Purpose</italic>. Retrieves the covariance model of the specified Rfam family (generated with the Infernal software).</p>
<p><italic>Arguments</italic></p>
<list list-type="bullet">
<list-item><p><italic>rfamFamily</italic>: string with the Rfam family accession or ID for which the covariance model should be retrieved.</p></list-item>
<list-item><p><italic>filename</italic>: string specifying a file to which the covariance model will be saved.</p></list-item>
</list>
<p><italic>Example of usage</italic></p>
<p specific-use="line"><italic>## Retrieve the covariance model of the Rfam family with</italic></p>
<p specific-use="line"><italic>## accession RF00005 (tRNA) and save it to a file</italic></p>
<p specific-use="line"><bold>rfamCovarianceModel</bold>(rfamFamily = "RF00005", filename = "test.cm")</p>
</sec>
<sec id="sec018">
<title>rfamSequenceRegions</title>
<p><italic>Purpose</italic>. Retrieves all sequence regions encoding an RNA assigned to be a member of the specified Rfam family.</p>
<p><italic>Arguments</italic></p>
<list list-type="bullet">
<list-item><p><italic>rfamFamily</italic>: string with the Rfam family accession or ID for which the member sequence regions should be retrieved.</p></list-item>
<list-item><p><italic>filename</italic>: optional string specifying the name of a file. If provided, the sequence regions will be saved to the specified file in tab-delimited format.</p></list-item>
</list>
<p><italic>Example of usage</italic></p>
<p specific-use="line"><italic>## Retrieve the sequence regions belonging to the Rfam</italic></p>
<p specific-use="line"><italic>## family with accession RF00177 (small subunit rRNA)</italic></p>
<p specific-use="line"><bold>rfamSequenceRegions</bold>(rfamFamily = "RF00177")</p>
</sec>
<sec id="sec019">
<title>rfamPDBMapping</title>
<p><italic>Purpose</italic>. Retrieves entries of the PDB database with the experimentally solved 3D structure of members of the specified Rfam family, with correspondences between residues of the PDB structure and positions in the covariance model of the Rfam family.</p>
<p><italic>Arguments</italic></p>
<list list-type="bullet">
<list-item><p><italic>rfamFamily</italic>: string with the Rfam family accession or ID for which the matching PDB entries should be retrieved.</p></list-item>
<list-item><p><italic>filename</italic>: optional string specifying the name of a file. If provided, the matching PDB entries will be saved to the specified file in tab-delimited format.</p></list-item>
</list>
<p><italic>Example of usage</italic></p>
<p specific-use="line"><italic>## Retrieve the PDB entries with structures of members</italic></p>
<p specific-use="line"><italic>## of the Rfam family with accession RF00005 (tRNA)</italic></p>
<p specific-use="line"><bold>rfamPDBMapping</bold>(rfamFamily = "RF00005")</p>
</sec>
</sec>
</sec>
<sec id="sec020">
<title>Case study: Analysis of the SARS-CoV-2 genome</title>
<p>In order to demonstrate the functionalities of our package, we used rfaRm to analyze the reference genome of SARS-CoV-2 (RefSeq accession number NC_045512.2). For this, we first identified the non-coding RNA elements present in the SARS-CoV-2 genome. We then extracted and plotted information concerning the RNA families found to be present in the genome and showed how such information can be further processed with other Bioconductor packages.</p>
<p>Even though the genome is 29,903 bases long, such a sequence can be directly processed by rfaRm thanks to the internal splitting into fragments of 10,000 bases. We chose an overlap between consecutive fragments of 3,000 nucleotides to minimize the risk of missing hits present at the boundaries between fragments. We performed the search with and without clan competition to compare the results. An illustration of these queries implemented using R is provided hereafter:</p>
<p specific-use="line"><bold>library</bold>(rfaRm)</p>
<p specific-use="line"><italic>## Read genome from FASTA file</italic></p>
<p specific-use="line"><bold>library</bold>(seqinr)</p>
<p specific-use="line">sars_cov_2_genome &lt;- <bold>unlist</bold>(<bold>read.fasta</bold>("sars_cov_2_genoma.fasta", seqtype = "DNA",</p>
<p specific-use="line">as.string = TRUE))</p>
<p specific-use="line"><italic>## Convert DNA string to RNA string</italic></p>
<p specific-use="line">sars_cov_2_RNA_genome &lt;- <bold>gsub</bold>("t", "u", sars_cov_2_genome, ignore.case = TRUE)</p>
<p specific-use="line"><italic>## Search for Rfam families hits in the whole genome without clan competition</italic></p>
<p specific-use="line">sars_cov_2_Rfam_hits &lt;- <bold>rfamSequenceSearch</bold>(sars_cov_2_RNA_genome, fragmentsOverlap = 3000,</p>
<p specific-use="line">clanCompetitionFilter = FALSE)</p>
<p specific-use="line"><bold>length</bold>(sars_cov_2_Rfam_hits)</p>
<p specific-use="line"><italic>## Search for Rfam families hits in the whole genome with clan competition</italic></p>
<p specific-use="line">sars_cov_2_Rfam_hits_2 &lt;- <bold>rfamSequenceSearch</bold>(sars_cov_2_RNA_genome, fragmentsOverlap = 3000, clanCompetitionFilter = TRUE)</p>
<p specific-use="line"><bold>length</bold>(sars_cov_2_Rfam_hits_2)</p>
<p specific-use="line"><italic>## Search for Rfam families hits in the whole genome without clan competition</italic></p>
<p specific-use="line">sars_cov_2_Rfam_hits_2 &lt;- <bold>rfamSequenceSearch</bold>(sars_cov_2_RNA_genome, fragmentsOverlap = 3000, clanCompetitionFilter = FALSE)</p>
<p specific-use="line"><bold>length</bold>(sars_cov_2_Rfam_hits_2)</p>
<p>The search without clan competition returned a total of 7 RNA families in the SARS-CoV-2 genome (<xref ref-type="table" rid="pone.0245280.t001">Table 1</xref>).</p>
<table-wrap id="pone.0245280.t001" position="float">
<object-id pub-id-type="doi">10.1371/journal.pone.0245280.t001</object-id>
<label>Table 1</label> <caption><title>Non-coding RNA elements present in the SARS-CoV-2 genome.</title></caption>
<alternatives>
<graphic id="pone.0245280.t001g" mimetype="image" position="float" xlink:href="info:doi/10.1371/journal.pone.0245280.t001" xlink:type="simple"/>
<table>
<colgroup>
<col align="left" valign="middle"/>
<col align="left" valign="middle"/>
<col align="left" valign="middle"/>
</colgroup>
<thead>
<tr>
<th align="justify">RNA family</th>
<th align="justify">Start position</th>
<th align="justify">End Position</th>
</tr>
</thead>
<tbody>
<tr>
<td align="justify" style="background-color:#F2F2F2">bCoV-5UTR</td>
<td align="justify" style="background-color:#F2F2F2">2</td>
<td align="justify" style="background-color:#F2F2F2">300</td>
</tr>
<tr>
<td align="justify">Sarbecovirus-5UTR</td>
<td align="justify">2</td>
<td align="justify">300</td>
</tr>
<tr>
<td align="justify" style="background-color:#F2F2F2">Corona_FSE</td>
<td align="justify" style="background-color:#F2F2F2">13470</td>
<td align="justify" style="background-color:#F2F2F2">13551</td>
</tr>
<tr>
<td align="justify">bCoV-3UTR</td>
<td align="justify">29519</td>
<td align="justify">29871</td>
</tr>
<tr>
<td align="justify" style="background-color:#F2F2F2">Sarbecovirus-3UTR</td>
<td align="justify" style="background-color:#F2F2F2">29537</td>
<td align="justify" style="background-color:#F2F2F2">29871</td>
</tr>
<tr>
<td align="justify">Corona_pk3</td>
<td align="justify">29604</td>
<td align="justify">29663</td>
</tr>
<tr>
<td align="justify" style="background-color:#F2F2F2">s2m</td>
<td align="justify" style="background-color:#F2F2F2">29728</td>
<td align="justify" style="background-color:#F2F2F2">29770</td>
</tr>
</tbody>
</table>
</alternatives>
<table-wrap-foot>
<fn id="t001fn001"><p>For each RNA element, the Rfam family ID and start and end positions in the SARS-CoV-2 genome are indicated.</p></fn>
</table-wrap-foot>
</table-wrap>
<p>After extracting the IDs of all families, we performed queries for all of them to obtain a brief description with relevant information about the type and role of each RNA family:</p>
<p specific-use="line"><italic>## Extract Rfam IDs</italic></p>
<p specific-use="line">rfamIDs_noClanCompetition &lt;- <bold>as.character</bold>(<bold>lapply</bold>(sars_cov_2_Rfam_hits, "[[", 2))</p>
<p specific-use="line">rfamIDs_ClanCompetition &lt;- <bold>as.character</bold>(<bold>lapply</bold>(sars_cov_2_Rfam_hits_2, "[[", 2))</p>
<p specific-use="line"><italic>## Iterate over set of Rfam IDs and retrieve a summary for each one</italic></p>
<p specific-use="line">summary_list &lt;- <bold>list</bold>()</p>
<p specific-use="line"><bold>for</bold> (id <bold>in</bold> rfamIDs_noClanCompetition) {</p>
<p specific-use="line">summary &lt;- <bold>list</bold>(<bold>rfamFamilySummary</bold>(id))</p>
<p specific-use="line"><bold>names</bold>(summary) &lt;- id</p>
<p specific-use="line">summary_list &lt;- <bold>c</bold>(summary_list, summary)</p>
<p specific-use="line">}</p>
<p>All identified families were non-coding RNA elements typically found in the genome of beta-coronaviruses:</p>
<list list-type="order">
<list-item><p>bCoV-5UTR: 5’ untranslated region comprising 150–200 nucleotides found in beta-coronaviruses.</p></list-item>
<list-item><p>Sarbecovirus-5UTR: 5’ untranslated region specific of SARS beta-coronaviruses.</p></list-item>
<list-item><p>Corona_FSE: stem loop conserved amongst coronaviruses that can promote ribosomal frameshifting.</p></list-item>
<list-item><p>bCoV-3UTR: 3’ untranslated region comprising 300–500 nucleotides found in beta-coronaviruses.</p></list-item>
<list-item><p>Sarbecovirus-3UTR: 3’ untranslated region specific of SARS beta-coronaviruses.</p></list-item>
<list-item><p>Corona_pk3: conserved pseudoknot of approximately 55 nucleotides found in the 3’ untranslated region of coronaviruses.</p></list-item>
<list-item><p>s2m: motif of unknown function found in the 3’ untranslated region of astroviruses, coronaviruses and equine rhinoviruses.</p></list-item>
</list>
<p>On the other hand, the search with clan competition enabled only returned 3 hits, corresponding to Sarbecovirus-5UTR, Corona_FSE and Sarbecovirus-3UTR. bCoV-5UTR and bCoV-3UTR are discarded because they are essentially the same hit as the Sarbecovirus-5UTR and Sarbecovirus-3UTR respectively, with the only difference that the latter are versions found specifically in SARS beta-coronaviruses. The Corona_pk3 and s2m motifs were also omitted, since they are comprised within the larger Sarbecovirus-3UTR.</p>
<p>Knowing the IDs of the RNA families of interest, more detailed information can be easily retrieved through a set of query functions. As an example, we acquired detailed information about the Sarbecovirus-5UTR (with Rfam accession number RF03120).</p>
<p>First, we extracted the consensus sequence and secondary structure for the family:</p>
<p specific-use="line"><italic>## Retrieve consensus sequence and secondary structure and save them to a file in the</italic></p>
<p specific-use="line"><italic>## extended dot-bracket format</italic></p>
<p specific-use="line"><bold>rfamConsensusSecondaryStructure</bold>("RF03120", filename = "RF03120_cons.txt", format = "DB")</p>
<p specific-use="line">## [1] "AuauuAgGcuuuuACCuaccCaGGaa..aagCcAAccAA.uuUcGauCuCUUGUaGauCUGuuCUcUAAAcGa.aCUUUAAAA……UCuGcGuggCuGUCgCucgGCUGcAUGCcuaGcGCacccaCgCaGUAUAAauAaUAAuaAAuUUUAcUGuCGuuGaCagGgaaCgaGUAACuCGuCcauCuuCuGCAGgCuGCUcaCGGUUUCGUCCGugUUGCaGcCGAUCAUCaGCacacCcAGGUUUcGUCCgGguguGaCCGAAAGGuaaGaUgGaGaGCCucGucCcuGGuuuCaaCGaGAAAA"</p>
<p specific-use="line">## [2] "……&lt;&lt;&lt;&lt;&lt;&lt;&lt;.&lt;&lt;&lt;. . . .&gt;&gt;&gt;&gt;&gt;..&gt;&gt;&gt;&gt;&gt;. . . .. . .. . ..&lt;&lt;&lt;&lt;&lt;. . . ..&gt;&gt;&gt;&gt;&gt;.&lt;&lt;&lt;&lt;. . .. . ..&gt;&gt;.&gt;&gt;. . . .. . . .. . .. . .&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;.&lt;&lt;.&lt;&lt;&lt;&lt;.&lt;&lt;&lt;. . . ..&gt;&gt;&gt;.&gt;&gt;&gt;&gt;&gt;&gt;.&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;. . . .. . . .. . . .. . . .. . . .. . . .((((((((((((.(((((. . .(((.(((.((((&lt;&lt;&lt;..&lt;&lt;&lt;&lt;&lt;&lt;.&lt;&lt;&lt;&lt;&lt;. . .. . .&gt;&gt;&gt;&gt;&gt;..&gt;&gt;&gt;&gt;&gt;&gt;. . .. . .&gt;&gt;&gt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;.&lt;&lt;. . .. . .&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&lt;&lt;&lt;. . . .&gt;&gt;&gt;)))).)))))).))))))))))…)))))))… .."</p>
<p>Next, we extracted the seed multiple sequence alignment of the family:</p>
<p specific-use="line"><italic>## Retrieve seed multiple sequence alignment and save it to a FASTA file</italic></p>
<p specific-use="line"><bold>rfamSeedAlignment</bold>("RF03120", filename = "RF03120_seedAlgn.fasta", format = "fasta")</p>
<p>The information from the consensus secondary structure and the multiple seed alignment can be combined and visualized with the R4RNA package (<xref ref-type="fig" rid="pone.0245280.g002">Fig 2</xref>):</p>
<p specific-use="line"><italic>## Read consensus secondary structure and multiple alignment</italic></p>
<p specific-use="line"><bold>library</bold>(R4RNA)</p>
<p specific-use="line"><bold>library</bold>(Biostrings)</p>
<p specific-use="line">secondaryStructureTable &lt;- <bold>readVienna</bold>("RF03120_cons.txt")</p>
<p specific-use="line">seedAlignment &lt;- <bold>readBStringSet</bold>("RF03120_seedAlgn.fasta")</p>
<p specific-use="line"><italic>## Make a helix plot of the consensus secondary structure and annotate it with information</italic></p>
<p specific-use="line"><italic>## from the seed alignment</italic></p>
<p specific-use="line"><bold>plotCovariance</bold>(seedAlignment, secondaryStructureTable, grid = TRUE, line = TRUE, arrow = TRUE,</p>
<p specific-use="line">legend = FALSE, cex = 3)</p>
<p>It is also possible to generate plots of the secondary structure annotated with different types of information by specifying the “format” argument. Possible values are:</p>
<list list-type="bullet">
<list-item><p>norm: default type with no annotation</p></list-item>
<list-item><p>cons: sequence conservation</p></list-item>
<list-item><p>fcbp: basepair conservation</p></list-item>
<list-item><p>cov: covariation</p></list-item>
<list-item><p>ent: relative entropy</p></list-item>
<list-item><p>maxcm: maximum covariance model parse</p></list-item>
<list-item><p>rscape: R-scape analysis of the seed alignment of the family</p></list-item>
<list-item><p>rscape-cyk: secondary structure predicted by R-scape from the seed alignment of the family</p></list-item>
</list>
<p>For example, in order to generate a plot of the secondary structure of the Sarbecovirus-5UTR annotated with sequence conservation (<xref ref-type="fig" rid="pone.0245280.g001">Fig 1B</xref>), the following example code can be used:</p>
<p specific-use="line"><italic>## Generate a plot of the secondary structure of Rfam family RF03120 annotated with</italic></p>
<p specific-use="line"><italic>## sequence conservation and save it to a PNG file</italic></p>
<p specific-use="line"><bold>rfamSecondaryStructurePlot</bold>("RF03120", filename = "RF03120_cons.png", plotType = "cons")</p>
<p specific-use="line"><italic>## The plot can also be saved to an SVG file</italic>, <italic>which is useful to save images into an</italic></p>
<p specific-use="line"><italic>## editable vector-based format</italic></p>
<p specific-use="line"><bold>rfamSecondaryStructureXMLSVG</bold>("RF03120", filename = "RF03120_cons.svg", plotType = "cons")</p>
<p>A plot of the phylogenetic tree of the seed alignment can be easily generated and labeled with species names or sequence accession numbers (<xref ref-type="fig" rid="pone.0245280.g001">Fig 1C</xref>):</p>
<p specific-use="line"><italic>## Generate a plot of the phylogenetic tree of Rfam family RF03120 labeled with species</italic></p>
<p specific-use="line"><italic>## names and save it to a GIF file</italic></p>
<p specific-use="line"><bold>rfamSeedTreeImage</bold>("RF03120", filename = "RF03120_tree.gif", label = "species")</p>
<p>Additionally, the phylogenetic tree can be retrieved in the New Hampshire Extended (NHX) format. The tree can then be read and processed with other software, such as the treeio R package:</p>
<p specific-use="line"><italic>## Save the phylogenetic tree of Rfam family RF03120 to a file in the NHX format</italic></p>
<p specific-use="line"><bold>rfamSeedTree</bold>("RF03120", filename = "RF03120_treeNHX.nhx")</p>
<p specific-use="line"><italic>## Read the tree as a treedata object</italic></p>
<p specific-use="line"><bold>library</bold>(treeio)</p>
<p specific-use="line">treeioTree &lt;- <bold>read.nhx</bold>("RF03120_treeNHX.nhx")</p>
<p specific-use="line"><italic>## Print a summary of the tree</italic></p>
<p specific-use="line"><bold>as.phylo</bold>(treeioTree)</p>
<p specific-use="line">##</p>
<p specific-use="line">## Phylogenetic tree with 19 tips and 17 internal nodes.</p>
<p specific-use="line">##</p>
<p specific-use="line">## Tip labels:</p>
<p specific-use="line">## _DQ022305.2/1-295_Bat_SARS_coronavirus_HK…1, _DQ648857.1/1-297_Bat_CoV_279/2005.1, _MG772934.1/1-298_Bat_SARS-like_coronavirus_{}.1, _MT345841.1/1-293_Severe_acute_respiratory_syndrome_coronavirus_2.6, _MT344963.1/1-299_Severe_acute_respiratory_syndrome_coronavirus_2.2, _MT345869.1/1-293_Severe_acute_respiratory_syndrome_coronavirus_2.5,…</p>
<p specific-use="line">## Node labels:</p>
<p specific-use="line">##, 0.780, 0.940, 0.800, 0.890, 1.000,…</p>
<p specific-use="line">##</p>
<p specific-use="line">## Unrooted; includes branch lengths.</p>
</sec>
<sec id="sec021" sec-type="conclusions">
<title>Conclusion</title>
<p>The rfaRm R package provides an easy-to-use client-side interface to the Rfam database, enabling users to access it programmatically and therefore bypassing the limitations of interactive access through the web interface or the requirement to install and search the database locally. Programmatic access allows the identification of non-coding RNA across entire genomes. The package is designed to interoperate with existing software by returning data into formats directly readable by other tools and R packages and is available as part of the Bioconductor project, which facilitates its integration within workflows and pipelines for the analysis of genomic data. We believe the package will provide a useful resource for the community of RNA Bioinformatics, whose interest in the tool has been demonstrated by the considerable number of downloads of the package in spite of its still short lifetime.</p>
</sec>
</body>
<back>
<ref-list>
<title>References</title>
<ref id="pone.0245280.ref001"><label>1</label><mixed-citation publication-type="journal" xlink:type="simple"><name name-style="western"><surname>Kalvari</surname> <given-names>I</given-names></name>, <name name-style="western"><surname>Argasinska</surname> <given-names>J</given-names></name>, <name name-style="western"><surname>Quinones-Olvera</surname> <given-names>N</given-names></name>, <name name-style="western"><surname>Nawrocki</surname> <given-names>EP</given-names></name>, <name name-style="western"><surname>Rivas</surname> <given-names>E</given-names></name>, <name name-style="western"><surname>Eddy</surname> <given-names>SR</given-names></name>, <etal>et al</etal>. <article-title>Rfam 13.0: shifting to a genome-centric resource for non-coding RNA families</article-title>. <source>Nucleic Acids Res</source>. <year>2018</year>;<volume>46</volume>: <fpage>D335</fpage>–<lpage>D342</lpage>. <comment>doi: <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1093/nar/gkx1038" xlink:type="simple">10.1093/nar/gkx1038</ext-link></comment> <object-id pub-id-type="pmid">29112718</object-id></mixed-citation></ref>
<ref id="pone.0245280.ref002"><label>2</label><mixed-citation publication-type="journal" xlink:type="simple"><name name-style="western"><surname>Eddy</surname> <given-names>SR</given-names></name>, <name name-style="western"><surname>Durbin</surname> <given-names>R</given-names></name>. <article-title>RNA sequence analysis using covariance models</article-title>. <source>Nucleic Acids Res</source>. <year>1994</year>;<volume>22</volume>: <fpage>2079</fpage>–<lpage>2088</lpage>. <comment>doi: <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1093/nar/22.11.2079" xlink:type="simple">10.1093/nar/22.11.2079</ext-link></comment> <object-id pub-id-type="pmid">8029015</object-id></mixed-citation></ref>
<ref id="pone.0245280.ref003"><label>3</label><mixed-citation publication-type="journal" xlink:type="simple"><name name-style="western"><surname>El-Gebali</surname> <given-names>S</given-names></name>, <name name-style="western"><surname>Mistry</surname> <given-names>J</given-names></name>, <name name-style="western"><surname>Bateman</surname> <given-names>A</given-names></name>, <name name-style="western"><surname>Eddy</surname> <given-names>SR</given-names></name>, <name name-style="western"><surname>Luciani</surname> <given-names>A</given-names></name>, <name name-style="western"><surname>Potter</surname> <given-names>SC</given-names></name>, <etal>et al</etal>. <article-title>The Pfam protein families database in 2019</article-title>. <source>Nucleic Acids Res</source>. <year>2019</year>;<volume>47</volume>: <fpage>D427</fpage>–<lpage>D432</lpage>. <comment>doi: <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1093/nar/gky995" xlink:type="simple">10.1093/nar/gky995</ext-link></comment> <object-id pub-id-type="pmid">30357350</object-id></mixed-citation></ref>
<ref id="pone.0245280.ref004"><label>4</label><mixed-citation publication-type="journal" xlink:type="simple"><name name-style="western"><surname>Nawrocki</surname> <given-names>EP</given-names></name>, <name name-style="western"><surname>Eddy</surname> <given-names>SR</given-names></name>. <article-title>Infernal 1.1: 100-fold faster RNA homology searches</article-title>. <source>Bioinformatics</source>. <year>2013</year>;<volume>29</volume>: <fpage>2933</fpage>–<lpage>2935</lpage>. <comment>doi: <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1093/bioinformatics/btt509" xlink:type="simple">10.1093/bioinformatics/btt509</ext-link></comment> <object-id pub-id-type="pmid">24008419</object-id></mixed-citation></ref>
<ref id="pone.0245280.ref005"><label>5</label><mixed-citation publication-type="journal" xlink:type="simple"><name name-style="western"><surname>Huber</surname> <given-names>W</given-names></name>, <name name-style="western"><surname>Carey</surname> <given-names>VJ</given-names></name>, <name name-style="western"><surname>Gentleman</surname> <given-names>R</given-names></name>, <name name-style="western"><surname>Anders</surname> <given-names>S</given-names></name>, <name name-style="western"><surname>Carlson</surname> <given-names>M</given-names></name>, <name name-style="western"><surname>Carvalho</surname> <given-names>BS</given-names></name>, <etal>et al</etal>. <article-title>Orchestrating high-throughput genomic analysis with Bioconductor.</article-title> <source>Nat Methods.</source> <year>2015</year>;<volume>12</volume>: <fpage>115</fpage>–<lpage>121</lpage>. <comment>doi: <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1038/nmeth.3252" xlink:type="simple">10.1038/nmeth.3252</ext-link></comment> <object-id pub-id-type="pmid">25633503</object-id></mixed-citation></ref>
<ref id="pone.0245280.ref006"><label>6</label><mixed-citation publication-type="other" xlink:type="simple">Ooms J. rsvg: Render SVG Images into PDF, PNG, PostScript, or Bitmap Arrays. R package version 1.3. <ext-link ext-link-type="uri" xlink:href="https://CRAN.R-project.org/package=rsvg" xlink:type="simple">https://CRAN.R-project.org/package=rsvg</ext-link>. 2018.</mixed-citation></ref>
<ref id="pone.0245280.ref007"><label>7</label><mixed-citation publication-type="other" xlink:type="simple">Ooms J. magick: Advanced Graphics and Image-Processing in R. R package version 2.3. <ext-link ext-link-type="uri" xlink:href="https://CRAN.R-project.org/package=magick" xlink:type="simple">https://CRAN.R-project.org/package=magick</ext-link>. 2020.</mixed-citation></ref>
<ref id="pone.0245280.ref008"><label>8</label><mixed-citation publication-type="journal" xlink:type="simple"><name name-style="western"><surname>Lai</surname> <given-names>D</given-names></name>, <name name-style="western"><surname>Proctor</surname> <given-names>JR</given-names></name>, <name name-style="western"><surname>Zhu</surname> <given-names>JYA</given-names></name>, <name name-style="western"><surname>Meyer</surname> <given-names>IM</given-names></name>. <article-title>R-CHIE: a web server and R package for visualizing RNA secondary structures</article-title>. <source>Nucleic Acids Res</source>. <year>2012</year>;<volume>40</volume>: <fpage>e95</fpage>. <comment>doi: <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1093/nar/gks241" xlink:type="simple">10.1093/nar/gks241</ext-link></comment> <object-id pub-id-type="pmid">22434875</object-id></mixed-citation></ref>
<ref id="pone.0245280.ref009"><label>9</label><mixed-citation publication-type="other" xlink:type="simple">Pagès H, Aboyoun P, Gentleman R, DebRoy S. Biostrings: Efficient manipulation of biological strings. R package version 2.55.7. <ext-link ext-link-type="uri" xlink:href="https://bioconductor.org/packages/Biostrings" xlink:type="simple">https://bioconductor.org/packages/Biostrings</ext-link>. 2019.</mixed-citation></ref>
<ref id="pone.0245280.ref010"><label>10</label><mixed-citation publication-type="journal" xlink:type="simple"><name name-style="western"><surname>Wang</surname> <given-names>L-G</given-names></name>, <name name-style="western"><surname>Lam</surname> <given-names>TT-Y</given-names></name>, <name name-style="western"><surname>Xu</surname> <given-names>S</given-names></name>, <name name-style="western"><surname>Dai</surname> <given-names>Z</given-names></name>, <name name-style="western"><surname>Zhou</surname> <given-names>L</given-names></name>, <name name-style="western"><surname>Feng</surname> <given-names>T</given-names></name>, <etal>et al</etal>. <article-title>Treeio: An R Package for Phylogenetic Tree Input and Output with Richly Annotated and Associated Data</article-title>. <source>Mol Biol Evol</source>. <year>2020</year>;<volume>37</volume>: <fpage>599</fpage>–<lpage>603</lpage>. <comment>doi: <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1093/molbev/msz240" xlink:type="simple">10.1093/molbev/msz240</ext-link></comment> <object-id pub-id-type="pmid">31633786</object-id></mixed-citation></ref>
</ref-list>
</back>
<sub-article article-type="aggregated-review-documents" id="pone.0245280.r001" specific-use="decision-letter">
<front-stub>
<article-id pub-id-type="doi">10.1371/journal.pone.0245280.r001</article-id>
<title-group>
<article-title>Decision Letter 0</article-title>
</title-group>
<contrib-group>
<contrib contrib-type="author">
<name name-style="western">
<surname>Chen</surname>
<given-names>Zhong-Hua</given-names>
</name>
<role>Academic Editor</role>
</contrib>
</contrib-group>
<permissions>
<copyright-year>2021</copyright-year>
<copyright-holder>Zhong-Hua Chen</copyright-holder>
<license xlink:href="http://creativecommons.org/licenses/by/4.0/">
<license-p>This is an open access article distributed under the terms of the <ext-link ext-link-type="uri" xlink:href="http://creativecommons.org/licenses/by/4.0/" xlink:type="simple">Creative Commons Attribution License</ext-link>, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.</license-p>
</license>
</permissions>
<related-object document-id="10.1371/journal.pone.0245280" document-id-type="doi" document-type="article" id="rel-obj001" link-type="peer-reviewed-article"/>
<custom-meta-group>
<custom-meta>
<meta-name>Submission Version</meta-name>
<meta-value>0</meta-value>
</custom-meta>
</custom-meta-group>
</front-stub>
<body>
<p>
<named-content content-type="letter-date">21 Dec 2020</named-content>
</p>
<p>PONE-D-20-33168</p>
<p>rfaRm: an R client-side interface to facilitate the analysis of the Rfam database of RNA families</p>
<p>PLOS ONE</p>
<p>Dear Dr. Selles Vidal,</p>
<p>Thank you for submitting your manuscript to PLOS ONE. After careful consideration, we feel that it has merit but does not fully meet PLOS ONE’s publication criteria as it currently stands. Therefore, we invite you to submit a revised version of the manuscript that addresses the points raised during the review process.</p>
<p>The paper is quite interesting. Please revise it as much as possible following the suggestion of the Reviewer. A couple of examples should be presented by using new data or publicly available dataset to demonstrate the power of the software/database.</p>
<p>Please submit your revised manuscript by Feb 04 2021 11:59PM. If you will need more time than this to complete your revisions, please reply to this message or contact the journal office at <email xlink:type="simple">plosone@plos.org</email>. When you're ready to submit your revision, log on to <ext-link ext-link-type="uri" xlink:href="https://www.editorialmanager.com/pone/" xlink:type="simple">https://www.editorialmanager.com/pone/</ext-link> and select the 'Submissions Needing Revision' folder to locate your manuscript file.</p>
<p>Please include the following items when submitting your revised manuscript:</p>
<p><list list-type="bullet"><list-item><p>A rebuttal letter that responds to each point raised by the academic editor and reviewer(s). You should upload this letter as a separate file labeled 'Response to Reviewers'.</p></list-item><list-item><p>A marked-up copy of your manuscript that highlights changes made to the original version. You should upload this as a separate file labeled 'Revised Manuscript with Track Changes'.</p></list-item><list-item><p>An unmarked version of your revised paper without tracked changes. You should upload this as a separate file labeled 'Manuscript'.</p></list-item></list></p>
<p>If you would like to make changes to your financial disclosure, please include your updated statement in your cover letter. Guidelines for resubmitting your figure files are available below the reviewer comments at the end of this letter.</p>
<p>If applicable, we recommend that you deposit your laboratory protocols in protocols.io to enhance the reproducibility of your results. Protocols.io assigns your protocol its own identifier (DOI) so that it can be cited independently in the future. For instructions see: <ext-link ext-link-type="uri" xlink:href="http://journals.plos.org/plosone/s/submission-guidelines#loc-laboratory-protocols" xlink:type="simple">http://journals.plos.org/plosone/s/submission-guidelines#loc-laboratory-protocols</ext-link></p>
<p>We look forward to receiving your revised manuscript.</p>
<p>Kind regards,</p>
<p>Zhong-Hua Chen, Ph.D.</p>
<p>Academic Editor</p>
<p>PLOS ONE</p>
<p>Journal Requirements:</p>
<p>When submitting your revision, we need you to address these additional requirements.</p>
<p>1. Please ensure that your manuscript meets PLOS ONE's style requirements, including those for file naming. The PLOS ONE style templates can be found at</p>
<p><ext-link ext-link-type="uri" xlink:href="https://journals.plos.org/plosone/s/file?id=wjVg/PLOSOne_formatting_sample_main_body.pdf" xlink:type="simple">https://journals.plos.org/plosone/s/file?id=wjVg/PLOSOne_formatting_sample_main_body.pdf</ext-link> and</p>
<p><ext-link ext-link-type="uri" xlink:href="https://journals.plos.org/plosone/s/file?id=ba62/PLOSOne_formatting_sample_title_authors_affiliations.pdf" xlink:type="simple">https://journals.plos.org/plosone/s/file?id=ba62/PLOSOne_formatting_sample_title_authors_affiliations.pdf</ext-link></p>
<p>[Note: HTML markup is below. Please do not edit.]</p>
<p>Reviewers' comments:</p>
<p>Reviewer's Responses to Questions</p>
<p><!-- <font color="black"> --><bold>Comments to the Author</bold></p>
<p>1. Is the manuscript technically sound, and do the data support the conclusions?</p>
<p>The manuscript must describe a technically sound piece of scientific research with data that supports the conclusions. Experiments must have been conducted rigorously, with appropriate controls, replication, and sample sizes. The conclusions must be drawn appropriately based on the data presented. <!-- </font> --></p>
<p>Reviewer #1: Partly</p>
<p>**********</p>
<p><!-- <font color="black"> -->2. Has the statistical analysis been performed appropriately and rigorously? <!-- </font> --></p>
<p>Reviewer #1: Yes</p>
<p>**********</p>
<p><!-- <font color="black"> -->3. Have the authors made all data underlying the findings in their manuscript fully available?</p>
<p>The <ext-link ext-link-type="uri" xlink:href="http://www.plosone.org/static/policies.action#sharing" xlink:type="simple">PLOS Data policy</ext-link> requires authors to make all data underlying the findings described in their manuscript fully available without restriction, with rare exception (please refer to the Data Availability Statement in the manuscript PDF file). The data should be provided as part of the manuscript or its supporting information, or deposited to a public repository. For example, in addition to summary statistics, the data points behind means, medians and variance measures should be available. If there are restrictions on publicly sharing data—e.g. participant privacy or use of data from a third party—those must be specified.<!-- </font> --></p>
<p>Reviewer #1: Yes</p>
<p>**********</p>
<p><!-- <font color="black"> -->4. Is the manuscript presented in an intelligible fashion and written in standard English?</p>
<p>PLOS ONE does not copyedit accepted manuscripts, so the language in submitted articles must be clear, correct, and unambiguous. Any typographical or grammatical errors should be corrected at revision, so please note any specific errors here.<!-- </font> --></p>
<p>Reviewer #1: Yes</p>
<p>**********</p>
<p><!-- <font color="black"> -->5. Review Comments to the Author</p>
<p>Please use the space provided to explain your answers to the questions above. You may also include additional comments for the author, including concerns about dual publication, research ethics, or publication ethics. (Please upload your review as an attachment if it exceeds 20,000 characters)<!-- </font> --></p>
<p>Reviewer #1: 1. It is necessary to replace high-resolution figures.</p>
<p>2. in addition to the case study, you had better to add descriptions for specific functions of your package, such as usage and arguments of rfamSequenceSearch, rfamFamilySummary, rfamSeedAlignment.</p>
<p>**********</p>
<p><!-- <font color="black"> -->6. PLOS authors have the option to publish the peer review history of their article (<ext-link ext-link-type="uri" xlink:href="https://journals.plos.org/plosone/s/editorial-and-peer-review-process#loc-peer-review-history" xlink:type="simple">what does this mean?</ext-link>). If published, this will include your full peer review and any attached files.</p>
<p>If you choose “no”, your identity will remain anonymous but your review may still be made public.</p>
<p><bold>Do you want your identity to be public for this peer review?</bold> For information about this choice, including consent withdrawal, please see our <ext-link ext-link-type="uri" xlink:href="https://www.plos.org/privacy-policy" xlink:type="simple">Privacy Policy</ext-link>.<!-- </font> --></p>
<p>Reviewer #1: No</p>
<p>[NOTE: If reviewer comments were submitted as an attachment file, they will be attached to this email and accessible via the submission site. Please log into your account, locate the manuscript record, and check for the action link "View Attachments". If this link does not appear, there are no attachment files.]</p>
<p>While revising your submission, please upload your figure files to the Preflight Analysis and Conversion Engine (PACE) digital diagnostic tool, <ext-link ext-link-type="uri" xlink:href="https://pacev2.apexcovantage.com/" xlink:type="simple">https://pacev2.apexcovantage.com/</ext-link>. PACE helps ensure that figures meet PLOS requirements. To use PACE, you must first register as a user. Registration is free. Then, login and navigate to the UPLOAD tab, where you will find detailed instructions on how to use the tool. If you encounter any issues or have any questions when using PACE, please email PLOS at <email xlink:type="simple">figures@plos.org</email>. Please note that Supporting Information files do not need this step.</p>
</body>
</sub-article>
<sub-article article-type="author-comment" id="pone.0245280.r002">
<front-stub>
<article-id pub-id-type="doi">10.1371/journal.pone.0245280.r002</article-id>
<title-group>
<article-title>Author response to Decision Letter 0</article-title>
</title-group>
<related-object document-id="10.1371/journal.pone.0245280" document-id-type="doi" document-type="peer-reviewed-article" id="rel-obj002" link-type="rebutted-decision-letter" object-id="10.1371/journal.pone.0245280.r001" object-id-type="doi" object-type="decision-letter"/>
<custom-meta-group>
<custom-meta>
<meta-name>Submission Version</meta-name>
<meta-value>1</meta-value>
</custom-meta>
</custom-meta-group>
</front-stub>
<body>
<p>
<named-content content-type="author-response-date">22 Dec 2020</named-content>
</p>
<p>The editor requested the addition of some more examples. These have been added as individual examples of usage for each function available in the package. More usage examples with real, publicly available data can be seen at the manual and vignette of the package</p>
<p>The reviewer had two comments:</p>
<p>1) replacing of figures by high resolution tif files. This has been done.</p>
<p>2) addition of descriptions of each function of the package (including arguments and usage). This has been done.</p>
<supplementary-material id="pone.0245280.s001" mimetype="application/vnd.openxmlformats-officedocument.wordprocessingml.document" position="float" xlink:href="info:doi/10.1371/journal.pone.0245280.s001" xlink:type="simple">
<label>Attachment</label>
<caption>
<p>Submitted filename: <named-content content-type="submitted-filename">Response to Reviewers.docx</named-content></p>
</caption>
</supplementary-material>
</body>
</sub-article>
<sub-article article-type="editor-report" id="pone.0245280.r003" specific-use="decision-letter">
<front-stub>
<article-id pub-id-type="doi">10.1371/journal.pone.0245280.r003</article-id>
<title-group>
<article-title>Decision Letter 1</article-title>
</title-group>
<contrib-group>
<contrib contrib-type="author">
<name name-style="western">
<surname>Chen</surname>
<given-names>Zhong-Hua</given-names>
</name>
<role>Academic Editor</role>
</contrib>
</contrib-group>
<permissions>
<copyright-year>2021</copyright-year>
<copyright-holder>Zhong-Hua Chen</copyright-holder>
<license xlink:href="http://creativecommons.org/licenses/by/4.0/">
<license-p>This is an open access article distributed under the terms of the <ext-link ext-link-type="uri" xlink:href="http://creativecommons.org/licenses/by/4.0/" xlink:type="simple">Creative Commons Attribution License</ext-link>, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.</license-p>
</license>
</permissions>
<related-object document-id="10.1371/journal.pone.0245280" document-id-type="doi" document-type="article" id="rel-obj003" link-type="peer-reviewed-article"/>
<custom-meta-group>
<custom-meta>
<meta-name>Submission Version</meta-name>
<meta-value>1</meta-value>
</custom-meta>
</custom-meta-group>
</front-stub>
<body>
<p>
<named-content content-type="letter-date">28 Dec 2020</named-content>
</p>
<p>rfaRm: an R client-side interface to facilitate the analysis of the Rfam database of RNA families</p>
<p>PONE-D-20-33168R1</p>
<p>Dear Dr. Selles Vidal,</p>
<p>We’re pleased to inform you that your manuscript has been judged scientifically suitable for publication and will be formally accepted for publication once it meets all outstanding technical requirements.</p>
<p>Within one week, you’ll receive an e-mail detailing the required amendments. When these have been addressed, you’ll receive a formal acceptance letter and your manuscript will be scheduled for publication.</p>
<p>An invoice for payment will follow shortly after the formal acceptance. To ensure an efficient process, please log into Editorial Manager at <ext-link ext-link-type="uri" xlink:href="http://www.editorialmanager.com/pone/" xlink:type="simple">http://www.editorialmanager.com/pone/</ext-link>, click the 'Update My Information' link at the top of the page, and double check that your user information is up-to-date. If you have any billing related questions, please contact our Author Billing department directly at <email xlink:type="simple">authorbilling@plos.org</email>.</p>
<p>If your institution or institutions have a press office, please notify them about your upcoming paper to help maximize its impact. If they’ll be preparing press materials, please inform our press team as soon as possible -- no later than 48 hours after receiving the formal acceptance. Your manuscript will remain under strict press embargo until 2 pm Eastern Time on the date of publication. For more information, please contact <email xlink:type="simple">onepress@plos.org</email>.</p>
<p>Kind regards,</p>
<p>Zhong-Hua Chen, Ph.D.</p>
<p>Academic Editor</p>
<p>PLOS ONE</p>
<p>Additional Editor Comments (optional):</p>
<p>Reviewers' comments:</p>
</body>
</sub-article>
<sub-article article-type="editor-report" id="pone.0245280.r004" specific-use="acceptance-letter">
<front-stub>
<article-id pub-id-type="doi">10.1371/journal.pone.0245280.r004</article-id>
<title-group>
<article-title>Acceptance letter</article-title>
</title-group>
<contrib-group>
<contrib contrib-type="author">
<name name-style="western">
<surname>Chen</surname>
<given-names>Zhong-Hua</given-names>
</name>
<role>Academic Editor</role>
</contrib>
</contrib-group>
<permissions>
<copyright-year>2021</copyright-year>
<copyright-holder>Zhong-Hua Chen</copyright-holder>
<license xlink:href="http://creativecommons.org/licenses/by/4.0/">
<license-p>This is an open access article distributed under the terms of the <ext-link ext-link-type="uri" xlink:href="http://creativecommons.org/licenses/by/4.0/" xlink:type="simple">Creative Commons Attribution License</ext-link>, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.</license-p>
</license>
</permissions>
<related-object document-id="10.1371/journal.pone.0245280" document-id-type="doi" document-type="article" id="rel-obj004" link-type="peer-reviewed-article"/>
</front-stub>
<body>
<p>
<named-content content-type="letter-date">29 Dec 2020</named-content>
</p>
<p>PONE-D-20-33168R1 </p>
<p>rfaRm: an R client-side interface to facilitate the analysis of the Rfam database of RNA families </p>
<p>Dear Dr. Selles Vidal:</p>
<p>I'm pleased to inform you that your manuscript has been deemed suitable for publication in PLOS ONE. Congratulations! Your manuscript is now with our production department. </p>
<p>If your institution or institutions have a press office, please let them know about your upcoming paper now to help maximize its impact. If they'll be preparing press materials, please inform our press team within the next 48 hours. Your manuscript will remain under strict press embargo until 2 pm Eastern Time on the date of publication. For more information please contact <email xlink:type="simple">onepress@plos.org</email>.</p>
<p>If we can help with anything else, please email us at <email xlink:type="simple">plosone@plos.org</email>. </p>
<p>Thank you for submitting your work to PLOS ONE and supporting open access. </p>
<p>Kind regards, </p>
<p>PLOS ONE Editorial Office Staff</p>
<p>on behalf of</p>
<p>Dr. Zhong-Hua Chen  </p>
<p>Academic Editor</p>
<p>PLOS ONE</p>
</body>
</sub-article>
</article>