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
          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
        30 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 04-10-2024, 10:19 PM
        0 responses
        32 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 04-10-2024, 09:21 AM
        0 responses
        28 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 04-04-2024, 09:00 AM
        0 responses
        53 views
        0 likes
        Last Post seqadmin  
        Working...
        X