Bamcoverage tool normalizing for sequencing depth and internal spike-in scaling factor at the same time

578 views
Skip to first unread message

Daniel Bsteh

unread,
Dec 9, 2019, 6:24:32 PM12/9/19
to deep...@googlegroups.com

Hi,

 

I have a ChIPseq experiment where I have an internal spike-in control of drosophila chromatin. I did the regular analysis including alignment to both genomes (mouse and drosophila) and filtering for mappin quality, unique alignment and duplicates. So now I have filtered bam files of my ChIPseq samples with varying sequencing depth and each has their corresponding read number of drosophila spike-in control chromotin.

I can calculate scaling factors to normalize for the differences in spike-in reads between samples.

My question is now do I use these scaling factors alone by themselves or can I use them in combination with e.g --normalizeUsing RPKM to account for sequencing depth differences as well or is that not possible/necessary/advisable?

Thanks for any help you might be able to provide!

 

Daniel

 

 

Devon Ryan

unread,
Dec 10, 2019, 2:08:03 AM12/10/19
to Daniel Bsteh, deep...@googlegroups.com
Hi Daniel,

When making the bigWig files you can supply the scaling factors you
computed with the `--scaleFactor` option. You can use this in
conjunction with `--normalizeUsing RPKM` if you like, though I
personally prefer to omit the `--normalizeUsing` option in cases like
this (to each their own).

Devon
--
Devon Ryan, Ph.D.
Email: dpr...@dpryan.com
Data Manager/Bioinformatician
Max Planck Institute of Immunobiology and Epigenetics
Stübeweg 51
79108 Freiburg
Germany
> --
> You received this message because you are subscribed to the Google Groups "deepTools" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to deeptools+...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/deeptools/BYAPR12MB3160F3A6945E94B456E14911AC580%40BYAPR12MB3160.namprd12.prod.outlook.com.

Daniel Bsteh

unread,
Dec 10, 2019, 12:09:49 PM12/10/19
to Devon Ryan, deep...@googlegroups.com
Okay thanks for your help!
Reply all
Reply to author
Forward
0 new messages