binding_affinity / dude_combine.py
jglaser's picture
split DUD-E into smaller partitions
7e5a878
raw
history blame contribute delete
246 Bytes
import dask.dataframe as dd
if __name__ == '__main__':
import glob
filenames = glob.glob('DUDE/all/*/ligands.parquet')
ddf = dd.read_parquet(filenames)
ddf = ddf.repartition(partition_size='1M')
ddf.to_parquet('data/dude')