Contents

1 Introduction

A sequence logo has been widely used as a graphical representation of nucleic acid sequence motifs. There is a R package seqlogo(Bembom 2006) for drawing sequence logos for a single DNA motif. There is another R package motifStack(Ou et al. 2018) for depicting individual sequence motif as well as multiple motifs for amino acid (AA), DNA and RNA sequences.

IceLogo(Colaert et al. 2009) is a tool developed in Java for visualizing significantly conserved sequence patterns in a list of aligned AA sequences against a set of background sequences. Compared to webLogo(Crooks et al. 2004), which relies on information theory, IceLogo builds on probability theory. It is reported that IceLogo has a more dynamic nature and is more appropriate for analysis of conserved sequence patterns.

However, IceLogo can only compare conserved sequences to reference sequences at the individual amino acid level. As we know, some conserved sequence patterns are not conserved at the individual amino acid level, but conserved at the level of amino acid group characteristic of their physical and chemical properties, such as charge and hydrophobicity.

Here we developed a R/Bioconductor package dagLogo, for visualizing significantly conserved sequence patterns relative to a proper background set of sequences, with or without grouping amino acid residuals based on their physical and chemical properties. Figure 1 shows the flowchart of performing analysis using dagLogo. Comparing to existing tools, dagLogo allows aligned or not aligned subsequences of different length as input; Provides more options and functions to generate various background sets that can be tailored to fit the experimental design; Both significantly over- and under-represented amino acid residues can be plotted; AA residues can be grouped and statistical significance test can be performed at the group level.

Figure 1. Flowchart of performing analysis using dagLogo. Two ways to prepare an object of Proteome are colored in greenish and yellowish, while two alternative ways to build an object of dagPeptides are colored in blue and red..

Figure 1. Flowchart of performing analysis using dagLogo. Two ways to prepare an object of Proteome are colored in greenish and yellowish, while two alternative ways to build an object of dagPeptides are colored in blue and red.

3 Session Info

sessionInfo()
## R version 4.0.2 (2020-06-22)
## Platform: x86_64-pc-linux-gnu (64-bit)
## Running under: Ubuntu 18.04.4 LTS
## 
## Matrix products: default
## BLAS:   /home/biocbuild/bbs-3.11-bioc/R/lib/libRblas.so
## LAPACK: /home/biocbuild/bbs-3.11-bioc/R/lib/libRlapack.so
## 
## locale:
##  [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C              
##  [3] LC_TIME=en_US.UTF-8        LC_COLLATE=C              
##  [5] LC_MONETARY=en_US.UTF-8    LC_MESSAGES=en_US.UTF-8   
##  [7] LC_PAPER=en_US.UTF-8       LC_NAME=C                 
##  [9] LC_ADDRESS=C               LC_TELEPHONE=C            
## [11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C       
## 
## attached base packages:
##  [1] stats4    grid      parallel  stats     graphics  grDevices utils    
##  [8] datasets  methods   base     
## 
## other attached packages:
##  [1] motifStack_1.32.0    Biostrings_2.56.0    XVector_0.28.0      
##  [4] ade4_1.7-15          MotIV_1.44.0         GenomicRanges_1.40.0
##  [7] GenomeInfoDb_1.24.2  IRanges_2.22.2       S4Vectors_0.26.1    
## [10] grImport2_0.2-0      UniProt.ws_2.28.0    BiocGenerics_0.34.0 
## [13] RCurl_1.98-1.2       RSQLite_2.2.0        biomaRt_2.44.1      
## [16] dagLogo_1.26.2       BiocStyle_2.16.0    
## 
## loaded via a namespace (and not attached):
##  [1] Biobase_2.48.0              httr_1.4.2                 
##  [3] bit64_0.9-7.1               assertthat_0.2.1           
##  [5] askpass_1.1                 highr_0.8                  
##  [7] BiocManager_1.30.10         BiocFileCache_1.12.0       
##  [9] blob_1.2.1                  BSgenome_1.56.0            
## [11] GenomeInfoDbData_1.2.3      Rsamtools_2.4.0            
## [13] yaml_2.2.1                  progress_1.2.2             
## [15] rGADEM_2.36.0               pillar_1.4.6               
## [17] lattice_0.20-41             glue_1.4.1                 
## [19] digest_0.6.25               RColorBrewer_1.1-2         
## [21] colorspace_1.4-1            Matrix_1.2-18              
## [23] htmltools_0.5.0             XML_3.99-0.5               
## [25] pkgconfig_2.0.3             pheatmap_1.0.12            
## [27] magick_2.4.0                bookdown_0.20              
## [29] zlibbioc_1.34.0             purrr_0.3.4                
## [31] scales_1.1.1                jpeg_0.1-8.1               
## [33] BiocParallel_1.22.0         tibble_3.0.3               
## [35] openssl_1.4.2               generics_0.0.2             
## [37] ggplot2_3.3.2               ellipsis_0.3.1             
## [39] SummarizedExperiment_1.18.2 magrittr_1.5               
## [41] crayon_1.3.4                memoise_1.1.0              
## [43] evaluate_0.14               MASS_7.3-51.6              
## [45] tools_4.0.2                 prettyunits_1.1.1          
## [47] hms_0.5.3                   lifecycle_0.2.0            
## [49] matrixStats_0.56.0          stringr_1.4.0              
## [51] munsell_0.5.0               DelayedArray_0.14.1        
## [53] AnnotationDbi_1.50.3        compiler_4.0.2             
## [55] rlang_0.4.7                 htmlwidgets_1.5.1          
## [57] rappdirs_0.3.1              bitops_1.0-6               
## [59] base64enc_0.1-3             rmarkdown_2.3              
## [61] gtable_0.3.0                DBI_1.1.0                  
## [63] curl_4.3                    R6_2.4.1                   
## [65] GenomicAlignments_1.24.0    seqLogo_1.54.3             
## [67] rtracklayer_1.48.0          knitr_1.29                 
## [69] dplyr_1.0.0                 bit_1.1-15.2               
## [71] stringi_1.4.6               Rcpp_1.0.5                 
## [73] vctrs_0.3.2                 png_0.1-7                  
## [75] dbplyr_1.4.4                tidyselect_1.1.0           
## [77] xfun_0.16

Bembom, Oliver. 2006. “SeqLogo: Sequence Logos for Dna Sequence Alignments.” R Package Version 1.5.4.

Colaert, Niklaas, Kenny Helsens, Lennart Martens, Joel Vandekerckhove, and Kris Gevaert. 2009. “Improved Visualization of Protein Consensus Sequences by iceLogo.” Nature Methods 6 (11):786–87.

Crooks, Gavin E., Gary Hon, John-Marc Chandonia, and Steven E. Brenner. 2004. “WebLogo: A Sequence Logo Generator.” Genome Research 14:1188–90.

Ou, Jianhong, Scot A Wolfe, Michael H Brodsky, and Lihua Julie Zhu. 2018. “MotifStack for the Analysis of Transcription Factor Binding Site Evolution.” Nature Methods 15 (1). Nature Publishing Group:8.