Skip to content

Commit

Permalink
Resolved merge conflicts
Browse files Browse the repository at this point in the history
Merge branch 'master' of https://github.com/Dobbs-Lab/MENTHU

# Conflicts:
#	required2.0Functions_1.R
#	server.R
#	ui.R
#	www/changelog.html
  • Loading branch information
cmmann committed Mar 9, 2019
2 parents db33b3f + b2511d4 commit 7a08501
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 14 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Expand Up @@ -17,7 +17,7 @@ RUN apt-get update && apt-get install -y \

# install package dependencies for MENTHU
#RUN R -e "install.packages(c('shiny', 'XML', 'shinyjs', 'rhandsontable', 'plyr', 'stringr', 'stringi', 'rentrez', 'rlist', 'DT', 'devtools', 'httpuv', 'httr'), repos='https://cloud.r-project.org/')" -e 'source("http://bioconductor.org/biocLite.R")' -e 'biocLite("Biostrings")' -e 'devtools::install_github("rstudio/shiny-incubator")'
RUN R -e "install.packages(c('shiny', 'XML', 'xml2', 'shinyjs', 'rhandsontable', 'plyr', 'stringr', 'stringi', 'rentrez', 'rlist', 'DT', 'devtools', 'curl'), repos='https://cloud.r-project.org/')" -e 'source("http://bioconductor.org/biocLite.R")' -e 'biocLite("Biostrings")' -e 'devtools::install_github("rstudio/shiny-incubator")'
RUN R -e "install.packages(c('shiny', 'XML', 'xml2', 'shinyjs', 'rhandsontable', 'plyr', 'stringr', 'stringi', 'rentrez', 'rlist', 'DT', 'devtools', 'curl', 'plyr', 'jsonlite', 'httr'), repos='https://cloud.r-project.org/')" -e 'source("http://bioconductor.org/biocLite.R")' -e 'biocLite("Biostrings")' -e 'devtools::install_github("rstudio/shiny-incubator")'

# Copy MENTHU to image
RUN mkdir /root/menthu/
Expand Down
14 changes: 5 additions & 9 deletions README.md
@@ -1,10 +1,10 @@
# MENTHU
This is a repository for the MENTHU knockout site recommender.

You can run MENTHU online through a web interface here: http://ll-g2f.gdcb.iastate.edu/menthu/
You can run MENTHU online through a web interface here: http://genesculpt.org/menthu/


### If you already have R and/or RStudio installed, you can jump to [here](https://github.com/Dobbs-Lab/MENTHU#run-menthu-locally) to immmediately start running MENTHU locally.
### If you already have R and/or RStudio installed, you can jump to [here](https://github.com/Dobbs-Lab/MENTHU#3-run-menthu-locally) to immmediately start running MENTHU locally.

### If you are having issues running MENTHU locally, please check the [Troubleshooting](https://github.com/Dobbs-Lab/MENTHU#troubleshooting) section before requesting help.

Expand Down Expand Up @@ -78,25 +78,21 @@ You can copy and paste the code blocks below into your R/RStudio console to run
#Install CRAN packages
install.packages(c("shiny", "shinyjs", "Rcpp", "plyr", "stringr", "stringi", "shinyTable",
"rentrez", "rlist", "DT", "xlsx", "devtools", "rhandsontable"))
"rentrez", "rlist", "DT", "xlsx", "devtools", "rhandsontable", "httr", "jsonlite", "xml2"))
#Install 'Biostrings' package from Bioconductor
source("https://bioconductor.org/biocLite.R")
biocLite("Biostrings")
#Install 'ShinyIncubator' and 'ShinyTable' from GitHub
#Install 'ShinyIncubator' from GitHub
devtools::install_github("rstudio/shiny-incubator", force = TRUE)
devtools::install_github("trestletech/shinyTable", force = TRUE)
```

### Run this code every time you want to use the tool, including the first time:

```
#Load Shiny in the R/RStudio Environment
library(shiny)
#Retrieve, load, and run MENTHU from GitHub
runGitHub("MENTHU", "Dobbs-Lab")
shiny::runGitHub("MENTHU", "Dobbs-Lab")
```

You're all set!
Expand Down
1 change: 0 additions & 1 deletion required2.0Functions_1.R
Expand Up @@ -1965,7 +1965,6 @@ reverseComplement.list <- function(seq, type = "DNA"){
return(unlist(retList))
}

#' stripWhiteSpace
#'
#' This function removes all white space from character vectors. If it is passed a data frame, it will remove all white space from all columns with character data types.
#'
Expand Down
5 changes: 3 additions & 2 deletions server.R
Expand Up @@ -11,8 +11,9 @@ library(DT)
library(plyr)
library(Rcpp)
library(curl)
library(jsonlite)
library(httr)
library(jsonlite)
library(xml2)

# Required supporting files
source("apeShiftFunctions.R")
Expand Down Expand Up @@ -1317,7 +1318,7 @@ shinyServer(function(input, output, session){
# Calculate the MENTHU score
stuff <<- calculateMENTHUGeneSeq(pams, cutDistances, overhangs, wiggle = TRUE, wiggleRoom = 39,
stripWhiteSpace(input$geneSeq), exonIn, progress, talArmin, talArmax, talSpamin, talSpamax)

results <<- stuff[[1]]

if(is.numeric(results)){
Expand Down
3 changes: 2 additions & 1 deletion ui.R
Expand Up @@ -13,6 +13,7 @@ shinyUI(function(request){

#Page title box
tags$div(""),


########ABOUT TAB#################################################
tabPanel(#id = 'about',
Expand Down Expand Up @@ -781,4 +782,4 @@ shinyUI(function(request){
)}
)

#
#
5 changes: 5 additions & 0 deletions www/changelog.html
Expand Up @@ -15,6 +15,11 @@
<p>Issue: After submitting and getting results back, switching the input type (e.g., from GenBank to Ensembl) and then resubmitting without resetting the form results in the "Download Results" button downloading the entire page in HTM, rather than the results table in CSV.</p>
<p>Temporary workaround: While we implement a fix, use the "Reset Form" link in between uses for best results.</p>
<br />
<p><strong>2019-02-08 v2.0.8</strong></p>
<ul>
<li>Fixed bug where newline characters in copy/paste input were read as part of the sequence; newline/whitespace characters in pasted sequences are now automatically removed.</li>
</ul>
<br />
<p><strong>2018-10-12 v2.0.7</strong></p>
<ul>
<li>Added Ensembl support</li>
Expand Down

0 comments on commit 7a08501

Please sign in to comment.