This is a test version of Biostars. For the public version, visit https://www.biostars.org.
how to normalize tag count to 10 million reads without using homer?

Hi, I know homer can normalize tag count to 10 million reads but do you know any other methods to do the normalize part except using homer? like macs2 itself, or .... Thanks,

chip-seq normalize

1 answer

Again, like in your previous questions, if you ask for a solution, you have to specify what kind of input data you have. Please keep that in mind for the future. If you have a count matrix, you can do it with a one-liner in R:

matrix_norm10mio <- data.frame(round(sweep(matrix_raw_counts, 2, colSums(matrix_raw_counts), FUN = "/") * 10000000))

You can scale to any number of reads by replaceing the 10.000.000 at the end by the intended number of total reads. This is of course a very simple way of normalizing counts.

Log in to answer this question.