nadavbra / ukbb_parser

A Python module for loading phenotypic and genetic data from the UK Biobank.
34 stars 6 forks source link

Does this parser works with .tab files? #3

Open dmasmont opened 2 years ago

dmasmont commented 2 years ago

I see the library expects the ukb phenotype files as .csv (PHENOTYPE_DATASET_CSV_FILE_PATH). Does the library also support the .tab files (R files)?

nadavbra commented 2 years ago

This file is downloaded directly from the UKB. I'm pretty sure it's comma-delimited and not tab-delimited. Anyway, ukbb_parser assumes that the file is comma-delimited, but it should be very easy to change that.