Skip to content

Commit

Permalink
fix read_vcf running issue
Browse files Browse the repository at this point in the history
  • Loading branch information
ShixiangWang committed Dec 12, 2023
1 parent c68bda0 commit bf28521
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/read_vcf.R
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ read_vcf <- function(vcfs, samples = NULL,
# Annotate gene symbol
gene_dt <- get_genome_annotation("gene", genome_build = genome_build)

if (verbose) message("Annotating mutations to first matched gene based on database ", gene_file, "...")
if (verbose) message("Annotating mutations to first matched gene based on database of ", genome_build, "...")
dt <- gene_dt[, c("chrom", "start", "end", "gene_name", "gene_id")]
data.table::setkey(dt, "chrom", "start", "end")

Expand Down

0 comments on commit bf28521

Please sign in to comment.