R/get_vcf_suffixes.R

Defines functions get_vcf_suffixes

get_vcf_suffixes <- function(){
    vcf_suffixes <- c("\\.vcf.gz","\\.vcf.bgz", "\\.vcf",
                      ## Add some weird suffixes 
                      ## used by some consortia (e.g. PGC)
                      paste0("\\.vcf",c("\\.tsv","\\.csv","\\.txt"),"\\.gz"))
    vcf_suffixes <- c(vcf_suffixes, toupper(vcf_suffixes))
    return(vcf_suffixes)
}
RajLabMSSM/echotabix documentation built on Nov. 21, 2023, 8:02 a.m.