Skip to content

Commit

Permalink
tsov2: use alias for VCF parsing (fixes #143)
Browse files Browse the repository at this point in the history
  • Loading branch information
pdiakumis committed Oct 11, 2024
1 parent abfb559 commit d683eb4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/tsov2.R
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ Wf_tso_ctdna_tumor_only_v2 <- R6::R6Class(
#' @description Read `cnv.vcf` file.
#' @param x Path to file.
read_cnv = function(x) {
dat <- bcftools_parse_vcf(x, only_pass = FALSE, alias = FALSE)
dat <- bcftools_parse_vcf(x, only_pass = FALSE, alias = TRUE)
tibble::tibble(name = "cnv", data = list(dat))
},
#' @description Read `exon_cov_report.tsv` file.
Expand Down Expand Up @@ -190,7 +190,7 @@ Wf_tso_ctdna_tumor_only_v2 <- R6::R6Class(
#' @description Read `hard-filtered.vcf` file.
#' @param x Path to file.
read_hardfilt = function(x) {
dat <- bcftools_parse_vcf(x, only_pass = FALSE, alias = FALSE)
dat <- bcftools_parse_vcf(x, only_pass = FALSE, alias = TRUE)
tibble::tibble(name = "hardfilt", data = list(dat))
},
#' @description Read `microsat_output.json` file.
Expand Down

0 comments on commit d683eb4

Please sign in to comment.