databio / gtars

Performance-critical tools to manipulate, analyze, and process genomic interval data. Primarily focused on building tools for geniml - our genomic machine learning python package.
3 stars 2 forks source link

Performance improvements for writing to .wig files #31

Closed donaldcampbelljr closed 1 month ago

donaldcampbelljr commented 1 month ago

Here is an example command to run:

cargo run uniwig -f /yourbedfile/test.bed -m 5 -s 1 -l /home/drc/Downloads/ -y wig -t bed -c yourchrom.sizes -p 6

t = input type (bed or bam) y= output type m = step size s = stepsize f = input file c = chrom.sizes file p = num of threads to parallel process with, defaults to 6

At this time, you must provide a single, sorted bedfile.

This addresses Issue #1