ECOGEMS: genotypes of 2058 rice accessions at 8,584,244 SNP sites

The genotypes of 2058 rice accessions at 8,584,244 SNP sites are stored using Sparse Matrices in R.

Software references

  1. R Development Core Team. R: A Language and Environment for Statistical Computing. R Foundation for Statistical Computing, Short Summer (2017)
  2. RStudio and Inc. shiny: Web Application Framework for R. R package version 1.0.5 (2017)
  3. Eric Bailey. shinyBS: Twitter Bootstrap Components for Shiny. R package version 0.61 (2017)
  4. Paradis E. pegas: an R package for population genetics with an integrated-modular approach. Bioinformatics 26: 419-420. R package version 0.10 (2010)
  5. Shin J-H, Blay S, McNeney B and Graham J. LDheatmap: An R Function for Graphical Display of Pairwise Linkage Disequilibria Between Single Nucleotide Polymorphisms. J Stat Soft, 16 Code Snippet 3. R package version 0.99.4 (2006)
  6. Paradis E., Claude J. & Strimmer K. APE: analyses of phylogenetics and evolution in R language. Bioinformatics 20: 289-290. R package version 5.1 (2004)
  7. Hin-Tak Leung. chopsticks: The snp.matrix and X.snp.matrix classes. R package version 1.42.0 (2015)
  8. H. Wickham. ggplot2: Elegant Graphics for Data Analysis. Springer-Verlag New York. R package version 2.2.1 (2009)
  9. D. Kahle and H. Wickham. ggmap: Spatial Visualization with ggplot2. The R Journal, 5(1), 144-161. R package version 2.6.1 (2013)
  10. Hadley Wickham, Romain Francois, Lionel Henry and Kirill Müller. dplyr: A Grammar of Data Manipulation. R package version 0.7.4 (2017)
  11. Hadley Wickham and Lionel Henry. tidyr: Easily Tidy Data with spread() and gather() Functions. R package version 0.8.0 (2017)
  12. Revolution Analytics and Steve Weston. foreach: Provides Foreach Looping Construct for R. R package version 1.4.4 (2015)
  13. Carson Sievert, Chris Parmer, Toby Hocking, Scott Chamberlain, Karthik Ram, Marianne Corvellec and Pedro Despouy. plotly: Create Interactive Web Graphics via ‘plotly.js’. R package version 4.7.1 (2017)
  14. Lawrence M, Huber W, Pag`es H, Aboyoun P, Carlson M, et al. IRanges: Software for Computing and Annotating Genomic Ranges. PLoS Comput Biol 9(8): e1003118. R package version 2.12.0 (2013)
  15. Yu G, Smith D, Zhu H, Guan Y and Lam TT. ggtree: an R package for visualization and annotation of phylogenetic trees with their covariates and other associated data. Methods in Ecology and Evolution, 8, pp. 28-36. R package version 1.10.5 (2016)
  16. Winston Chang. shinythemes: Themes for Shiny. R package version 1.1.1 (2017)
  17. Clayton D. snpStats: SnpMatrix and XSnpMatrix classes and methods. R package version 1.28.0 (2015)
  18. Hadley Wickham. plyr: Tools for Splitting, Applying and Combining Data. R package version 1.8.4 (2016)
  19. Ramnath Vaidyanathan, Yihui Xie, JJ Allaire, Joe Cheng, Kenton Russell, RStudio. htmlwidgets: HTML Widgets for R. R package version 1.3 (2018)

Further references

This application was created by Wen Yao. Please send bugs and feature requests to Wen Yao (venyao at qq.com).

Calculation In progress...

Select rice accessions:


Download genotype data Download SNPs information Download pdf-file


Download pdf-file Download svg-file
Loading...

Information of selected rice accessions

Loading...

ECOGEMS

The genotypes of 2058 rice accessions at 8,584,244 SNP sites are stored using Sparse Matrices in R.
For more information, please check our publicationin at Bioinformatics.


Use ECOGEMS online

ECOGEMS is deployed at http://ECOGEMS.ncpgr.cn/ and https://venyao.xyz/ECOGEMS/ for online use.
ECOGEMS is idle until you activate it by accessing the URL. So it may take some time when you access this URL for the first time. Once it was activated, ECOGEMS could be used smoothly and easily.


Launch ECOGEMS directly from R and GitHub

User can choose to run ECOGEMS installed locally for a more preferable experience.

Step 1: Install R and RStudio

Before running the app you will need to have R and RStudio installed (tested with R 3.4.4 and RStudio 1.1.442).
Please check CRAN (https://cran.r-project.org/) for the installation of R.
Please check https://www.rstudio.com/ for the installation of RStudio.

Step 2: Install the R Shiny package and other packages required by ECOGEMS

Start an R session using RStudio and run these lines:

# try an http CRAN mirror if https CRAN mirror doesn't work  
install.packages("shiny")  
install.packages("shinyBS")  
install.packages("shinythemes")  
install.packages("shinycssloaders")
install.packages("plotly")  
install.packages("foreach")  
install.packages("ape")  
install.packages("pegas")  
install.packages("plyr")  
install.packages("dplyr")  
install.packages("ggmap")  
install.packages("tidyr")  
install.packages("gridExtra")   
install.packages("htmlwidgets")  
install.packages("BiocManager")  
BiocManager::install("IRanges")
BiocManager::install("snpStats")
BiocManager::install("chopsticks")  
BiocManager::install("ggtree")  
# try an http CRAN mirror if https CRAN mirror doesn't work  
install.packages("LDheatmap")  
# install shinysky  
install.packages("devtools")  
devtools::install_github("venyao/ShinySky", force=TRUE)  

Step 3: Start the app

Start an R session using RStudio and run these lines:

library(shiny)  
runGitHub("ECOGEMS", "venyao", launch.browser = TRUE)  

This command will download the code of ECOGEMS from GitHub to a temporary directory of your computer and then launch the ECOGEMS app in the web browser. Once the web browser was closed, the downloaded code of ECOGEMS would be deleted from your computer. Next time when you run this command in RStudio, it will download the source code of ECOGEMS from GitHub to a temporary directory again. This process is frustrating since it takes some time to download the code of ECOGEMS from GitHub.

Users are suggested to download the source code of ECOGEMS from Jianguoyun (https://www.jianguoyun.com/p/DY5UBDIQzqnhBRjpzogB) or GitHub (https://github.com/venyao/ECOGEMS) to a fixed directory of your computer, such as ‘E:\apps’ on Windows. Following the procedure illustrated in the following figure, a zip file named ‘ECOGEMS-master.zip’ (GitHub) or ‘ecogems.zip’ (Jianguoyun) would be downloaded to the disk of your computer. Move this file to ‘E:\apps’ and unzip this file. Then a directory named ‘ECOGEMS-master’ or ‘ecogems’ would be generated in ‘E:\apps’. The scripts ‘server.R’ and ‘ui.R’ could be found in ‘E:\apps\ECOGEMS-master’ or ‘E:\apps\ecogems’.



Then start an R session using RStudio and run these lines:

library(shiny)  
runApp("E:/apps/ECOGEMS-master", launch.browser = TRUE)  # from GitHub
runApp("E:/apps/ecogems", launch.browser = TRUE)   # from Jianguoyun
# The first parameter of runApp should be the directory that contains the scripts server.R and ui.R of ECOGEMS.  

Your web browser will open the app.


Deploy ECOGEMS on local or web Linux server

Step 1: Install R

Please check CRAN (https://cran.r-project.org/) for the installation of R.

Step 2: Install the R Shiny package and other packages required by ECOGEMS

Start an R session and run these lines in R:

# try an http CRAN mirror if https CRAN mirror doesn't work  
install.packages("shiny")  
install.packages("shinyBS")  
install.packages("shinythemes")  
install.packages("shinycssloaders")
install.packages("plotly")  
install.packages("foreach")  
install.packages("ape")  
install.packages("pegas")  
install.packages("plyr")  
install.packages("dplyr")  
install.packages("ggmap")  
install.packages("tidyr")  
install.packages("gridExtra")   
install.packages("htmlwidgets")  
install.packages("BiocManager")  
BiocManager::install("IRanges")
BiocManager::install("snpStats")
BiocManager::install("chopsticks")  
BiocManager::install("ggtree")  
# try an http CRAN mirror if https CRAN mirror doesn't work  
install.packages("LDheatmap")  
# install shinysky  
install.packages("devtools")  
devtools::install_github("venyao/ShinySky", force=TRUE)   

For more information, please check the following pages:
https://cran.r-project.org/web/packages/shiny/index.html
https://github.com/rstudio/shiny
https://shiny.rstudio.com/

Step 3: Install Shiny-Server

Please check the following pages for the installation of shiny-server.
https://www.rstudio.com/products/shiny/download-server/
https://github.com/rstudio/shiny-server/wiki/Building-Shiny-Server-from-Source

Step 4: Upload files of ECOGEMS

Put the directory containing the code and data of ECOGEMS to /srv/shiny-server.

Step 5: Configure shiny server (/etc/shiny-server/shiny-server.conf)

# Define the user to spawn R Shiny processes
run_as shiny;

# Define a top-level server which will listen on a port
server {  
  # Use port 3838  
  listen 3838;  
  # Define the location available at the base URL  
  location /ecogems {  
    # Directory containing the code and data of ECOGEMS  
    app_dir /srv/shiny-server/ECOGEMS;  
    # Directory to store the log files  
    log_dir /var/log/shiny-server;  
  }  
}  

Step 6: Change the owner of the ECOGEMS directory

$ chown -R shiny /srv/shiny-server/ECOGEMS  

Step 7: Start Shiny-Server

$ start shiny-server  

Now, the ECOGEMS app is available at http://IPAddressOfTheServer:3838/ECOGEMS/.