merge several Bigwig files using different descriptive statistics (mean, median, etc..)
This program is now part of the main jvarkit
tool. See jvarkit for compiling.
Usage: java -jar dist/jvarkit.jar bigwigmerge [options] Files
Usage: bigwigmerge [options] Files
Options:
--header
write track header
Default: false
-h, --help
print help and exit
--helpFormat
What kind of help. One of [usage,markdown,xml].
--interval, -r
process only this interval
--method, -m
how to compute merge of wiggle values ?
Default: median
Possible Values: [median, average, count, sum, min, max, random]
--min-item-count
skip output data if thre is less than 'x' bigwig file at a location
Default: 0
--min-value
skip output data with values lower than 'x'
-o, --output
Output file. Optional . Default: stdout
* -R, --reference
A SAM Sequence dictionary source: it can be a *.dict file, a fasta file
indexed with 'picard CreateSequenceDictionary' or 'samtools dict', or
any hts file containing a dictionary (VCF, BAM, CRAM, intervals...)
--version
print version and exit
20240417
The project is licensed under the MIT license.
Should you cite bigwigmerge ? https://github.com/mr-c/shouldacite/blob/master/should-I-cite-this-software.md
The current reference is:
http://dx.doi.org/10.6084/m9.figshare.1425030
Lindenbaum, Pierre (2015): JVarkit: java-based utilities for Bioinformatics. figshare. http://dx.doi.org/10.6084/m9.figshare.1425030
merge several Bigwig files using different descriptive statistics (mean, median, etc..)
Output is a BedGraph file.
Input is a set of bigwig file or a file with the ‘.list’ suffix containing the path to the bigwig
find DIR -type f -name "*.bigWig" > tmp.list
java -jar jvarkit.jar bigwigmerge -R genome.fa tmp.list --interval "chr1:234-567" --header --method median > bedGraph.bed