distance between chip peaks and individual TSS
1
0
Entering edit mode
5 months ago
Tejaswini • 0

I have generated my peak data through chip sequencing data and I have individual transcription sites coordinates from RNA sequencing data. How to compare the distance between these TSS and peaks, so that I can find the closest TSS to peak and observe if there is any change in transcription between the control and treated?

linux homer • 397 views
ADD COMMENT
0
Entering edit mode

you may try: bedtools closest -D a -a my_tss.bed -b my_peaks.bed > result.tsv

Last column will have a distance relative to the TSS. Minus means upstream. You will need to do some filtering based on that

ADD REPLY
1
Entering edit mode
5 months ago

Via BEDOPS closest-features:

$ closest-features --closest --dist positions.bed TSS.bed > answer.bed

You could use awk or Python (for example) to chop up answer.bed by condition or generate distance distribution plots, etc.

ADD COMMENT

Login before adding your answer.

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