how to normalize tag count to 10 million reads without using homer?
1
0
Entering edit mode
6.4 years ago
mikysyc2016 ▴ 120

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.8k views
ADD COMMENT
1
Entering edit mode
ADD REPLY
1
Entering edit mode
6.4 years ago
ATpoint 85k

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.

ADD COMMENT

Login before adding your answer.

Traffic: 1727 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6