Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jackshen
    Junior Member
    • Nov 2013
    • 3

    #1

    PacBio bam mpileup result in Segfault

    Hi, I'm new to this forum and I guess I would like to post this question here.

    I had an aligned bam file with reads from 3 PacBio SMRT runs using blasr.
    When I try to call snp between the bam and another bam file from illumina reads from the same library using "samtools mpileup -u". It raised an error with segmentation fault(core dump).

    The error seems to originate from the pacbio bam file since doing mpileup with the illumina bam file alone, it finishes without error.

    The pacbio bam file is sorted and when I try to index the bam, it also finishes without error. Later I tried mpileup without -u option, the text pileup finishes OK.

    Could anyone give me some hints or directions to debug this issue?

    Best,
    jack
  • Richard Finney
    Senior Member
    • Feb 2009
    • 701

    #2
    How much memory does you machine have?
    What version of samtools are you using?
    What is your command line?
    Can you "samtools view" the region you think it might be at when it bombs?

    Comment

    • jackshen
      Junior Member
      • Nov 2013
      • 3

      #3
      Originally posted by Richard Finney View Post
      How much memory does you machine have?
      What version of samtools are you using?
      What is your command line?
      Can you "samtools view" the region you think it might be at when it bombs?
      I'm using samtools Version: 0.1.17 (r973:277)

      The following command is run under the headnode of our server. I monitored the mem usage to be less than 1% until segfault. The head node has 70GB of memory.
      Code:
      samtools mpileup -u -f ../hg19/hg19-EBV-fos-ecoli/hg19.fa directmap/PacBio_primary.bam > bcfpileup.bcf
      [mpileup] 1 samples in 1 input files
      <mpileup> Set max per-file depth to 8000
      Segmentation fault (core dumped)
      I did the samtools view into that region and there appears to be normal just like the rest of the reads.

      Comment

      • jackshen
        Junior Member
        • Nov 2013
        • 3

        #4
        Anyone have any idea on this issue?

        Or could someone tell me how to convert text mpileup into bcf file?

        Comment

        • mchaisso
          Member
          • Apr 2008
          • 84

          #5
          I'm always frustrated to see somebody answer a how-to question by suggesting somebody use a different method, but that's what I'm going to do here.

          samtools mpileup is not designed to work with pacbio, and will probably give no result at best, and more likely something wrong.

          It is much better to use the quiver software that you can download from github.


          Originally posted by jackshen View Post
          Anyone have any idea on this issue?

          Or could someone tell me how to convert text mpileup into bcf file?

          Comment

          Latest Articles

          Collapse

          • SEQadmin2
            Multiomic Liquid Biopsy: What DNA/RNA Panels Reveal That DNA Alone Can’t
            by SEQadmin2



            Tumors contain complex mixtures of cell populations that evolve in response to treatment and host-specific factors. Tissue biopsies provide only static snapshots of a tumor’s state. But what if we could follow that evolution over time using a minimally invasive technique?

            Liquid biopsies can detect tumor-derived material circulating in the bloodstream, providing a way to study treatment response, detect emerging resistance, and discover new biomarkers. Circulating
            ...
            10-14-2026, 09:55 AM
          • SEQadmin2
            New Genomics Technologies Take Aim at Long-Standing Limits
            by SEQadmin2


            Researchers using sequencing and genomics tools often have to make trade-offs. They can choose between speed or scale, short reads or long-range information, or targeted panels or a view of the whole transcriptome. New technologies that have been released this year are built to address those tough choices.

            We asked six companies the same four questions to learn about their latest products. The new technologies bring a lot to the table, including rethinking sequencing
            ...
            09-28-2026, 10:25 AM

          ad_right_rmr

          Collapse

          News

          Collapse

          Topics Statistics Last Post
          Started by SEQadmin2, 10-22-2026, 11:13 AM
          0 responses
          27 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 10-22-2026, 10:48 AM
          0 responses
          20 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 10-15-2026, 10:52 AM
          0 responses
          36 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 10-14-2026, 05:39 AM
          0 responses
          43 views
          0 reactions
          Last Post SEQadmin2  
          Working...