This is a test version of Biostars. For the public version, visit https://www.biostars.org.
how can i get or calculate the motif percentage of each sequence?

enter image description here such like this

chip-seq sequence

1 answer

This isn't plotting a motif percentage per sequence, it's the percentage of peaks containing a given motif.

  1. Call peaks
  2. Sort them by a score of some sort
  3. Intersect with the known motif locations (i.e., annotate each peak according to whether it overlaps with the motif).
  4. Load that into R, write a little function to summarize % peaks with motif in the first n peaks from that and plot.

can I use the p-value or q-value in MAST result ?

You can use anything you want for the ranking/sorting.

Log in to answer this question.