Unconfigured Ad

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

    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
            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
          • GATTACAT
            Reply to Nine Things a Sample Prep Scientist Thinks About Before Sequencing
            by GATTACAT
            Love this - good data definitely starts from good input, and poor input can only give relatively poor data. I particularly like the mention of Nanodrop/absorbance based methods for quantification. It's such a toss up if you'll get an accurate reading or what amounts to a randomly generated number, and a lot of library/sequencing related issues can be traced back to poor quant.
            07-01-2026, 11:43 AM

          ad_right_rmr

          Collapse

          News

          Collapse

          Topics Statistics Last Post
          Started by SEQadmin2, 07-13-2026, 10:26 AM
          0 responses
          20 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 07-09-2026, 10:04 AM
          0 responses
          31 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 07-08-2026, 10:08 AM
          0 responses
          20 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 07-07-2026, 11:05 AM
          0 responses
          34 views
          0 reactions
          Last Post SEQadmin2  
          Working...