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
                    Current Approaches to Protein Sequencing
                    by seqadmin


                    Proteins are often described as the workhorses of the cell, and identifying their sequences is key to understanding their role in biological processes and disease. Currently, the most common technique used to determine protein sequences is mass spectrometry. While still a valuable tool, mass spectrometry faces several limitations and requires a highly experienced scientist familiar with the equipment to operate it. Additionally, other proteomic methods, like affinity assays, are constrained...
                    04-04-2024, 04:25 PM
                  • seqadmin
                    Strategies for Sequencing Challenging Samples
                    by seqadmin


                    Despite advancements in sequencing platforms and related sample preparation technologies, certain sample types continue to present significant challenges that can compromise sequencing results. Pedro Echave, Senior Manager of the Global Business Segment at Revvity, explained that the success of a sequencing experiment ultimately depends on the amount and integrity of the nucleic acid template (RNA or DNA) obtained from a sample. “The better the quality of the nucleic acid isolated...
                    03-22-2024, 06:39 AM

                  ad_right_rmr

                  Collapse

                  News

                  Collapse

                  Topics Statistics Last Post
                  Started by seqadmin, 04-11-2024, 12:08 PM
                  0 responses
                  18 views
                  0 likes
                  Last Post seqadmin  
                  Started by seqadmin, 04-10-2024, 10:19 PM
                  0 responses
                  22 views
                  0 likes
                  Last Post seqadmin  
                  Started by seqadmin, 04-10-2024, 09:21 AM
                  0 responses
                  17 views
                  0 likes
                  Last Post seqadmin  
                  Started by seqadmin, 04-04-2024, 09:00 AM
                  0 responses
                  49 views
                  0 likes
                  Last Post seqadmin  
                  Working...
                  X