lidaof / methylQA

methylation sequence data quality assessment tool
6 stars 1 forks source link

feature request: ingest bgzip compressed cpg.bed.gz file as input #7

Open avilella opened 8 years ago

avilella commented 8 years ago

An uncompressed cpg.bed file takes quite a lot of space, but a bed-sorted bgzip compressed file is much smaller in footprint.

This is a feature request to implement an extension-checking if/else in the code, which will use zlib to uncompress the input file on-the-fly when using it for methylqa bismark mode.

There may be similar code one can borrow ideas from in htslib/samtools github.com/samtools/htslib or github.com/samtools/samtools

lidaof commented 8 years ago

Very nice idea @avilella . Will try! Thanks!