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

          • kinpict.com
            Reply to 16S/ITS Profiling vs. Shotgun Metagenomics: What Changes in Your Workflow?
            by kinpict.com
            The part about this topic feels surprisingly grounded, and the details on the page is the bit that made me slow down. I’d keep <a href="https://kinpict.com/">ai family photo generator</a> bookmarked for later.
            Today, 06:37 PM
          • SEQadmin2
            16S/ITS Profiling vs. Shotgun Metagenomics: What Changes in Your Workflow?
            by SEQadmin2





            NGS has revolutionized clinical microbiology by offering new ways to identify and surveil pathogens without prior knowledge of the target. One popular approach is 16S rRNA and ITS amplicon sequencing, which targets specific microbial markers. But studies are increasingly incorporating shotgun metagenomics, a technique that sequences all DNA from a sample without targeting specific microbial markers. This approach allows more detailed taxonomic classification,...
            10-30-2026, 06:46 AM

          ad_right_rmr

          Collapse

          News

          Collapse

          Topics Statistics Last Post
          Started by SEQadmin2, 11-12-2026, 07:59 AM
          0 responses
          27 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 11-05-2026, 09:25 AM
          0 responses
          35 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 11-03-2026, 11:54 AM
          2 responses
          56 views
          0 reactions
          Last Post kinpict.com  
          Started by SEQadmin2, 10-28-2026, 09:57 AM
          0 responses
          175 views
          0 reactions
          Last Post SEQadmin2  
          Working...