Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • Diagnosing samtools segfault

    I'm trying to run samtools mpileup on BAM files, part of a tumour/normal pair so I can do some further analysis.

    BAM's are aligned with BWA, post-processed with GATK and validated with ValidateSam from Picard. As far as I can tell there is no difference really between the BAM files, except that one causes mpileup to segfault every time.

    I don't really know how to diagnose why this is happening - any hints? Errors occuring with Version: 0.1.18 (r982:295) and 0.1.14.

  • #2
    Sounds like you might need the help of Heng Li (lh3 on here).

    But in the meantime you could build samtools with debug flags (you will probably need to edit the Makefile to do this) and then run it through gdb, e.g.

    gdb samtools
    run "mpileup <other samtools arguments>"

    When it segfaults you can then get a backtrace with 'bt'. That will at least show what part of the code is giving the problem.

    If it's always happening on a particular alignment you could just filter that line out for now until the problem is fixed.

    Comment


    • #3
      I have the exact same problem with exome BAMs aligned with LifeScope, processed according to GATKs best practices v4 and validated with Picards ValidateSam.
      UnifiedGenotyper walks true the files without error, when trying to call the exomes with samtools (Version: 0.1.18 (r982:295) i always get a "Segmentation fault (core dumped)" error.

      Is there anything new about this error i.e. a bugfix/workaround?

      Comment


      • #4
        Apperently the Version in most linux repositorys is old altough it has the same version number. Samtools has moved its repository from Sourceforge to github, where you now can pul the latest Version with all Bugfuxes.
        Tools (written in C using htslib) for manipulating next-generation sequencing data - samtools/samtools

        --> github clone https://github.com/samtools/samtools
        --> make samtools
        current Version: Version: 0.1.18-r580

        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, Today, 07:03 AM
        0 responses
        9 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 05-10-2024, 06:35 AM
        0 responses
        27 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 05-09-2024, 02:46 PM
        0 responses
        32 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 05-07-2024, 06:57 AM
        0 responses
        26 views
        0 likes
        Last Post seqadmin  
        Working...
        X