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
                    Recent Developments in Metagenomics
                    by seqadmin





                    Metagenomics has improved the way researchers study microorganisms across diverse environments. Historically, studying microorganisms relied on culturing them in the lab, a method that limits the investigation of many species since most are unculturable1. Metagenomics overcomes these issues by allowing the study of microorganisms regardless of their ability to be cultured or the environments they inhabit. Over time, the field has evolved, especially with the advent...
                    09-23-2024, 06:35 AM
                  • seqadmin
                    Understanding Genetic Influence on Infectious Disease
                    by seqadmin




                    During the COVID-19 pandemic, scientists observed that while some individuals experienced severe illness when infected with SARS-CoV-2, others were barely affected. These disparities left researchers and clinicians wondering what causes the wide variations in response to viral infections and what role genetics plays.

                    Jean-Laurent Casanova, M.D., Ph.D., Professor at Rockefeller University, is a leading expert in this crossover between genetics and infectious...
                    09-09-2024, 10:59 AM

                  ad_right_rmr

                  Collapse

                  News

                  Collapse

                  Topics Statistics Last Post
                  Started by seqadmin, 10-02-2024, 04:51 AM
                  0 responses
                  13 views
                  0 likes
                  Last Post seqadmin  
                  Started by seqadmin, 10-01-2024, 07:10 AM
                  0 responses
                  22 views
                  0 likes
                  Last Post seqadmin  
                  Started by seqadmin, 09-30-2024, 08:33 AM
                  0 responses
                  26 views
                  0 likes
                  Last Post seqadmin  
                  Started by seqadmin, 09-26-2024, 12:57 PM
                  0 responses
                  18 views
                  0 likes
                  Last Post seqadmin  
                  Working...
                  X