Feature-overlapper: The tool for DNA analysis overlap
Abstract
This contribution puts focus on a command line tool, which enables detection and analysis of overlapping regions between G-quadruplexes, R-loops and genome annotations for selected genomes. G-quadruplexes and R-loops are structures with high Guanine density, which is an important creation factor for both structures. Common regions (overlap) between both structures can provide us with better possibility to create precise model to detect R-loops and valuable insights when inspecting genome annotations with high R-loop density. The tool was used for multiple research projects and is under constant development bringing new features to the world of bioinformatics.
Full text
Software Impacts 16 (2023) 100498 Contents lists available at ScienceDirect Software Impacts journal homepage: www.journals.elsevier.com/software-impacts Original software publication Feature-overlapper: The tool for DNA analysis overlap Jan Havlíka,∗, Václav Brázdab, Kamil Staněkc, Michal Ježekc, Jiří Št’astný a,c,∗ aDepartment of Informatics, Faculty of Business and Economics, Mendel University in Brno, Zemědělská 1, 613 00 Brno, Czech Republic bInstitute of Biophysics of the Czech Academy of Sciences, Královopolská 135, 612 65 Brno, Czech Republic cFaculty of Mechanical Engineering, Brno University of Technology, Technická 2896/2, 616 69 Brno, Czech Republic ARTICLE INFO Keywords: DNA R-loop G-quadruplex Annotation ABSTRACT This contribution puts focus on a command line tool, which enables detection and analysis of overlapping regions between G-quadruplexes, R-loops and genome annotations for selected genomes. G-quadruplexes and R-loops are structures with high Guanine density, which is an important creation factor for both structures. Common regions (overlap) between both structures can provide us with better possibility to create precise model to detect R-loops and valuable insights when inspecting genome annotations with high R-loop density. The tool was used for multiple research projects and is under constant development bringing new features to the world of bioinformatics. Code metadata Current code version V1.2.0 Permanent link to code/repository used for this code version https://github.com/SoftwareImpacts/SIMPAC-2023-61 Permanent link to reproducible capsule https://codeocean.com/capsule/0809956/tree/v1 Legal code license MIT License Code versioning system used git Software code languages, tools and services used python3 Compilation requirements, operating environments and dependencies listed in README (and the requirements.txt file) If available, link to developer documentation/manual https://github.com/jan-havlik/feature-overlapper#readme Support email for questions [email protected] 1. Introduction The feature-overlapper tool is an bioinformatic command line utility which enables the user to run multiple remote analysis of DNA sequence (R-loop, G-quadruplex, Palindrome) at once, collect the data and in the end merge the analysis outputs together in order to find an intersection between the mentioned nucleic acid structures or DNA sequence metadata (annotations). 2. Description of the functionality Feature-overlapper is a tool written in the Python language and is capable of finding common areas in nucleotide sequence containing both G quadruplexes and R-loops. Depending on chosen mode, we can The code (and data) in this article has been certified as Reproducible by Code Ocean: (https://codeocean.com/). More information on the Reproducibility Badge Initiative is available at https://www.elsevier.com/physical-sciences-and-engineering/computer-science/journals. ∗Corresponding authors. E-mail addresses: [email protected] (J. Havlík), [email protected] (J. Št’astný). also compare either R-loop or G quadruplex with feature table and examine overlapping annotations with selected analysis. It is possible to either list sequences to analyze by their NCBI ID or just add them to corresponding folder named after the analysis and the tool will iterate over each analysis file in the folder. If you specify only one type of analysis (e.g. rloop) via the command line, the analysis file will be compared with appropriate annotation file (feature table) from the annotations folder if such file exists. The detailed output will be stored in a comparison folder containing three types of files. The text file which is a result of an overlap between analysis and annotation file thoroughly describing analysis occurrence (overlap percentage, occurrence count) in a human readable form. Machine readable xlsx file is provided as well, containing some extra data such as average overlap coverage and additional feature metadata. Last file is also in https://doi.org/10.1016/j.simpa.2023.100498 Received 13 February 2023; Received in revised form 10 March 2023; Accepted 17 March 2023 2665-9638/©2023 The Author(s). Published by Elsevier B.V. This is an open access article under the CC BY license (http://creativecommons.org/licenses/by/4.0/).
J. Havlík, V. Brázda, K. Staněk et al. Software Impacts 16 (2023) 100498 Fig. 1. Flowchart of Feature-overlapper’s basic operations. xlsx format containing areas of overlap between two analyses in given order (e.g. R-loops in G-quadruplexes and vice versa). There is also an option to generate graphs of an overlapped sequence. The comparison variations are as follows: •R-loop xInverted repetition (palindrome) (and vice versa) •R-loop xG-quadruplex (and vice versa) •R-loop xFeature table (annotations) •G-quadruplex xInverted repetition (palindrome) (and vice versa) •G-quadruplex xFeature table (annotations) •Inverted repetition (palindrome) xFeature table (annotations) The tool uses different algorithm to determine overlap coverage depending on chosen comparison. Whether we compare R-loop tracker results with G4 Hunter results or each of the analysis with feature table, we always select only the areas which are common for both comparison parts in order to maintain the memory management. Although for larger genomes (> 10 millions of base pairs) the process can get slow or you can run out of memory if conducted on a private computer. This is due to the implementation which merges two pandas data frames together. If only single analysis is selected (comparison is made against annotations), we search for analysis results in the same area of interest, that is why the result is from the view of the annotation. When comparing two analyses together, the overlap coverage is from the point of the first selected analysis. The flowchart describes the basic operations of this software (see Fig. 1). R-loops are three stranded nucleic acid structures formed by the RNA-DNA hybrid and the single-stranded DNA (ssDNA) [1]. These naturally formed co-transcriptional hybrids can be beneficial for transcription regulation but on the other hand, the normal physiology of the cell can be disrupted by DNA double-strand breaks, chromosome rearrangements, and hypermutation caused by persistent R-loop structures in certain areas [2]. Guanine clusters are very important for the initiation of R-loop forming areas. High guanine density in the R-loop elongation zone has a bigger impact on the stability of the nascent structure [3]. The major guanine presence is a common feature occurring in G-quadruplexes as well which offers a path to explore any existing correlation between these two structures. G-quadruplexes are helical shaped guanine rich nucleic acid structures formed from one, two or four strands [4]. The AP endonuclease 1 enzyme site damage is causing endogenous damage to DNA and the formation of G-quadruplex structures is based on this enzyme [5]. High guanine density areas important either for R-loop or G-quadruplex structure formation as an important factor, led to in silico detection methods such as G4 Hunter [6] or R-loop tracker [7]. 2
J. Havlík, V. Brázda, K. Staněk et al. Software Impacts 16 (2023) 100498 Fig. 2. Overlap count in throughout whole sequence of the bacteria. 3. Impact overview With the complete telomere-to-telomere gapless sequence of a human genome available [8], there are unexplored sequences in the human genome which can be analyzed. With the use of the featureoverlapper software it is possible to look for interesting new regions if compared with the genomic annotations (features). Analyses of local DNA structures in the human gapless genome showed that the presence of G-quadruplexes and inverted repeats forming cruciforms were strongly underestimated in a previous widely used assembly [9,10] therefore the automatic and rapid evaluation of functional overlaps provided by our tool is highly desirable. Accurate knowledge of functional overlaps is essential for medical research, understanding their significance and use in therapy. The users of this software did not have any form of comparing multiple analysis and mostly individual analysis with genomic annotations other than comparing the locations in an excel file and manually downloading all the data. The common process of analyzing a sequence was as follows: 1. Downloading a sequence to analyze (e.g. Shigella flexneri). 2. Uploading the sequence to DNA Analyser website. 3. Running the R-loop analysis and downloading the results. 4. Downloading the genome annotations for the sequence. 5. Comparing interesting locations in the sequence with genes from the annotation table. In the current version of the software, all the work described above is automated to a certain extent and the finalized overlapping regions are available in the xlsx format. The software is specifically targeted according to the needs of Institute of Biophysics of the Czech Academy of Science, that is why the user group is mainly from this institution. The software is still under development, the setback is the analysis of the whole human chromosomes which is memory-heavy operation calling for fine tuning. Feature-overlapper played a role in finding interactions of C-terminal p53 isoforms [11] and there is also ongoing research of finding the variability of inverted repeats in genomes of bacteria where all of the repeats are compared with the bacteria annotation table. In order to demonstrate the capabilities of the software and prepare data for a possibly better prediction model, we chose to overlap analysis results from G4 Hunter and R-loop tracker and further analyze specific regions with common areas of occurrence — therefore a high overlap percentage. In order to find some other interesting genome structures, we also applied an overlap on R-loops and genome annotations. The input for the software was only the NCBI ID of example bacteria — Shigella flexneri. The overlap results are described next. The maximum overlap coverage between R-loop and G-quadruplex is 49.2% and the overlap percentage is very high — around 20%. By comparing the R-loop occurrence with G-quadruplexes occurring in R-loops throughout the feature table for the bacteria, we can watch some regions which are densely covered in the same parts of nucleotide sequence (see Fig. 2). The figure is part of the results provided by the software. The main xlsx file available in the results folder also provides interesting information, for example the two interesting genes in the same loci as the occurrence of R-loops — rnpB and hycC. Future improvements and applications As of this moment, we are trying to improve the user experience with this software. The automation of a R-loop analysis is already done, but in order to automate the palindrome and G-quadruplex analysis as well, there is an active contribution to the DNA Analyser (https://bioinformatics.ibp.cz) website needed to support the ability to download the analysis results. After making the software more easy- to-use, we will continue on tuning the overall speed of the software — mostly by including asynchronous calls to external services if the user does not have any data prepared. The final step is to turn the software into a publicly hosted API, which will communicate with our ongoing project of genome database with the possibility to overlap regions in the database directly on click. Declaration of competing interest The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper. 3
J. Havlík, V. Brázda, K. Staněk et al. Software Impacts 16 (2023) 100498 Acknowledgment This paper was supported by IGA MENDELU, Czech Republic PEF_DP_2021028. References [1] X. Pan, N. Jiang, X. Chen, X. Zhou, L. Ding, F. Duan, R-loop structure: the formation and the effects on genomic stability, 2014, http://dx.doi.org/10.3724/ SP.J.1005.2014.1185, Yi chuan = Hereditas / Zhongguo yi chuan xue hui bian ji. [2] P. Richard, J.L. Manley, R loops and links to human disease, J. Mol. Biol. 429 (2017) 3168–3180, http://dx.doi.org/10.1016/J.JMB.2016.08.031. [3] D. Roy, M.R. Lieber, G clustering is important for the initiation of transcriptioninduced R-loops in vitro, whereas high G density without clustering is sufficient thereafter, Mol. Cell Biol. 29 (2009) 3124–3133, http://dx.doi.org/10.1128/ MCB.00139-09. [4] D. Sen, W. Gilbert, Formation of parallel four-stranded complexes by guaninerich motifs in DNA and its implications for meiosis, Nature 334 (1988) 364–366, http://dx.doi.org/10.1038/334364A0. [5] N. Kitsera, M. Rodriguez-Alvarez, S. Emmert, T. Carell, A. Khobta, Nucleotide excision repair of abasic DNA lesions, Nucl. Acids Res. 47 (8537) (2019) http: //dx.doi.org/10.1093/NAR/GKZ558. [6] V. Brázda, J. Kolomazník, J. Lýsek, M. Bartas, M. Fojta, J. Šťastný, J.L. Mergny, G4Hunter web application: a web server for G-quadruplex prediction, Bioinformatics 35 (2019) 3493–3495, http://dx.doi.org/10.1093/BIOINFORMATICS/ BTZ087. [7] V. Brázda, J. Havlík, J. Kolomazník, O. Trenz, J. Šťastný, R-loop tracker: Web access-based tool for R-loop detection and analysis in genomic DNA sequences, Int. J. Mol. Sci. 22 (2021) 12857, http://dx.doi.org/10.3390/IJMS222312857. [8] S. Nurk, S. Koren, A. Rhie, M. Rautiainen, Bzikadze, A. Mikheenko, M.R. Vollger, N. Altemose, L. Uralsky, A. Gershman, S. Aganezov, S.J. Hoyt, M. Diekhans, G.A. Logsdon, M. Alonge, S.E. Antonarakis, M. Borchers, G.G. Bouffard, S.Y. Brooks, Caldas, N.C. Chen, H. Cheng, C.S. Chin, W. Chow, L.G. de Lima, P.C. Dishuck, R. Durbin, T. Dvorkina, I.T. Fiddes, G. Formenti, R.S. Fulton, A. Fungtammasan, E. Garrison, P.G.S. Grady, T.A. Graves-Lindsay, I.M. Hall, N.F. Hansen, G.A. Hartley, M. Haukness, K. Howe, M.W. Hunkapiller, C. Jain, M. Jain, E.D. Jarvis, P. Kerpedjiev, M. Kirsche, M. Kolmogorov, J. Korlach, M. Kremitzki, H. Li, Maduro, T. Marschall, A.M. McCartney, J. McDaniel, D.E. Miller, J.C. Mullikin, E.W. Myers, N.D. Olson, B. Paten, P. Peluso, P.A. Pevzner, D. Porubsky, T. Potapova, E.I. Rogaev, J.A. Rosenfeld, S.L. Salzberg, V.A. Schneider, F.J. Sedlazeck, K. Shafin, C.J. Shew, A. Shumate, Y. Sims, A.F.A. Smit, D.C. Soto, I. Sovi, J.M. Storer, A. Streets, B.A. Sullivan, F. Thibaud-Nissen, J. Torrance, J. Wagner, B.P. Walenz, A. Wenger, J.M.D. Wood, C. Xiao, S.M. Yan, A.C. Young, S. Zarate, U. Surti, R.C. McCoy, M.Y. Dennis, I.A. Alexandrov, J.L. Gerton, R.J. O’Neill, W. Timp, J.M. Zook, M.C. Schatz, E.E. Eichler, K.H. Miga, A.M. Phillippy, The complete sequence of a human genome, Science (1979) 376 (2022) 44–53, http://dx.doi.org/10.1126/science.abl4178. [9] N. Bohálová, J.L. Mergny, V. Brázda, Novel G-quadruplex prone sequences emerge in the complete assembly of the human x chromosome, Biochimie 191 (2021) 87–90, http://dx.doi.org/10.1016/J.BIOCHI.2021.09.004. [10] V. Brázda, N. Bohálová, R.P. Bowater, New telomere to telomere assembly of human chromosome 8 reveals a previous underestimation of G-quadruplex forming sequences and inverted repeats, Gene 810 (2022) http://dx.doi.org/10. 1016/J.GENE.2021.146058. [11] P. Goswami, L. Šislerová, M. Dobrovolná, J. Havlík, J. Šťastný, V. Brázda, Interaction of C-terminal p53 isoforms depends strongly upon DNA sequence and topology, Biochimie (2022) http://dx.doi.org/10.1016/J.BIOCHI.2022.12.011. 4