Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • Adamo
    Member
    • Jun 2010
    • 28

    Visualizing with samtools?

    Hi,

    I have some difficulties in manipulating BWA and samtools.
    I have sorted my alignment stored in the .bam file, and indexed it (so I have a .bma and a .bam.bai).
    To visualize the sequences, I've tried to use commands like view or pileup, but I find it very difficult to manipulate.

    Is there a way to view the alignment (I've tried IGV, but I haven't been able to see the reads, only the reference genome) user-friendlier?
    Or maybe I used the wrong input when using samtools...

    Thanks in advance, I'm very new to bioinformatic...
  • imilne
    Member
    • Jan 2010
    • 68

    #2
    Give Tablet a go - http://bioinf.scri.ac.uk/tablet

    We've tried to make it as easy to use as possible (although there's always room for improvement, so if something doesn't make sense, just let us know).

    Iain
    Our software: Tablet | Flapjack | Strudel | CurlyWhirly | TOPALi

    Comment

    • Adamo
      Member
      • Jun 2010
      • 28

      #3
      I'll give it a try, thanks.

      Comment

      • Adamo
        Member
        • Jun 2010
        • 28

        #4
        I have a few questions...
        It seems like the soft only take into account the reads that map with the part of genome in the area of the viewing bar. Can I change it so that all the reads that map with chr2, for example, could be counted even if the whole chr2 isn't displayed?
        Plus, reads are not always shown in the overview due to the scale... they are, as a consequence, difficult to locate. Is there some command to reach a read directly, avoiding me to manually search it? Or at least, maybe I can zoom in the overview so that i can locate a read more easily, have a look at it and then zoom out in the overview while keeping having the read aligned on the screen...?

        I've read the user guide, but couldn't find those informations.
        Last edited by Adamo; 06-14-2010, 01:13 AM.

        Comment

        • imilne
          Member
          • Jan 2010
          • 68

          #5
          Originally posted by Adamo View Post
          I have a few questions...
          It seems like the soft only take into account the reads that map with the part of genome in the area of the viewing bar. Can I change it so that all the reads that map with chr2, for example, could be counted even if the whole chr2 isn't displayed?
          That's because of the way BAM files work - they're designed so you can just peek at small parts of a massive data set without having to load everything into memory, but that means you don't know how many reads are associated with a contig unless you read all of it. Tablet doesn't do that unless you tell it to (by adjusting the BAM window width), and even then it can only give you details on the current contig and not the others.

          If your data isn't that large (ie < 1GB), convert it back to sam and Tablet will process the entire file in one go. It'll take longer to load, but it'll give you the information you're after.

          Originally posted by Adamo View Post
          Plus, reads are not always shown in the overview due to the scale... they are, as a consequence, difficult to locate.
          It's an overview - nothing more. Ultimately you can't fit 1,000,000 pixels into 500, so something has to be lost. If you want to zoom the overview for more detail for a given region, then just CTRL+drag on it to highlight the section to zoom. You might also find using the Coverage overview more useful.

          Originally posted by Adamo View Post
          Is there some command to reach a read directly, avoiding me to manually search it? Or at least, maybe I can zoom in the overview so that i can locate a read more easily, have a look at it and then zoom out in the overview while keeping having the read aligned on the screen...?
          You can either search for a read by name, or use the "Jump To" option to move the display to a given location.

          Iain
          Our software: Tablet | Flapjack | Strudel | CurlyWhirly | TOPALi

          Comment

          • seq_GA
            Senior Member
            • Feb 2009
            • 124

            #6
            I tried the linux version and completed the installation.
            How to open the tool. The following directories are available after the installation.

            Code:
            uninstall
            tablet
            jre
            docs
            lib
            utils
            tablet.vmoptions
            output.log
            I tried opening as in the command line./tablet But nothing happenes and i get the output log as below:

            Code:
            java.lang.ExceptionInInitializerError
                    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
                    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
                    at java.lang.reflect.Method.invoke(Unknown Source)
                    at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)
                    at com.install4j.runtime.Launcher.main(Unknown Source)
            Caused by: java.awt.HeadlessException: 
            No X11 DISPLAY variable was set, but this program performed an operation which requires it.
                    at sun.awt.HeadlessToolkit.getMenuShortcutKeyMask(Unknown Source)
                    at tablet.gui.Tablet.<clinit>(Tablet.java:33)
                    ... 6 more
            java.awt.HeadlessException: 
            No X11 DISPLAY variable was set, but this program performed an operation which requires it.
                    at java.awt.GraphicsEnvironment.checkHeadless(Unknown Source)
                    at java.awt.Window.<init>(Unknown Source)
                    at java.awt.Frame.<init>(Unknown Source)
                    at java.awt.Frame.<init>(Unknown Source)
                    at javax.swing.JFrame.<init>(Unknown Source)
                    at com.exe4j.runtime.util.InternalErrorFrame.<init>(Unknown Source)
                    at com.exe4j.runtime.LauncherEngine.handleFailure(Unknown Source)
                    at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)
                    at com.install4j.runtime.Launcher.main(Unknown Source)
            java.awt.HeadlessException: 
            No X11 DISPLAY variable was set, but this program performed an operation which requires it.
                    at java.awt.GraphicsEnvironment.checkHeadless(Unknown Source)
                    at java.awt.Window.<init>(Unknown Source)
                    at java.awt.Frame.<init>(Unknown Source)
                    at java.awt.Frame.<init>(Unknown Source)
                    at javax.swing.JFrame.<init>(Unknown Source)
                    at com.exe4j.runtime.util.InternalErrorFrame.<init>(Unknown Source)
                    at com.exe4j.runtime.LauncherEngine.handleFailure(Unknown Source)
                    at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)
                    at com.install4j.runtime.Launcher.main(Unknown Source)
            java.awt.HeadlessException: 
            No X11 DISPLAY variable was set, but this program performed an operation which requires it.
            Exception in thread "main" java.awt.HeadlessException: 
            No X11 DISPLAY variable was set, but this program performed an operation which requires it.
                    at java.awt.GraphicsEnvironment.checkHeadless(Unknown Source)
                    at java.awt.Button.<init>(Unknown Source)
                    at com.install4j.runtime.util.MessageBox.addChoice(Unknown Source)
                    at com.install4j.runtime.util.MessageBox.addChoice(Unknown Source)
                    at com.install4j.runtime.ErrorHandler.displayGuiErrorMessage(Unknown Source)
                    at com.install4j.runtime.ErrorHandler.reportError(Unknown Source)
                    at com.install4j.runtime.Launcher.main(Unknown Source)

            Comment

            • imilne
              Member
              • Jan 2010
              • 68

              #7
              That looks like you don't have x-windows. Do you?

              Iain
              Our software: Tablet | Flapjack | Strudel | CurlyWhirly | TOPALi

              Comment

              • Adamo
                Member
                • Jun 2010
                • 28

                #8
                Originally posted by imilne View Post
                That's because of the way BAM files work - they're designed so you can just peek at small parts of a massive data set without having to load everything into memory, but that means you don't know how many reads are associated with a contig unless you read all of it.

                ...

                You can either search for a read by name, or use the "Jump To" option to move the display to a given location.

                Iain
                Ok, I didn't know how a BAM file worked... I understand now, sorry for the question.
                I'll follow your advices. An ACE file seems appropriate for the data i'm interested in.

                Comment

                • imilne
                  Member
                  • Jan 2010
                  • 68

                  #9
                  Originally posted by Adamo View Post
                  Ok, I didn't know how a BAM file worked... I understand now, sorry for the question.
                  I'll follow your advices. An ACE file seems appropriate for the data i'm interested in.
                  It's one of the areas where Tablet problem isn't very clear. We're hoping to make some improvements for the next version.

                  As for comments or questions, they're always appreciated by us, no matter how trivial they may seem. Often it's the only way we know we're doing things right (or not!)

                  Iain
                  Our software: Tablet | Flapjack | Strudel | CurlyWhirly | TOPALi

                  Comment

                  Latest Articles

                  Collapse

                  • SEQadmin2
                    Proteomic Platforms: How to Choose the Right Analytical Strategy to Improve Detection and Clinical Applications
                    by SEQadmin2


                    Proteomics platforms are evolving rapidly, with advances in mass spectrometry and affinity-based approaches expanding what researchers can detect and at what scale. As the field moves toward deeper proteome coverage and clinical applications, scientists face an increasingly complex landscape of tools. This article will explore how researchers are navigating these choices to find the right platform for their work.

                    The systematic characterization of the human proteome has
                    ...
                    Today, 11:48 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, Today, 11:10 AM
                  0 responses
                  8 views
                  0 reactions
                  Last Post SEQadmin2  
                  Started by SEQadmin2, 07-13-2026, 10:26 AM
                  0 responses
                  30 views
                  0 reactions
                  Last Post SEQadmin2  
                  Started by SEQadmin2, 07-09-2026, 10:04 AM
                  0 responses
                  39 views
                  0 reactions
                  Last Post SEQadmin2  
                  Started by SEQadmin2, 07-08-2026, 10:08 AM
                  0 responses
                  25 views
                  0 reactions
                  Last Post SEQadmin2  
                  Working...