Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cooler cload does not accept .lz4-compressed .pairs files #410

Open
bskubi opened this issue Mar 27, 2024 · 1 comment
Open

cooler cload does not accept .lz4-compressed .pairs files #410

bskubi opened this issue Mar 27, 2024 · 1 comment

Comments

@bskubi
Copy link

bskubi commented Mar 27, 2024

The pairtools library encourages use of .lz4 compression, but I get an invalid start byte error if I try to use .lz4-compressed .pairs as input to cooler cload pairs. This error goes away if I decompress the .lz4 to plaintext and use that instead. The CLI documentation for cooler cload pairs doesn't state which type of compression it accepts, but does say "Accepts compressed files." I'd recommend either supporting .lz4 or clarifying which types of compression it works with.

@nvictus
Copy link
Member

nvictus commented Mar 27, 2024

Good catch. We specifically support the compression that pandas.read_csv supports, which does not include lz4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants