Simon-Coetzee / motifBreakR

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

Cannot load vcf file #37

Closed Zepeng-Mu closed 2 years ago

Zepeng-Mu commented 2 years ago

Hi, I encountered this error when trying to load vcf file:

snps <- snps.from.file(
  file = "merged_chr21.merged.phased.vcf.gz",
  search.genome = BSgenome.Hsapiens.UCSC.hg19,
  format = "vcf"
)
Error in getListElement(x, i, ...) : 
  GRanges objects don't support [[, as.list(), lapply(), or unlist() at the moment

Thanks!

Simon-Coetzee commented 2 years ago

If this is still an issue please open a new Issue, I can't recreate the error.