zhengxwen / gds2bgen

R package for the format conversion from bgen to gds
3 stars 1 forks source link

help with gds2bgen #1

Closed gianolga closed 5 years ago

gianolga commented 5 years ago

Hello,

Many thanks for creating this tool. I have installed it in R - version 3.6 but I have not managed to make it work.

I was wondering what "extdata" is referring to in your example, as I am running it in the following way:

bgen_fn <- system.file("extdata","myworking.bgen", package="gds2bgen")

but then I'm getting an error:

seqBGEN_Info(bgen_fn) Error in seqBGEN_Info(bgen_fn) : Can't open the file ''.

Many thanks again Olga

zhengxwen commented 5 years ago

your bgen_fn is a blank string. use bgen_fn <- "myworking.bgen" directly.