Finding Fragment Size chip-seq paired end reads
1
0
Entering edit mode
3.7 years ago

Hello currently I am working on Chip-seq analysis i have paired end data 35-130 PE reads I have aligned with bowtie2, after mapping generated the bam. Using MACS2 i wanted call the peaks(H3K4me3 histone mark) when I run run_spp.R for Modelling Fragment Size i got the below output result i am little bit confused which value should i use from the pdf generated and the tab generated file

command used

run_spp.R -c=output.bam -rf -out=params.out

plot https://ibb.co/85qBRWt

tab file output

"chipSampleMaster.tagAlign.gz 48643337 160,345 0.409606223030329,0.372288179379363 135 0.3858776 600 0.3589484 1.141129 1.881149 2"

macs2 callpeak -t chip.bam -n H3K4me3 --gsize hs -c input.bam --nomodel --shiftsize=?

Thank you

ChIP-Seq sequencing • 1.3k views
ADD COMMENT
1
Entering edit mode
3.7 years ago
ATpoint 85k

Use -f BAMPE and macs2 will infer the fragment size based on the TLEN field from the BAM file. I would also remove --nomodel --shiftsize, both are not options you would want in ChIP-seq. It is intended for non-ChIP assays such as ATAC-seq where you have to turn off the shifting model it uses by default. H3K4me3 is a narrow mark so just use the defaults and -f BAMPE for paired end data.

ADD COMMENT
0
Entering edit mode

Okay Thank you for your suggestions, can you please tell me usage of --SPMR in MACS2 because encode project uses in its pipeline

ADD REPLY
1
Entering edit mode

This option has nothing to do with peak calling, it only saves the pipeups so you can display it on a genome browser, but for this I usually use deeptools bamCoverage.

macs2 callpeak -t chip.bam -n H3K4me3 --gsize hs -c input.bam -f BAMPE

This is probably what you need, no magic here.

ADD REPLY
0
Entering edit mode

Okay Thank you. for my experiment I have one wt and knockout data i wanted compare this two and show the H3K4me3 status how I have to proceed, do the differential analysis or what, any examples and papers will be better to understand

Thank you

ADD REPLY

Login before adding your answer.

Traffic: 1804 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