open2c / pairtools

Extract 3D contacts (.pairs) from sequencing alignments
MIT License
104 stars 32 forks source link

Why reading using pipes rather than another method? #210

Open gdolsten opened 8 months ago

gdolsten commented 8 months ago

Hi, I'm just curious why the io is using pipes for e.g. lz4 files instead of using the python package lz4. Curious to learn more. Thanks!

golobor commented 8 months ago

Hi! We use piping because it's a general solution that doesn't rely on specific libraries. Is there any advantage to using Python libraries instead?