Skip to content

Commit

Permalink
Fixed build error of previous commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
lima1 committed May 24, 2020
1 parent 47368fd commit 84e51dd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion NEWS
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Changes in version 1.19.1
Changes in version 1.20.0
-------------------------

SIGNIFICANT USER-VISIBLE CHANGES
Expand Down
6 changes: 4 additions & 2 deletions R/filterVcfMuTect.R
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,9 @@ ignore=c("clustered_read_position", "fstar_tumor_lod", "nearby_gap_events",

.detectCaller <- function(vcf) {
gatkVersion <- meta(header(vcf))[["GATKCommandLine"]]$Version[1]
gatkVersion <- gsub("\\\"", "", gatkVersion)
if (!is.null(gatkVersion) && grepl("^4", gatkVersion)) return("MuTect2/GATK4")
if (!is.null(gatkVersion)) {
gatkVersion <- gsub("\\\"", "", gatkVersion)
if (grepl("^4", gatkVersion)) return("MuTect2/GATK4")
}
return("")
}

0 comments on commit 84e51dd

Please sign in to comment.