Open donaldcampbelljr opened 1 month ago
Working proof of concept in #40 , however, it uses an intermediate BedGraph file written to disk.
Therefore, we are exploring an alternative method in #47 which streams values directly to bigtools bw writer.
However, some challenges remain, namely:
Some work accomplished with PR #40.
We would like to use this code as a drop in replacement for bamSitesToWig.py from PEPATAC: https://github.com/databio/pepatac/blob/master/tools/bamSitesToWig.py
bamSitesToWig.py creates three files as output:
Currently, uniwig can take an input file of either:
bed
,narrowPeak
,bam
and create an output of:
wig
npy
bedGraph
bw (via an intermediate bedGraph conversion)
Some items to accomplish for this task:
bed
output support if given a non-bed-like file as input (i.e.bam
).starts
counts? So add ability to only output any counts the user wishes instead of always outputting all three (starts,ends, core).Nice to have:
.bai
does not exist, have uniwig create it (using noodles crate)