From 1593f0bfe087730464d00166d6089da5eb4caab4 Mon Sep 17 00:00:00 2001 From: Shixiang Wang Date: Tue, 5 Dec 2023 17:25:00 +0800 Subject: [PATCH] auto detect t2t as genome_build, however, all necessary annotation file does not exist --- R/sig_tally.R | 2 ++ 1 file changed, 2 insertions(+) diff --git a/R/sig_tally.R b/R/sig_tally.R index facb93a6..23d4fe33 100644 --- a/R/sig_tally.R +++ b/R/sig_tally.R @@ -390,6 +390,8 @@ sig_tally.MAF <- function(object, mode = c("SBS", "DBS", "ID", "ALL"), genome_build <- "hg19" } else if (grepl("hg38", ref_genome)) { genome_build <- "hg38" + } else if (grepl("T2T", ref_genome)) { + genome_build <- "T2T" } else if (grepl("mm10$", ref_genome)) { genome_build <- "mm10" } else if (grepl("mm9$", ref_genome)) {