Simon-Coetzee / motifBreakR

A Package For Predicting The Disruptiveness Of Single Nucleotide Polymorphisms On Transcription Factor Binding Sites.
27 stars 12 forks source link

Error loading in VCF file #47

Open maggiebr0wn opened 1 year ago

maggiebr0wn commented 1 year ago

I'm trying to load in a VCF file for:

snps_from_vcf <- snps.from.file(file = vcf_file, search.genome = BSgenome.Hsapiens.UCSC.hg19, format = "vcf" )

And I am receiving the following error:

Error in open.TabixFile(VcfFile(file)) : 'indexname' must be character(1)

I've updated all relevant packages, updated my R version, I'm not sure how to mitigate this problem...

Simon-Coetzee commented 1 year ago

Hi, does the index of the vcf file exist?