This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Bedgraph And Bigwig Files From Multiple Bams

Is it possible to combine multiple BAM files to create a consensus Bedgraph file?

bam bigwig

what's the 'value' in the bedgraph ? the depth ?

Depends on the nature of the data that you're getting from the bedGraph files. In general I would suspect that'd work, but I'm sure there are edge cases where it wouldn't (e.g. when using bedGraph to represent present/absent features, since calling those might be affected by merging the BAM files).

1 answer

If you have separate bedGraph files, you could convert to bigWig and then use the bigWigMerge utility from UCSC.

Log in to answer this question.