ay-lab / dcHiC

dcHiC: Differential compartment analysis for Hi-C datasets
MIT License
57 stars 10 forks source link

Update preprocess.py to use pipes instead of temp files #44

Closed robomics closed 1 year ago

robomics commented 1 year ago

Update preprocess.py to use pipes instead of hard-coded temp files.

The main motivation behind this PR is to allow running multiple instances of preprocess.py in the same working dir.

This was previously not possible because the temp file name was fixed here: https://github.com/ay-lab/dcHiC/blob/2c22c4da89a2cf8f498292383b7d3763cd3687f7/utility/preprocess.py#L55-L62

ay-lab commented 1 year ago

This makes sense—thank you for raising this PR!