Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tgolubch
    Junior Member
    • Jul 2009
    • 4

    #121
    Thanks, Nils; I had already tried changing the prefix, but it still seems to fail -- I'll look into it again when I have time.

    Comment

    • Jeckow
      Junior Member
      • Sep 2009
      • 4

      #122
      Hi nilshomer and thanks for your reply!

      I've sorted and created the indexes but the samtools message remains the same.
      Any other ideas? Do you know if there exists another way to extract a particular chromosomal region from a .bam file?
      Thanks,

      M.

      Comment

      • nilshomer
        Nils Homer
        • Nov 2008
        • 1283

        #123
        Originally posted by Jeckow View Post
        Hi nilshomer and thanks for your reply!

        I've sorted and created the indexes but the samtools message remains the same.
        Any other ideas? Do you know if there exists another way to extract a particular chromosomal region from a .bam file?
        Thanks,

        M.
        You could just run "samtools view in.bam | grep chr22" for example. Weird that your merge fails.

        Nils

        Comment

        • nilshomer
          Nils Homer
          • Nov 2008
          • 1283

          #124
          Originally posted by tgolubch View Post
          Thanks, Nils; I had already tried changing the prefix, but it still seems to fail -- I'll look into it again when I have time.
          Could you post your example (with a download link) to [email protected] so I can take a look?

          Nils

          Comment

          • Alberto Magi
            Junior Member
            • Sep 2009
            • 3

            #125
            Hi all,

            i need help to obtain read depth of coverage from a .bam file. Does anybody know some tool to automatically obtain a tab-delimited file (with chromosome, position, coverage depth.....) starting from a bam file?
            i wait for suggestions
            thanks a lot

            Alberto

            Comment

            • apfejes
              Senior Member
              • Feb 2008
              • 236

              #126
              That sounds suspiciously similar to a wig file, although, the format is not quite what you're expecting. I assume what you're looking for would look like:

              chr1 1 0
              chr2 2 1
              chr2 3 1
              ... etc

              The problem is that such file would be incredibly inefficient, hence the wig file, which will provide a more compact version. (Presumably the "variable width" format is what you're looking for.)

              Although not quite the same, FindPeaks 4.0 (Yes, sorry, I'm plugging my own software) will generate fixedstep format wig files from sam/bam files, which would give you a similar result, which would look like:

              fixedStep chrom=chr22 start=16653550 step=1
              6
              7
              8
              9
              10
              11
              ......

              where you get a single line that tells you the start point (chr and position), and then the coverage of each position after that.

              There are plenty of other wig file generators out there as well - although I'm not sure how many of them read bam/sam yet.

              Cheers
              The more you know, the more you know you don't know. —Aristotle

              Comment

              • lh3
                Senior Member
                • Feb 2008
                • 686

                #127
                @Alberto Magi

                What you are looking for is "pileup" (http://samtools.sourceforge.net/pileup.shtml). Please also see this page (http://samtools.sourceforge.net/pipe.shtml) about getting pileup in a specified region.

                @apfejes

                Pileup output is not part of Picard, you should be able to get similar things from GATK (http://www.broadinstitute.org/gsa/wi...alysis_Toolkit)

                Comment

                • apfejes
                  Senior Member
                  • Feb 2008
                  • 236

                  #128
                  Thanks - pileup also fits that description. Variety is the spice of life. (=

                  Though, just to clarify, I was just looking to point Alberto in the right direction, and had forgotten about pileup. (I don't use pileup, but I do use Picard.)
                  The more you know, the more you know you don't know. —Aristotle

                  Comment

                  • torrey
                    Junior Member
                    • Mar 2009
                    • 5

                    #129
                    I was curious if anyone has found a workaround to this error? It is coming up for me when viewing novoalign alignments. I am using samtools 0.1.6 (r453), and get the following error when loading a samtools converted bam file from novoalign's sam file

                    samtools: bam_lpileup.c:116: tview_func: Assertion `l == tv->n_pre' failed.


                    thanks


                    Originally posted by zee View Post
                    I was wondering if I could get some help on the SAM specification.

                    I get the error:



                    When I page the viewer to my reads containing indels. A sample of my data is



                    And I'm using novoalign format where I've modified the novo2sam.pl script to produce a 'correct' CIGAR format. Most samtools operation work except for the tview

                    Comment

                    • lh3
                      Senior Member
                      • Feb 2008
                      • 686

                      #130
                      Do you have a small sample file for me to test? Thanks.

                      Comment

                      • polivares
                        Member
                        • Jan 2009
                        • 29

                        #131
                        Any topic/question that does not fit into the subcategories below. If you're unsure of where to put something, ask in here!

                        Comment

                        • wumblehoots
                          Junior Member
                          • Sep 2009
                          • 4

                          #132
                          Pileup Base Quality

                          Hi, I was wondering if anyone could point me in the direction of any documentation that describes how to interpret the base quality information reported within a pileup format file.

                          I've checked here: http://samtools.sourceforge.net/pileup.shtml but can't find any information.

                          Cheers

                          Comment

                          • houhuabin
                            Member
                            • Apr 2009
                            • 23

                            #133
                            Hi heng,
                            I used samtools to built my bam file, but it dose't have a @HD field, which is needed by GATK's check for sort. How can I fix it?

                            Comment

                            • jasonbcold
                              Junior Member
                              • Sep 2009
                              • 4

                              #134
                              Sam/bam to jbrowse

                              Hi there,
                              does anyone know, how to use/upload alignments in sam/bam format to jbrowse?
                              thanks,
                              peter

                              Comment

                              • polivares
                                Member
                                • Jan 2009
                                • 29

                                #135
                                @jasonbcold
                                I have not used jbrowse but I'd recommend you to try IGV which can load indexed BAM alignments without any trouble. If you need some helo PM me.

                                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
                                  ...
                                  Yesterday, 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, Today, 10:52 AM
                                0 responses
                                3 views
                                0 reactions
                                Last Post SEQadmin2  
                                Started by SEQadmin2, Yesterday, 05:39 AM
                                0 responses
                                14 views
                                0 reactions
                                Last Post SEQadmin2  
                                Started by SEQadmin2, 10-13-2026, 09:56 AM
                                0 responses
                                15 views
                                0 reactions
                                Last Post SEQadmin2  
                                Started by SEQadmin2, 10-09-2026, 11:14 AM
                                0 responses
                                27 views
                                0 reactions
                                Last Post SEQadmin2  
                                Working...