MRCIEU / gwas2vcf

Convert GWAS summary statistics to VCF
MIT License
47 stars 17 forks source link

Use gzip module to check the magic number of inputs #79

Open gmauro opened 1 year ago

gmauro commented 1 year ago

This pr use the gzip module to check if the input file is gzip compressed or not and, treat it accordingly. This fixes the situation when you have a different file extension from .gz (e.g. .bgz)