This is a test version of Biostars. For the public version, visit https://www.biostars.org.
motif in set of genes

I have identified a motif from my chipseq experiment and want to find location of binding sites of such motif in my 10 genes of interests. What should be the best way or tool to do this task.

Thanks

chip-seq

Version 4.12.0, hg19 default settings

2 answers

Convert the motif to a MEME representation, unless you have this already. Use this MEME matrix with FIMO to find hits or binding sites across the genome at a specified threshold. Use BEDOPS bedmap to map these binding sites to gene annotations, converted to BED with BEDOPS convert2bed, if necessary.

Motif ID    Alt ID  Sequence Name   Strand  Start   End     p-value     q-value     Matched Sequence
2       16  -   52723   52751   2.77e-19    4.86e-14    CTCTGTCGCCCAGGCTGGAGTGCAGTGGC
2       17  -   78101   78129   2.77e-19    4.86e-14    CTCTGTCGCCCAGGCTGGAGTGCAGTGGC
2       17  -   100740  100768  2.77e-19    4.86e-14    CTCTGTCGCCCAGGCTGGAGTGCAGTGGC

Above are few lines of FIMO output it does not give any gene names, or exact coordinates. The coordinates it is showing are from the fasta seq that has been extracted 2500 bp TSS. so what should be intersected? If I start intersecting Sequence I think that may not be very efficient and correct way of doing. One seq may be present in multiple location then which p value should I assign to that match. Thanks

 # motif_id motif_alt_id    sequence_name   start   stop    strand  score   p-value q-value matched_sequence
2       KI270742.1  15757   15785   -   49.5258 2.77e-19    4.86e-14    CTCTGTCGCCCAGGCTGGAGTGCAGTGGC
2       KI270755.1  21577   21605   -   49.5258 2.77e-19    4.86e-14    CTCTGTCGCCCAGGCTGGAGTGCAGTGGC
2       KI270714.1  22078   22106   -   49.5258 2.77e-19    4.86e-14    CTCTGTCGCCCAGGCTGGAGTGCAGTGGC
2       KI270719.1  22816   22844   -   49.5258 2.77e-19    4.86e-14    CTCTGTCGCCCAGGCTGGAGTGCAGTGGC
2       KI270746.1  34414   34442   -   49.5258 2.77e-19    4.86e-14    CTCTGTCGCCCAGGCTGGAGTGCAGTGGC
2       16  44269   44297   -   49.5258 2.77e-19    4.86e-14    CTCTGTCGCCCAGGCTGGAGTGCAGTGGC

This is what I am getting

This does not look familiar to me. What version of FIMO are you using, what settings are you passing in, what reference genome are you working with, etc.?

It looks like your output is missing fields. I'm not sure what's wrong.

fimo --oc . --verbosity 1 --bgfile db/ucsc_hg19.fna.bfile --thresh 1.0E-4 motifs.meme db/ucsc_hg19.fna

The command for running FIMO, If that is helpful

You can use GimmeMotifs (disclaimer: I am the author). You will have to use a motif representation (positional frequency matrix) that looks like this:

>motif_name
0    0    0    1
0.2    0    0    0.8

Then you can use gimme scan to scan with this motif:

$  gimme scan sequences.fa -p motif.pwm -g hg19 -b

Here the -b argument specifies BED output. See the full documentation of gimme scan here.

Log in to answer this question.