Dear R Studio community,
I am fairly new to R Studio and I am using Bioconductor and MutationalPatterns packages for some genomics analyses.
I am trying to prepare some vcf files. however after using the following command:
vcfs <- read_vcfs_as_granges(vcf_files, sample_names, ref_genome)
I get this error message:
Error in FUN(X[[i]], ...) : Error in h(simpleError(msg, call)) :
error in evaluating the argument 'x' in selecting a method for function 'rowRanges': [internal] _hts_rewind() failed
I would be grateful if somebody suggest to me where I should look to try and resolve this issue.