Seqanswers Leaderboard Ad

Collapse

Announcement

Collapse
No announcement yet.
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Samtools mpileup generate different SNP result every run?

    Hi,

    I just wondering is it normal that re-run exactly the same data set by using exactly same command will generate different SNP calling result?

    Currently I notice that if I re-run SNP calling by using samtools mpileup.
    It gives me different result every run
    As my data input and command used is exactly the same all the time.

    Thanks for any advice.

  • #2
    I have noticed this too. Pretty disconcerting...

    Comment


    • #3
      Hi,

      Do you get any feedback or advice from Samtools to solve this issue?
      It really surprised me when I re-run exactly the same data set and same command for few times.
      Every time it gives different result

      Comment


      • #4
        Does Samtools offer technical support?

        Comment


        • #5
          I have no idea about it too

          I just reported it as a bug of samtools mpileup.
          I test the samtools mpileup for genome and transcriptome data set, both still same

          Just wondering GATK got same issue too?

          Comment


          • #6
            I did a search of the source code, there is a srand48(time(0)) over there, haven't got time to trace the code but this could be the reason because it was using current system time as random seed.

            Comment


            • #7
              i guess sometimes we get what we pay for...

              Comment


              • #8
                In the samtools source there is only one instance of calling srand48 with the current time as seed (which will result in different results each time you run it).
                It is only called if you run “bcftools view” with the -U parameter greater than 0
                I guess you have to be a programmer to use these tools...

                Comment


                • #9
                  Originally posted by edge View Post
                  I just wondering is it normal that re-run exactly the same data set by using exactly same command will generate different SNP calling result?
                  Out of curiosity how different is different? Are we talking huge numbers? Are the differences between SNPs called with an extremely high score in one instance and not called in the other or are the differences all for SNPs in the "twighlight" of reliability? Are the differences before or after filtering the raw SNP calls?

                  Comment

                  Latest Articles

                  Collapse

                  • seqadmin
                    Advancing Precision Medicine for Rare Diseases in Children
                    by seqadmin




                    Many organizations study rare diseases, but few have a mission as impactful as Rady Children’s Institute for Genomic Medicine (RCIGM). “We are all about changing outcomes for children,” explained Dr. Stephen Kingsmore, President and CEO of the group. The institute’s initial goal was to provide rapid diagnoses for critically ill children and shorten their diagnostic odyssey, a term used to describe the long and arduous process it takes patients to obtain an accurate...
                    12-16-2024, 07:57 AM
                  • seqadmin
                    Recent Advances in Sequencing Technologies
                    by seqadmin



                    Innovations in next-generation sequencing technologies and techniques are driving more precise and comprehensive exploration of complex biological systems. Current advancements include improved accessibility for long-read sequencing and significant progress in single-cell and 3D genomics. This article explores some of the most impactful developments in the field over the past year.

                    Long-Read Sequencing
                    Long-read sequencing has seen remarkable advancements,...
                    12-02-2024, 01:49 PM

                  ad_right_rmr

                  Collapse

                  News

                  Collapse

                  Topics Statistics Last Post
                  Started by seqadmin, 12-17-2024, 10:28 AM
                  0 responses
                  23 views
                  0 likes
                  Last Post seqadmin  
                  Started by seqadmin, 12-13-2024, 08:24 AM
                  0 responses
                  42 views
                  0 likes
                  Last Post seqadmin  
                  Started by seqadmin, 12-12-2024, 07:41 AM
                  0 responses
                  28 views
                  0 likes
                  Last Post seqadmin  
                  Started by seqadmin, 12-11-2024, 07:45 AM
                  0 responses
                  42 views
                  0 likes
                  Last Post seqadmin  
                  Working...
                  X