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
                    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
                  • seqadmin
                    Addressing Off-Target Effects in CRISPR Technologies
                    by seqadmin






                    The first FDA-approved CRISPR-based therapy marked the transition of therapeutic gene editing from a dream to reality1. CRISPR technologies have streamlined gene editing, and CRISPR screens have become an important approach for identifying genes involved in disease processes2. This technique introduces targeted mutations across numerous genes, enabling large-scale identification of gene functions, interactions, and pathways3. Identifying the full range...
                    08-27-2024, 04:44 AM

                  ad_right_rmr

                  Collapse

                  News

                  Collapse

                  Topics Statistics Last Post
                  Started by seqadmin, Today, 06:25 AM
                  0 responses
                  9 views
                  0 likes
                  Last Post seqadmin  
                  Started by seqadmin, Yesterday, 01:02 PM
                  0 responses
                  8 views
                  0 likes
                  Last Post seqadmin  
                  Started by seqadmin, 09-18-2024, 06:39 AM
                  0 responses
                  10 views
                  0 likes
                  Last Post seqadmin  
                  Started by seqadmin, 09-11-2024, 02:44 PM
                  0 responses
                  13 views
                  0 likes
                  Last Post seqadmin  
                  Working...
                  X