Skip to content

Commit

Permalink
v1.2.2 updates: wd bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jtlovell committed Apr 17, 2023
1 parent 3ed6bbb commit 03e0cb7
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: GENESPACE
Type: Package
Title: Synteny- and orthology-constrained comparative genomics
Version: 1.2.1
Version: 1.2.2
Author: John T. Lovell
Maintainer: John T. Lovell <[email protected]>
Description: Construct pan-gene sets and other comparative genomics
Expand Down
7 changes: 4 additions & 3 deletions R/run_genespace.R
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
#' overwritten?
#' @param overwriteSynHits logial, should the annotated blast files be
#' overwritten?
#' @param overwriteInBlkOF logical, should in-block orthogroups be overwritten?
#'
#' @details The function calls required to run the full genespace pipeline are
#' printed below. See each function for detailed descriptions. Also, see
Expand Down Expand Up @@ -76,6 +77,7 @@ run_genespace <- function(gsParam,
overwriteBed = overwrite,
overwriteSynHits = overwrite,
overwriteInBlkOF = TRUE){

gsParam$paths$rawOrthofinder <- gsParam$paths$orthofinder
##############################################################################
# 1. Run orthofinder ...
Expand Down Expand Up @@ -225,7 +227,7 @@ run_genespace <- function(gsParam,
}

dpFiles <- with(gsParam$synteny$blast, file.path(
file.path(wd, "dotplots",
file.path(gsParam$paths$wd, "dotplots",
sprintf("%s_vs_%s.rawHits.pdf",
query, target))))
if(!all(file.exists(dpFiles)) || overwrite){
Expand All @@ -234,7 +236,6 @@ run_genespace <- function(gsParam,
cat("Done!\n")
}

gsParam <<- gsParam

##############################################################################
# 4. Run synteny
Expand Down Expand Up @@ -280,7 +281,7 @@ run_genespace <- function(gsParam,
indent = 0, exdent = 8), sep = "\n")

dpFiles <- with(gsParam$synteny$blast, file.path(
file.path(wd, "dotplots",
file.path(gsParam$paths$wd, "dotplots",
sprintf("%s_vs_%s.synHits.pdf",
query, target))))
if(!all(file.exists(dpFiles)) || overwrite){
Expand Down
2 changes: 1 addition & 1 deletion R/utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
#' @export
.onAttach <- function(...) {
packageStartupMessage(paste(strwrap(
"GENESPACE v1.2.1: synteny and orthology constrained
"GENESPACE v1.2.2: synteny and orthology constrained
comparative genomics\n",
indent = 0, exdent = 8), collapse = "\n"))
}
Expand Down
2 changes: 2 additions & 0 deletions man/run_genespace.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 03e0cb7

Please sign in to comment.