Skip to content

Commit

Permalink
Minor documentation updates and a temporary test script
Browse files Browse the repository at this point in the history
  • Loading branch information
steverozen committed Jul 18, 2019
1 parent 4cd31ad commit 709e75c
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 7 deletions.
4 changes: 2 additions & 2 deletions R/VCF_to_catalog_functions.R
Expand Up @@ -173,7 +173,7 @@ GetStrelkaVAF <-function(vcf) {
return(vaf)
}

#' Read in the data lines of a Variant Call Format (VCF) file created by MuTect
#' Read in the data lines of a Variant Call Format (VCF) file created by Mutect
#'
#' @importFrom utils read.csv
#'
Expand Down Expand Up @@ -224,7 +224,7 @@ MakeDataFrameFromMutectVCF <- function(file) {
}

#' Read in the data lines of a Variant Call Format (VCF) file created by
#' MuTect
#' Mutect
#'
#' @importFrom utils read.csv
#'
Expand Down
11 changes: 11 additions & 0 deletions data-raw/vcf-investigation.R
@@ -0,0 +1,11 @@

df <- MakeDataFrameFromMutectVCF(
"../OTA_vcf/0-5mM-OTA-S9-1_S7.bam.recal_calls.vcf")
dt <- data.table(df)
dt1 <- dt[nchar(REF) >= 2 & nchar(ALT) >= 2]
View(dt1)

dt$VAF <- GetMutectVAF(dt)
dt.SBS <- dt[nchar(REF) == 1 & nchar(ALT) == 1]
split.vcf <- SplitStrelkaSBSVCF(dt.SBS)
View(split.vcf$DBS.vcf)
1 change: 0 additions & 1 deletion inst/WORDLIST
Expand Up @@ -71,7 +71,6 @@ microhomology
Mmusculus
mutect
Mutect
MuTect
NN
nucleotides
opar
Expand Down
4 changes: 2 additions & 2 deletions man/MakeDataFrameFromMutectVCF.Rd

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

4 changes: 2 additions & 2 deletions man/ReadMutectVCF.Rd

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

0 comments on commit 709e75c

Please sign in to comment.