Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • RockChalkJayhawk
    Senior Member
    • Mar 2009
    • 192

    Functional Annotation

    What tool does everyone use to annotate ChIP-Seq peaks (i.e. nearest gene, etc). Is there a linux source I could download somewhere for it?
  • quinlana
    Senior Member
    • Sep 2008
    • 119

    #2
    I suggest either:

    a. Galaxy's "Operate on Genomic Intervals": http://main.g2.bx.psu.edu/

    or

    b. BEDTools (admittedly my own command-line software). You would download genes and whatever annotations you are interested in (BED format) and then use the tools to find closest genes (closestBed), etc.
    bedtools.googlecode.com

    Aaron

    Comment

    • RockChalkJayhawk
      Senior Member
      • Mar 2009
      • 192

      #3
      Originally posted by quinlana View Post
      I suggest either:

      a. Galaxy's "Operate on Genomic Intervals": http://main.g2.bx.psu.edu/

      or

      b. BEDTools (admittedly my own command-line software). You would download genes and whatever annotations you are interested in (BED format) and then use the tools to find closest genes (closestBed), etc.
      bedtools.googlecode.com

      Aaron
      Aaron,
      Can BEDtools find insersections in more than 2 bed files? For example, if I am doing ChIP-Seq for Factor A, B, C, & D and I want a single bed file telling me all the places enriched for all of the factors or 3 out of 4 etc.

      Comment

      • quinlana
        Senior Member
        • Sep 2008
        • 119

        #4
        Originally posted by RockChalkJayhawk View Post
        Aaron,
        Can BEDtools find insersections in more than 2 bed files? For example, if I am doing ChIP-Seq for Factor A, B, C, & D and I want a single bed file telling me all the places enriched for all of the factors or 3 out of 4 etc.
        Hi,
        BEDTools cannot do what you ask in a single command. However, there are multiple ways to do this with a couple commands. I demonstrate two possible solutions below (assuming I understood you correctly).

        Based on your example, let's assume you have four BED files, each representing regions of enrichment for A, B, C, and D, respectively.

        The following command will return all of the regions enriched for A that overlap (by at least 1bp) with regions enriched for B,C and D. The "-u" returns a unique entry even when multiple overlaps are found
        Code:
        $ intersectBed -a A.bed -b B.bed -u | \
          intersectBed -a stdin -b C.bed -u | \
          intersectBed -a stdin -b D.bed -u > ABCD.bed
        You could then mix and match commands like this to capture all possible situations.

        An alternate and perhaps simpler way is to count the number of overlaps between A/B, A/C, A/D. The example below assumes each BED file has 6 columns (chrom, start, end) and the fourth column (hence the cut -f 4) is the count of overlaps b/w A and B which is returned by the "-c" option.

        # Count the overlaps b/w A and the others. Every entry in A will have a count. It will be 0 if there were no overlaps
        Code:
        $ intersectBed -a A.bed -b B.bed -c | cut -f 4 > AtoB.counts
        $ intersectBed -a A.bed -b C.bed -c | cut -f 4 > AtoC.counts
        $ intersectBed -a A.bed -b D.bed -c | cut -f 4 > AtoD.counts
        # Now, let's paste the counts to the end of the A entries
        Code:
        $ paste A.bed AtoB.counts AtoC.counts AtoD.counts > AwithCounts.bed
        Now you will have something that looks like this:
        Code:
        chr1	100	200	0	2	1
        chr1	200	300	1	1	2
        ...
        chrY	100	200	0	0	0
        The first entry says that this A interval was also enriched in C and D, but not B.
        The second entry says that this A interval was also enriched in all 3 others.
        The third entry says that this A interval was not enriched in any others.

        You would repeat for B, C and D and could then write a basic awk or perl script to ask your questions with such an output.

        There are other ways to tackle this and obviously subtleties to the questions asked, but I hope this helps you get the ball rolling, as it were.

        Aaron
        Last edited by quinlana; 01-29-2010, 02:26 PM. Reason: Corrected filenames in the second example.

        Comment

        Latest Articles

        Collapse

        • mylaser
          Reply to Advanced Sequencing Platforms Tackle Neuroscience’s Toughest Genomics Problems
          by mylaser
          Kheloyar – Everything You Need to Know About Kheloyaar Login and Kheoyar Id
          If you are looking for an online gaming platform that offers a user-friendly experience, Kheloyar has become a name that many users search for. Whether you're interested in creating a new account, accessing your dashboard through Kheloyaar Login, or learning how to obtain a Kheoyar Id, understanding the platform's features and account process is essential.
          This guide explains everything you need to know about...
          07-11-2026, 01:13 AM
        • SEQadmin2
          Advanced Sequencing Platforms Tackle Neuroscience’s Toughest Genomics Problems
          by SEQadmin2



          Genomics studies in neuroscience face a special challenge due to the brain’s complexity and scarcity of samples. Mapping changes in cell type and state using conventional next-generation sequencing methods remains challenging. Advances in technologies like single-cell sequencing, spatial transcriptomics, and long-read sequencing have opened the door to deeper studies of the brain and diseases like Alzheimer’s, amyotrophic lateral sclerosis (ALS), and schizophrenia.
          ...
          07-09-2026, 11:10 AM
        • SEQadmin2
          Cancer Drug Resistance: The Lingering Barrier to Rising Survival
          by SEQadmin2



          Cancer survival rates have significantly increased in the last few decades in the United States, reaching a combined 70% 5-year survival rate by 2021. Behind this number, there are years of research to find new therapies, drug targets, and early detection methods. But there is one core challenge that keeps slowing down these advances, and it’s about drug resistance.

          There is no single reason why many patients don’t respond to treatment as expected. Cancer is...
          07-08-2026, 05:17 AM

        ad_right_rmr

        Collapse

        News

        Collapse

        Topics Statistics Last Post
        Started by SEQadmin2, 07-09-2026, 10:04 AM
        0 responses
        23 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 07-08-2026, 10:08 AM
        0 responses
        15 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 07-07-2026, 11:05 AM
        0 responses
        33 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 07-02-2026, 11:08 AM
        0 responses
        31 views
        0 reactions
        Last Post SEQadmin2  
        Working...