motifBreakR icon indicating copy to clipboard operation
motifBreakR copied to clipboard

Error loading in VCF file

Open maggiebr0wn opened this issue 2 years ago • 1 comments

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...

maggiebr0wn avatar Nov 18 '22 16:11 maggiebr0wn

Hi, does the index of the vcf file exist?

Simon-Coetzee avatar Nov 18 '22 18:11 Simon-Coetzee