Ensembl / WiggleTools

Basic operations on the space of numerical functions defined on the genome using lazy evaluators for flexibility and efficiency
Apache License 2.0
143 stars 25 forks source link

Fill in zero values #56

Closed gevro closed 3 years ago

gevro commented 3 years ago

How do I fill in zero values for all unspecified genomic regions for a single bigwig file?

dzerbino commented 3 years ago

Hello @gevro ,

The fillIn operator does exactly that. It requires you to specify the regions which need to be filled in, e.g.:

wiggletools fillIn regions.bed file.bw

Cheers,

Daniel