Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • YaqiangCao
    Junior Member
    • Nov 2011
    • 3

    #1

    Tools to plot ChIP-Seq signals in batch

    Hi Guys,
    I wonder if there are tools available for plotting ChIP-Seq signals like attachment (from Tsankov, A. M., et al. (2015). "Transcription factor binding dynamics during human ES cell differentiation." Nature 518(7539): 344-349.). And the plotting could be handled in batch way and result in PDF or SVG. I have tried UCSC and IGV, seems not that convenient.
    Thanks in advance.
    Attached Files
    Last edited by YaqiangCao; 02-24-2015, 11:12 PM. Reason: Add more info
  • dariober
    Senior Member
    • May 2010
    • 311

    #2
    I wrote a program to plot profiles in batch. It's here.

    Say you have bunch of target regions to plot in the bed file regions.bed and for each region you want to see the profile of a number of bam files (or bed or bedgraph):

    Code:
    # Target regions
    cat regions.bed
    chr18	63689	63888
    chr18	158296	158574
    chr18	596941	597204
    chr18	702863	703208
    chr18	712581	712797
    
    genomeGraphs -b regions.bed \
        -i rhh_*.bam regions.bed \
        -s 1000 \
        --col_track_rev NA \
        --col_track blue red \
        --ylab 'Read depth' \
        --ylim max
    Note the use of wild card in "rhh_*.bam" to capture rhh_hacat_05082014.bam rhh_hacat_14062014.bam rhh_hek_09112014.bam rhh_hek_18092014.bam.

    For each interval in regions.bed you get a pdf picture like the one below:



    You should be able to download and install with:

    Code:
    svn checkout http://bioinformatics-misc.googlecode.com/svn/branches/genomeGraphs genomeGraphs
    cd genomeGraphs
    python setup.py install --user --install-scripts $HOME/bin/
    Attached Files
    Last edited by dariober; 03-05-2015, 12:57 AM.

    Comment

    • YaqiangCao
      Junior Member
      • Nov 2011
      • 3

      #3
      Thanks a lot! Any chance for adding gene model in the plot?

      Comment

      • YaqiangCao
        Junior Member
        • Nov 2011
        • 3

        #4
        Originally posted by dariober View Post
        I wrote a program to plot profiles in batch. It's here.

        Say you have bunch of target regions to plot in the bed file regions.bed and for each region you want to see the profile of a number of bam files (or bed or bedgraph):

        Code:
        # Target regions
        cat regions.bed
        chr18	63689	63888
        chr18	158296	158574
        chr18	596941	597204
        chr18	702863	703208
        chr18	712581	712797
        
        genomeGraphs -b regions.bed \
            -i rhh_*.bam regions.bed \
            -s 1000 \
            --col_track_rev NA \
            --col_track blue red \
            --ylab 'Read depth' \
            --ylim max
        Note the use of wild card in "rhh_*.bam" to capture rhh_hacat_05082014.bam rhh_hacat_14062014.bam rhh_hek_09112014.bam rhh_hek_18092014.bam.

        For each interval in regions.bed you get a pdf picture like the one below:



        You should be able to download and install with:

        Code:
        svn checkout http://bioinformatics-misc.googlecode.com/svn/branches/genomeGraphs genomeGraphs
        cd genomeGraphs
        python setup.py install --user --install-scripts $HOME/bin/
        Thanks a lot! Any chance for adding gene model in the plot?

        Comment

        • dariober
          Senior Member
          • May 2010
          • 311

          #5
          Originally posted by YaqiangCao View Post
          Thanks a lot! Any chance for adding gene model in the plot?
          ...Sort of. If you pass a gtf file of gene models it should plot them as bars and lines for exons and introns. Like
          Code:
          genomeGraphs -b regions.bed \
              -i rhh_*.bam regions.bed genes.gtf \
              ...

          Comment

          Latest Articles

          Collapse

          • SEQadmin2
            Multiomic Liquid Biopsy: What DNA/RNA Panels Reveal That DNA Alone Can’t
            by SEQadmin2



            Tumors contain complex mixtures of cell populations that evolve in response to treatment and host-specific factors. Tissue biopsies provide only static snapshots of a tumor’s state. But what if we could follow that evolution over time using a minimally invasive technique?

            Liquid biopsies can detect tumor-derived material circulating in the bloodstream, providing a way to study treatment response, detect emerging resistance, and discover new biomarkers. Circulating
            ...
            10-14-2026, 09:55 AM
          • SEQadmin2
            New Genomics Technologies Take Aim at Long-Standing Limits
            by SEQadmin2


            Researchers using sequencing and genomics tools often have to make trade-offs. They can choose between speed or scale, short reads or long-range information, or targeted panels or a view of the whole transcriptome. New technologies that have been released this year are built to address those tough choices.

            We asked six companies the same four questions to learn about their latest products. The new technologies bring a lot to the table, including rethinking sequencing
            ...
            09-28-2026, 10:25 AM

          ad_right_rmr

          Collapse

          News

          Collapse

          Topics Statistics Last Post
          Started by SEQadmin2, Yesterday, 11:13 AM
          0 responses
          19 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, Yesterday, 10:48 AM
          0 responses
          18 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 10-15-2026, 10:52 AM
          0 responses
          36 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 10-14-2026, 05:39 AM
          0 responses
          42 views
          0 reactions
          Last Post SEQadmin2  
          Working...