Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • inankai
    Junior Member
    • Apr 2010
    • 6

    How to plot peak density heat map

    I just start to take the bioinformatics part of my ChIP-seq experiments. and it is not too difficult for me to do mapping and peak calling. but I want to make further analysis of my data.
    Like, whether the transcription factor binding is significantly enriched in the promoters of genes belonging to the same pathway, TGFb for example. while not other pathways (JAK/STAT, Ras etc).

    So, I want to plot the binding peaks at the promoter of a specific set of genes, and rank the peaks based on the distance to TSS.

    Can anyone help to figure out, what software should I use?
    Or I have to write the script by myself, if so, should I use perl?
    I only have a bit of experience with Python.

    I attached a similar example.
    Attached Files
  • inankai
    Junior Member
    • Apr 2010
    • 6

    #2
    Here is another example for this kind of heat map or high density peak map.
    Attached Files

    Comment

    • inankai
      Junior Member
      • Apr 2010
      • 6

      #3
      Please help about this topic.

      Comment

      • rebrendi
        ng
        • May 2008
        • 78

        #4
        looks like a custom script is needed

        Comment

        • honey
          Senior Member
          • Feb 2010
          • 151

          #5
          plot

          Seqminer will be closet to do this

          Comment

          • inankai
            Junior Member
            • Apr 2010
            • 6

            #6
            Thank you guys.
            seqMiner seems do the job.

            Comment

            • mathew
              Member
              • Jan 2011
              • 81

              #7
              any one has script or software to plot such heat maps

              I want revive this thread and would like to know if soemone can share the script here on forum or privatly or has any idea about a tool which can generate such heat maps of TSS distance vs tag density. Seqminer will not give thsi kind of Figure and is good mainly for Bam/ sam bed files of unprorocessed data.
              i am sure there are number of users who will be intrested in such heat maps.
              Thanks
              Last edited by mathew; 07-12-2012, 08:45 AM.

              Comment

              • SF_mallish
                Member
                • Jan 2011
                • 10

                #8
                Hi Mathew,

                Probably you can use the program from HOMER software.



                Originally posted by mathew View Post
                I want revive this thread and would like to know if soemone can share the script here on forum or privatly or has any idea about a tool which can generate such heat maps of TSS distance vs tag density. Seqminer will not give thsi kind of Figure and is good mainly for Bam/ sam bed files of unprorocessed data.
                i am sure there are number of users who will be intrested in such heat maps.
                Thanks

                Comment

                • crazyhottommy
                  Senior Member
                  • Apr 2012
                  • 187

                  #9
                  Any python scripts for this kind of heatmap?
                  Thanks!

                  Comment

                  • simonandrews
                    Simon Andrews
                    • May 2009
                    • 870

                    #10
                    You can make these kinds of plot in SeqMonk (called the aligned probes plot). You can put them over any arbitrary region of either fixed or variable sizes.

                    Comment

                    • crazyhottommy
                      Senior Member
                      • Apr 2012
                      • 187

                      #11
                      Thanks so much! SeqMonk looks very powerful.

                      Comment

                      • Luyi Tian
                        Member
                        • Mar 2012
                        • 15

                        #12
                        you can plot heat map easily if you are familiar with matplotlib.

                        custom code would like this:
                        ###########
                        from matplotlib import pyplot as PLT
                        from matplotlib import cm as CM
                        from matplotlib import axes

                        ##create a figure and add a plot
                        fig = PLT.figure(facecolor='w')
                        ax1 = fig.add_subplot(2,1,1,position=[0.1,0.15,0.9,0.8])

                        ##create a cmap object. it controls the color and some style in the heatmap
                        ## you can change 'spectral' to other words. see the doc
                        cmap = CM.get_cmap('spectral', 1000)

                        ##create heatmap use the DATA and the cmap. vmin and vmax are the minimum and maximum value in your data
                        map = ax1.imshow(DATA, interpolation="nearest", cmap=cmap,aspect='auto', vmin=0,vmax=15)

                        ##then create the scale bar
                        cb = PLT.colorbar(mappable=map, cax=None, ax=None,shrink=0.5)
                        cb.set_label('Enrichment level')

                        ##plot it
                        PLT.show()
                        ###########
                        the DATA is like:
                        DATA=[
                        [1.4,2.2,4.7,6.1],
                        [4.1,13.5,15.0,1.9],
                        .....
                        ]

                        this is the website: http://matplotlib.org/
                        it is very powerful. You can plot almost everything you want using this module
                        Last edited by Luyi Tian; 02-26-2013, 05:50 AM.

                        Comment

                        Latest Articles

                        Collapse

                        • SEQadmin2
                          Nine Things a Sample Prep Scientist Thinks About Before Sequencing
                          by SEQadmin2


                          I’m not a sequencing expert. I’m a purification scientist who uses NGS to evaluate workflows my group develops. With this perspective, we think about the sample first and the NGS workflow second. The sequencer is an exceptionally honest reporter, but it can only report on what you give it, so whether you get clean, interpretable data from an NGS workflow is largely determined before you begin.


                          Here are nine questions we think about, in roughly the order they matter, before...
                          Yesterday, 07:11 AM
                        • SEQadmin2
                          From Collection to Sequencing: Why Sample Preparation and Preservation Define Sequencing Data
                          by SEQadmin2


                          Data variability is still an issue in sequencing technologies despite the advances in reproducibility and accuracy of these platforms. But the problem does not originate in the sequencing itself, but in the previous steps, before the sample reaches the sequencer.


                          The first step is collection, followed by preservation and sample preparation for analysis. Most scientists overlook those steps, but not being careful might just be skewing the experiment’s results.
                          ...
                          06-02-2026, 10:05 AM
                        • SEQadmin2
                          Single-Cell Sequencing at an Inflection Point: Early Impacts of New Platforms and Emerging Trends
                          by SEQadmin2


                          With the launch of new single-cell sequencing platforms in 2026, the field stands at an exciting inflection point. This article surveys the most impactful advances in the field and discusses how they’re reshaping research in cancer, immunology, and beyond.


                          Introduction

                          Single-cell sequencing technologies have undergone remarkable advances over the past decade, transitioning from low-throughput experimental approaches to highly scalable platforms capable of...
                          05-22-2026, 06:42 AM

                        ad_right_rmr

                        Collapse

                        News

                        Collapse

                        Topics Statistics Last Post
                        Started by SEQadmin2, 06-17-2026, 06:09 AM
                        0 responses
                        20 views
                        0 reactions
                        Last Post SEQadmin2  
                        Started by SEQadmin2, 06-09-2026, 11:58 AM
                        0 responses
                        38 views
                        0 reactions
                        Last Post SEQadmin2  
                        Started by SEQadmin2, 06-05-2026, 10:09 AM
                        0 responses
                        44 views
                        0 reactions
                        Last Post SEQadmin2  
                        Started by SEQadmin2, 06-04-2026, 08:59 AM
                        0 responses
                        49 views
                        0 reactions
                        Last Post SEQadmin2  
                        Working...