Entering edit mode
2.7 years ago
magnolia
▴
30
Hello,
I want to use bgzip in Python and index it with tabix. I figured out tabix part with pysam.tabix_index
but I don't know how to create gz
file. I've tried gzip
module from Python itself but pysam.tabix_index
was unhappy about it.
Does anyone know how to do it?
Thanks a lot for bringing that to my attention! I actually tried it before and didn't work but it totally works now. I guess it didn't work before because of other parts of my code. Thanks again!