inutano / chip-atlas

ChIP-Atlas: Browse and analyze all public ChIP/DNase-seq data on your browser
http://chip-atlas.org
MIT License
70 stars 7 forks source link

Get cell-tpe-specific TF-gene regulatory relations #137

Closed Ying-Lab closed 2 months ago

Ying-Lab commented 2 months ago

Hi there!

Thanks for the excellent work!

I am interested in getting the cell-type-specific TF-gene regulations. However, in the taget gene module, I find that all the potential target genes are provided for a certain TF. In the Peak-Browser, the cell-type-specific TF ChIP-seq bed file can be downloaded. I tried to process the bed file via annotatePeak function of ChIPseeker package, while some errors always ocurred,indicating that 'start' or 'end' cannot contain NAs.

Therefore, I was wondering if there is a more convenient way to get the cell-cell-specific TF-gene regulations according to all the cell-type-specific ChIP-seq data?

I look forward to your reply. Thanks in advance for your time and help!

Best, Scotty

zouzhaonan commented 2 months ago

Hi,

To achieve your goal, the window subcommand of bedtools should be useful.

Here’s an example command: bedtools window -a $A_Bed -b $B_Bed -w $width

In this command:

You can obtain the appropriate $B_Bed files (originally sourced from the UCSC Genome Browser) from here. Please feel free to reach out if you need any further assistance.

BR, Zhaonan

Ying-Lab commented 2 months ago

Thank you so much! I tried the pipeline and it worked well.