Converting .pairs to .parquet

Here is how a classical .pairs file looks like:

.pairs format

For more details about .pairs file format please look at the documentation

In order to convert .pairs to .parquet you need to run an easy cli command (which has similar parameters to pairtools functions). Here is an example with useful parameters:

[ ]:
pairs_to_parquet csv-to-parquet -o test.parquet --nproc 4 --tmpdir /temp_directory --memory 35G test.pairs.gz