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 Advances in Sequencing Analysis Tools
                    by seqadmin


                    The sequencing world is rapidly changing due to declining costs, enhanced accuracies, and the advent of newer, cutting-edge instruments. Equally important to these developments are improvements in sequencing analysis, a process that converts vast amounts of raw data into a comprehensible and meaningful form. This complex task requires expertise and the right analysis tools. In this article, we highlight the progress and innovation in sequencing analysis by reviewing several of the...
                    05-06-2024, 07:48 AM
                  • seqadmin
                    Essential Discoveries and Tools in Epitranscriptomics
                    by seqadmin




                    The field of epigenetics has traditionally concentrated more on DNA and how changes like methylation and phosphorylation of histones impact gene expression and regulation. However, our increased understanding of RNA modifications and their importance in cellular processes has led to a rise in epitranscriptomics research. “Epitranscriptomics brings together the concepts of epigenetics and gene expression,” explained Adrien Leger, PhD, Principal Research Scientist...
                    04-22-2024, 07:01 AM

                  ad_right_rmr

                  Collapse

                  News

                  Collapse

                  Topics Statistics Last Post
                  Started by seqadmin, Yesterday, 06:35 AM
                  0 responses
                  15 views
                  0 likes
                  Last Post seqadmin  
                  Started by seqadmin, 05-09-2024, 02:46 PM
                  0 responses
                  21 views
                  0 likes
                  Last Post seqadmin  
                  Started by seqadmin, 05-07-2024, 06:57 AM
                  0 responses
                  18 views
                  0 likes
                  Last Post seqadmin  
                  Started by seqadmin, 05-06-2024, 07:17 AM
                  0 responses
                  19 views
                  0 likes
                  Last Post seqadmin  
                  Working...
                  X