d4-format icon indicating copy to clipboard operation
d4-format copied to clipboard

d4tools create runs for hours on small bedgraph file

Open Jakob37 opened this issue 9 months ago • 1 comments

Trying to prepare a unit test dataset for #113 on a moderately small bedgraph dataset (580 intervals), ended up processing for many hours before I cancelled the job.

Seems something is not going right in the d4tools create command.

The command I used:

d4tools create -g lr.size testrun.bedgraph

The input files are attached below:

issue_files.zip

Jakob37 avatar Jul 11 '25 11:07 Jakob37

Seems to be due to this while loop. My building hangs at the final entry, indefinitely continuing without changing the from value:

https://github.com/38/d4-format/blob/6f4031309958a7a1e471c9081369f2012d82705e/d4tools/src/create/main.rs#L448-L460

Jakob37 avatar Aug 11 '25 08:08 Jakob37