2023-09-26 CUT&Tag數(shù)據(jù)三個(gè)生物學(xué)重復(fù)取common peaks

CUT&Tag數(shù)據(jù)隨筆記錄

1.要做一個(gè)H3K27ac與PR的互作分析熱圖。

1.1樣本的合并以及取交集peak
分別對(duì)每一個(gè)樣本callpeak得到5w左右peak。如果將3個(gè)樣本合并,再callpeak則得到36w個(gè)peak,不知什么原因?qū)е?。還是準(zhǔn)備取三個(gè)樣本的common peaks,放棄合并三個(gè)樣本bam文件再callpeak的實(shí)驗(yàn)方法。

1.2如何取三個(gè)生物學(xué)重復(fù)樣本的common peak
參考文章:http://www.itdecent.cn/p/d8a7056b4294
方法(1):利用bedtools工具

bedtools intersect \
-a PR-3_peaks.narrowPeak \
-b PR-4_peaks.narrowPeak PR-6_peaks.narrowPeak \
>/home/data/t170409/data/wy_cuttag_project/callpeak/common_peaks/PR_young_overlaps.bed

再以輸出的common peak 的bed文件進(jìn)行后續(xù)分析


image.png

一些常見參數(shù)如下

-wo:Write the original A and B entries plus the number of base pairs of overlap between the two features.
-wa:Write the original entry in A for each overlap.
-v:Only report those entries in A that have no overlaps with B

如果只有-a和-b參數(shù),返回的是相對(duì)于A的overlaps。加上參數(shù)-wo返回A和B原始的記錄加上overlap的記錄。參數(shù)-wa返回每個(gè)overlap中A的原始記錄。


image.png
最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時(shí)請結(jié)合常識(shí)與多方信息審慎甄別。
平臺(tái)聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點(diǎn),簡書系信息發(fā)布平臺(tái),僅提供信息存儲(chǔ)服務(wù)。

相關(guān)閱讀更多精彩內(nèi)容

友情鏈接更多精彩內(nèi)容