nloyfer / wgbs_tools

tools for working with Bisulfite Sequencing data while preserving reads intrinsic dependencies
Other
125 stars 33 forks source link

Tabix 1.3.1 fix #2

Closed MagpiePKU closed 2 years ago

MagpiePKU commented 2 years ago

Hi,

Thank you for the great tools. A quick fix might brought about easier usage by fixing the tabix command parameter in src/index.py with " -p vcf -C ", as lower version tabix does not recognize the "-p bed" command correctly and might bring about trouble.

Thanks a lot, Yi

nloyfer commented 2 years ago

Hi Yi, Thank you for letting me know. I couldn't reproduce the bug, I'm running tabix 1.3.1 and it does recognize the "-p bed" flag... Anyway, I added an exception for when it fails, replacing the "-p bed" with the equivalent "-s 1 -b 2 -c 3".