al2na / methylKit

R package for DNA methylation analysis
https://bioconductor.org/packages/release/bioc/html/methylKit.html
210 stars 96 forks source link

Verify content of file passed to methRead #272

Open alexg9010 opened 2 years ago

alexg9010 commented 2 years ago

The recent conversation on #63 shows that we need to improve verification of file types/contents before processing them. It is good that we are able to read compressed files, but we have to distinguish between tabix and non-tabix files, either based on presence of the header or based on file content.