Closed poppyzenzi closed 2 months ago
Hello,
Thank you for the clear report of the issue.
Please could you check the tables in one of the .bgi files. You can do this in R using this code:
library(RSQLite)
connection = dbConnect(RSQLite::SQLite(), 'aoDEP_data/target/alspac_imputed_bgen/data.chr22.bgen.bgi')
tables <- dbListTables(connection)
print(tables)
There should be one called 'Variant'. If there isn't you may need to recreate the index files. Or maybe it is called something else that GenoPred does not currently allow for. Lets see. This is the code I have used in the past to create .bgi files in case useful:
bgenix -index -g example.chr22.bgen
Ah thank you so much! The command I used to make the .bgi files must have been incorrect. I have recreated using the above command and the pipeline is running now.
Hi Oliver,
I have GenoPred set up and running on the test data. I am trying to test on chr22 for my own input and am getting the following error below. It seems the .bgen file isn't being read correctly? I have used these files with multiple programmes before and haven't had issues. To note I made the corresponding .bgi files with bgenix from the command line. Thanks for any help!
Error from log file:
Command:
Output error: