Al-Murphy / MungeSumstats

Rapid standardisation and quality control of GWAS or QTL summary statistics
https://doi.org/doi:10.18129/B9.bioc.MungeSumstats
75 stars 16 forks source link

Read data with`data.table::fread()` #15

Closed bschilder closed 3 years ago

bschilder commented 3 years ago

data.table::fread() is faster than readLines, even when single-threaded.

It's also more flexible, as it doesn't require tab-delimited format, and instead infers the format and imports accordingly. This means we can get rid of the check_tab_delimited() step.

bschilder commented 3 years ago

WIll need to adjust check_vcf() accordingly