Closed pamelarussell closed 2 years ago
Hi @pamelarussell , thanks for reporting the issue.
I tried this locally, it seems you may have a file with space between fields - Please let me know if this is your case.
Thanks!
Thanks! That was the problem. Would it be possible to fail with an informative message for an invalid input file?
Yes, indeed. Also, D4 should support fractional values by default (it supports them but one has to invoke a flag). @38 is working on addressing both of these.
Hi @pamelarussell, just pushed the fix for this bug. Please let me know if there's anything still wrong.
This change will allow d4tools detect if the input needs to be fractional values automatically. Please let me know if this works on your side. Thanks!
Does this work for you, @pamelarussell ?
The latest fix does work for fractional values, thanks @arq5x and @38 !
I'm trying to build small D4 files to test my code, and have not been able to get
d4tools create
to successfully build a file from a small bedgraph or bigwig file: the D4 output is always empty. It does work for large public data files. Here is an example with a small bedgraph file.I'm running version 0.3.4 installed from bioconda.